It is a Windows Application. I believe I got the python example and modified. So I assume it is the Universal Library, but if you tell me how to check I will.
It has been running (a few times a week) since October. I am reading every 1/2 second in a thread:
def _GetValues(self):
while 1:
self.value[0] = ul.t_in(self.board_num, 0, TempScale.CELSIUS)
self.value[1] = ul.t_in(self.board_num, 1, TempScale.CELSIUS)
self.value[2] = ul.t_in(self.board_num, 2, TempScale.CELSIUS)
self.value[3] = ul.t_in(self.board_num, 3, TempScale.CELSIUS)
self.value[4] = ul.t_in(self.board_num, 4, TempScale.CELSIUS)
self.value[5] = ul.t_in(self.board_num, 5, TempScale.CELSIUS)
self.value[6] = ul.t_in(self.board_num, 6, TempScale.CELSIUS)
self.value[7] = ul.t_in(self.board_num, 7, TempScale.CELSIUS)
time.sleep(0.5) # 2 samples per second
The main code then calls:
def Read(self):
return self.value