get100perc

This commit is contained in:
Ian Gulliver
2016-04-08 11:09:38 -07:00
parent 836baf4512
commit 2fa622b4ef
2 changed files with 5 additions and 1 deletions

View File

@@ -35,6 +35,7 @@ LINES = [
('Sensor voltage', ilt.GetSensorVoltage, 'V'),
('Transmission', ilt.GetTransmissionPercent, '%'),
('Optical density', ilt.GetOpticalDensity, '%'),
('100% percent setting', ilt.Get100PercentVoltage, 'V'),
]

View File

@@ -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