Closedown
This commit is contained in:
@@ -138,7 +138,7 @@ class Keithley(object):
|
||||
try:
|
||||
v = int(-math.log10(value / 2)) - 1
|
||||
v = max(v, 0)
|
||||
v = min(v, len(RANGE_STATES)-1)
|
||||
v = min(v, len(self.RANGE_STATES)-1)
|
||||
except ValueError:
|
||||
v = 0
|
||||
elif isinstance(value, str):
|
||||
|
||||
Reference in New Issue
Block a user