LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication errors

Hi,
I'm reading data from a BallBar (radial error measurments) that communicates through a serial port. To read it with my laptop, I use a RS232 cable (USB-Serial converter). Sometimes, I get a communication error that appears at the error output of VISA Serial. The most common one is a framing error. I don't have the error number right now but if it can help find why I'll try to get the error again. The second error is a session error and I've attached a jpeg of the pop up I get. I dont get those errors often , but I'd like to know why. If anyone has an idea... Thanks.
0 Kudos
Message 1 of 2
(2,581 Views)
Hello,

Framing errors can occur and will be reported if the baud rates of your communicating devices are different. You mentioned that this is the most common error you receive; do you receive the data properly when you do not receive a framing error? Also, you should be reading on the receiving side before the write operation occurs on the sending side. You likely don't have to worry about this when writing to your instrument (as its default mode is likely to be ready to receive a command), however, you should be reading on your laptop side immediately following a write command. Repost if these general suggestions do not reconcile your issue!

Thanks,

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