This commit is contained in:
Ian Gulliver
2016-04-23 15:30:55 -07:00
parent ec8a81cd24
commit 26c99d834f
2 changed files with 6 additions and 4 deletions

View File

@@ -52,8 +52,6 @@ class CommandError(Error):
# setsampletime
# setsampletimetemp
# getbias
# getecal
# getecaldate
# setecal
@@ -345,10 +343,13 @@ class ILT1000(object):
def GetAmbientCurrent(self):
return float(self._SendCommand('getambientlevel'))
def GetSampleTime(self):
def GetSampleSeconds(self):
ret = self._SendCommand('getsampletime')
return float(ret) / 1000
def GetBiasVoltage(self):
return float(self._SendCommand('getbias'))
class _Row(object):