getfactorydark
This commit is contained in:
@@ -27,7 +27,6 @@ class Saturated(Error):
|
||||
|
||||
# TODO commands:
|
||||
# eraselogdata
|
||||
# getfactorydark
|
||||
# getlogdata
|
||||
# getuserdark
|
||||
# set100perc
|
||||
@@ -161,6 +160,13 @@ class ILT1000(object):
|
||||
def GetDarkMode(self):
|
||||
return int(self._SendCommand('getdarkmode'))
|
||||
|
||||
def GetFactoryDarkVoltages(self):
|
||||
# SPEC ERROR
|
||||
# Actual return value sample:
|
||||
# R1 12149 9733 9251 R2 12476 10080 9604 R3 13940 11894 11435
|
||||
ret = self._SendCommand('getfactorydark')
|
||||
return [float(x) / 1000000 for x in ret.split()]
|
||||
|
||||
def GetIrradiance(self):
|
||||
ret = self._SendCommand('getirradiance')
|
||||
return float(ret) / 1000
|
||||
|
||||
Reference in New Issue
Block a user