diff --git a/.gitignore b/.gitignore index 65b9e35..1b5b813 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.csv *.dat __pycache__ + +*.pyc diff --git a/IsegLibrary.py b/IsegLibrary.py index 9b92df0..a314248 100755 --- a/IsegLibrary.py +++ b/IsegLibrary.py @@ -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") diff --git a/IsegLibrary.pyc b/IsegLibrary.pyc deleted file mode 100644 index c8bc3c2..0000000 Binary files a/IsegLibrary.pyc and /dev/null differ