diff --git a/dump.py b/dump.py index b11448b..08d117e 100755 --- a/dump.py +++ b/dump.py @@ -51,9 +51,4 @@ for label, callback, unit in LINES: try: PrintLine(label, callback(), unit) except ilt1000.Error as e: - PrintLine(label, str(e), '') - -#ilt.StopLogging() -#ilt.EraseLogData() -#ilt.StartLogging(148, 1) -print(ilt.GetLogData()) + PrintLine(label, repr(e), '') diff --git a/ilt1000.py b/ilt1000.py index 50592f1..883ad22 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -152,8 +152,7 @@ class ILT1000(object): def GetSensorCurrent(self): # SPEC ERROR # Protocol doc indicates that this is in pA, but actual values are in - # scientific notation and appear to be A. They are also suspiciously - # similar to getvoltage return values. + # scientific notation and appear to be A. ret = self._SendCommand('getcurrent') return float(ret)