|
Post by nikola on Jan 16, 2024 8:08:42 GMT -5
Hi,
I use Temperature Controller 350 in my measurements. I set and control the temperature controller 350 with a LabView program. However, there is a problem that occurs randomly. The problem is related to the reading of the sensor value. I send a SRDG? B command followed by the read command to get the sensor value in sensor units. However, it happens that the I get an error message ''Scan failed. The input string does not contain data in the expected format.'', which means that the reading output is an empty string! This stops my whole program and I need to restart which in the case of sensitive measurement is not acceptable.
I tried to incorporate the *STB? query to read the 4-bit to check if the data is available. The *STB? query is incorporated in a while loop, and once the reading is available it proceeds with a reading of the value. However, in this case it happens that bit 4 is not set and the program loops in a while loop!
Any suggestion how can I check that SRDG? B command was received and that new reading is available to be read out!
Thanks!
|
|