From 1bfc2b49e4b53e9f8efd1f0eef9499a1f3ba3ce1 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 8 Apr 2016 11:11:34 -0700 Subject: [PATCH] Spec error --- ilt1000.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ilt1000.py b/ilt1000.py index 4266795..3f67de1 100755 --- a/ilt1000.py +++ b/ilt1000.py @@ -119,7 +119,7 @@ class ILT1000(object): def GetSensorCurrent(self): # SPEC ERROR - # Protocol doc indicates that this is in pA, but atual values are in + # 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. ret = self._SendCommand('getcurrent') @@ -138,5 +138,7 @@ class ILT1000(object): return float(ret) / 100 def Get100PercentVoltage(self): + # SPEC ERROR + # Spec says microvolts, but actual values appear to be in volts. ret = self._SendCommand('get100perc') - return float(ret) / 1000000 + return float(ret)