Forums › SA Series Discussions › diagnostics don’t work after the device has been initialized
- This topic has 1 reply, 2 voices, and was last updated 2 years, 11 months ago by
Andrew.
- AuthorPosts
JHoyParticipantUsing the API I have found the temperature reading does not update when calling the sa_query_temperature( ) function after the device has been initialized using the sa_initiate( ) function.
The voltage reading using the sa_query_diagnostics( ) function returns the following error after the device has been initialized using the sa_initiate( ) function.
“Error -9: {‘error_string’: b’Cannot perform requested operation while the device is active’} in sa_query_diagnostics()”
Is there a way to fix this without closing the device? I need to monitor the temp to know when to apply a device calibration while the device is saving data.
Thank you.
AndrewModeratorFor the SA series analyzers you cannot query the current temperature or voltage while the device is configured for a measurement. As you noticed, the temperature is not updated as long as the device is active. You can call saAbort to put the device back into an idle mode, at which point you can query the temp/voltage again.
Andrew
- AuthorPosts
You must be logged in to reply to this topic.