Phidget 1048
Posted: Fri Dec 01, 2017 7:46 pm
I want to change the temperature update rate of the 1048 from its default.
In the example python code "Temperature.py", the line
ch.setOnTemperatureChangeHandler(TemperatureChangeHandler)
is what will print out the temperature read off of the 1048, but only for 10 seconds.
1.) How do I loop it continually?
2.) How do I change the trigger update rate.
I have tried to call
getTemperature(),
setDataInterval(), and
setTemperatureChangeTrigger(),
but all of them cause the Phidget not to be attached and throws the exception "Device Not Attached".
In the example python code "Temperature.py", the line
ch.setOnTemperatureChangeHandler(TemperatureChangeHandler)
is what will print out the temperature read off of the 1048, but only for 10 seconds.
1.) How do I loop it continually?
2.) How do I change the trigger update rate.
I have tried to call
getTemperature(),
setDataInterval(), and
setTemperatureChangeTrigger(),
but all of them cause the Phidget not to be attached and throws the exception "Device Not Attached".