02-26-2009 03:05 PM
I am tryinging to hook up my radiometer to the computer so I can dump all the data it collects into Excel. I have Windows XP (32 bit) and LabVIEW 8.5.1 and I just received this LabVIEW VI from the company that made the radiometer. I keep getting the same error message everytime I try to run the VI.
Error -1073807339 occurred at VISA Read in ILT1700.vi
Possible reason(s):
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
I know I have the radiometer hooked up correctly and I am using the correct Comm Port. Next I thought it might be a driver issue, so I downloaded the full NI-VISA 4.4.1 driver package. Again I keep getting the same error message. I get the same error message even when I disconnect the radiometer from the computer. How do I get the the computer and the radiometer to communicate?
02-26-2009 03:21 PM
Does the radiometer continually send out data, or do you have to send it a command code first?
Have you tried opening up a session of hyperterminal to see what if any data is coming in?
In your loop, it looks like you are reading continuously 1 byte at a time until the line feed character comes in. You can enable the termination character of the serial port and set it for LF. Then you can read a large number of bytes. When the LF comes it, the VISA read will terminate itself and send the entire string on. No looping would be necessary.
02-26-2009 03:28 PM
The first question is how do you know that it is hooked up correctly? Can you read data with a program such as Hyperterminal?
Second, that program you posted is a mess.
02-27-2009 10:16 AM