Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA serial read timeout error

I am using a CBcom thermocouple serial mod connected to one of compact fieldpoints RS-232 ports. Using the serial read and write VI, I can write and read a value with no problem...but after about 5 minutes I get a timeout error...any thoughts? (I have varied the timeout time, the termination char is correct, and I have increased the byte count, all to no avail.)

Thanks,
John Davis
0 Kudos
Message 1 of 2
(3,262 Views)
Hello John,

From an RS-232 standpoint, the only way you will get a timeout error is when you receive neither a termination character (if termination is enabled) nor the number of bytes specified before the timeout period. You may want to try reading smaller amouts of data to figure out what's going on, for if you do not receive a termination character and you receive less that the specified number of bytes to read, then you are sure to get a timeout.

If you feel this behavior may be related to your compact fieldpoint, you may also try posting to that group.

Best Regards,

JLS
Best,
JLS
Sixclear
0 Kudos
Message 2 of 2
(3,262 Views)