clear event before switch on
This commit is contained in:
parent
ed59e33df7
commit
6be581e528
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
*.csv
|
*.csv
|
||||||
*.dat
|
*.dat
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
*.pyc
|
||||||
|
|
|
@ -126,6 +126,7 @@ def SwitchOnHV(ch, onOff):
|
||||||
try :
|
try :
|
||||||
int(ch)
|
int(ch)
|
||||||
int(onOff)
|
int(onOff)
|
||||||
|
SendCmd(1, "outputSwitch.u" + str(ch) + " i " + str(10))
|
||||||
return SendCmd(1, "outputSwitch.u" + str(ch) + " i " + str(onOff))
|
return SendCmd(1, "outputSwitch.u" + str(ch) + " i " + str(onOff))
|
||||||
except :
|
except :
|
||||||
print("either ch or onOff is not int")
|
print("either ch or onOff is not int")
|
||||||
|
|
BIN
IsegLibrary.pyc
BIN
IsegLibrary.pyc
Binary file not shown.
Loading…
Reference in New Issue
Block a user