get100perc
This commit is contained in:
1
dump.py
1
dump.py
@@ -35,6 +35,7 @@ LINES = [
|
||||
('Sensor voltage', ilt.GetSensorVoltage, 'V'),
|
||||
('Transmission', ilt.GetTransmissionPercent, '%'),
|
||||
('Optical density', ilt.GetOpticalDensity, '%'),
|
||||
('100% percent setting', ilt.Get100PercentVoltage, 'V'),
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,6 @@ class Saturated(Error):
|
||||
|
||||
# TODO commands:
|
||||
# eraselogdata
|
||||
# get100perc
|
||||
# getauxserialno
|
||||
# getdarkmode
|
||||
# getfactorydark
|
||||
@@ -137,3 +136,7 @@ class ILT1000(object):
|
||||
def GetOpticalDensity(self):
|
||||
ret = self._SendCommand('getod')
|
||||
return float(ret) / 100
|
||||
|
||||
def Get100PercentVoltage(self):
|
||||
ret = self._SendCommand('get100perc')
|
||||
return float(ret) / 1000000
|
||||
|
||||
Reference in New Issue
Block a user