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
|
||||
*.dat
|
||||
__pycache__
|
||||
|
||||
*.pyc
|
||||
|
|
|
@ -126,6 +126,7 @@ def SwitchOnHV(ch, onOff):
|
|||
try :
|
||||
int(ch)
|
||||
int(onOff)
|
||||
SendCmd(1, "outputSwitch.u" + str(ch) + " i " + str(10))
|
||||
return SendCmd(1, "outputSwitch.u" + str(ch) + " i " + str(onOff))
|
||||
except :
|
||||
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