getpeak, startpeak
This commit is contained in:
1
dump.py
1
dump.py
@@ -54,6 +54,7 @@ LINES = [
|
||||
('Ambient', ilt.GetAmbientCurrent, 'A'),
|
||||
('Sample time', ilt.GetSampleSeconds, 's'),
|
||||
('Detector bias', ilt.GetBiasVoltage, 'V'),
|
||||
('Peak', ilt.GetPeak, ''),
|
||||
]
|
||||
|
||||
|
||||
|
||||
@@ -62,9 +62,6 @@ class CommandError(Error):
|
||||
# startintegrate
|
||||
# stopintegrate
|
||||
|
||||
# getpeak
|
||||
# startpeak
|
||||
|
||||
# gettriggerin
|
||||
# settriggerout
|
||||
|
||||
@@ -364,6 +361,12 @@ class ILT1000(object):
|
||||
def GetBiasVoltage(self):
|
||||
return float(self._SendCommand('getbias'))
|
||||
|
||||
def StartPeak(self):
|
||||
self._SendCommandOrDie('startpeak')
|
||||
|
||||
def GetPeak(self):
|
||||
return float(self._SendCommand('getpeak'))
|
||||
|
||||
|
||||
class _Row(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user