07-22-2011 08:29 AM
Trying to read temp, humidity and barometric pressure from an Omega zSeries remote sensor via Ethernet. Before manual parsing, would get one reading, then lost connection for given session error message; VISA status code bfff0a6. After I manually parsed the assistant, I get a Timeout expired before operation completed error; VISA Hex 0xBFFF0015. Tried increasing the timeout period to 10 seconds, but nothing changes.
08-01-2011 02:13 PM
Hey Tracktorguy,
Check out this KB and see if some of the steps can solve your issue: http://digital.ni.com/public.nsf/websearch/E4F90AD24DEC9CC786256F4300605C02?OpenDocument
If not, for the reading that you do get, are the data points matching the expected results?
08-01-2011 04:38 PM
Tractorguy,
I looked through the specifications of the device you are using and it seems that the reads are performed at long enough intervals that even 10 seconds might not be long enough. If you need readings more often than this, the manual for this device should show how to modify this setting. However, if you don't need readings too often and are using your system for other purposes as well, I would encourage you to look at the following: Timeout Error on VISA Read or Write? This is similar to the link that MichaelAE graciously provided but also illustrates how to include a wait function which is an alternative to just continuously increasing the VISA timeout.
Another possible reason is that the VISA read is waiting for more bytes than are being sent. If you open the LabVIEW Example Finder in Help -> Find Examples -> Search -> 'VISA' -> Basic Serial Write and Read. While this example was built for serial, it illustrates how to use a property node to determine the number of bytes that are at the port and thus, the number of bytes to read.
If you are still having trouble reading then would you please detail what you mean by manual parsing and what is involved in this?
Regards,
Trey C.