startintegrate, stopintegrate, getintegrate
This commit is contained in:
1
dump.py
1
dump.py
@@ -56,6 +56,7 @@ LINES = [
|
||||
('Sample time', ilt.GetSampleSeconds, 's'),
|
||||
('Detector bias', ilt.GetBiasVoltage, 'V'),
|
||||
('Peak', ilt.GetPeak, ''),
|
||||
('Integration', ilt.GetIntegrate, ''),
|
||||
]
|
||||
|
||||
|
||||
|
||||
13
ilt1000.py
13
ilt1000.py
@@ -58,10 +58,6 @@ class CommandError(Error):
|
||||
|
||||
# setfeedbackres
|
||||
|
||||
# getintegrate
|
||||
# startintegrate
|
||||
# stopintegrate
|
||||
|
||||
# gettriggerin
|
||||
# settriggerout
|
||||
|
||||
@@ -368,6 +364,15 @@ class ILT1000(object):
|
||||
def GetPeak(self):
|
||||
return float(self._SendCommand('getpeak'))
|
||||
|
||||
def StartIntegrate(self):
|
||||
self._SendCommandOrDie('startintegrate')
|
||||
|
||||
def StopIntegrate(self):
|
||||
self._SendCommandOrDie('stopintegrate')
|
||||
|
||||
def GetIntegrate(self):
|
||||
return float(self._SendCommand('getintegrate'))
|
||||
|
||||
|
||||
class _Row(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user