Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Framing error when I'm using a serial port.

 

I am developing some device to measure 3 axis movements.

This device transfers the data to the PC using UART (RS232).

I got the data in Hyperterminal but couldn't in LabVIEW.

The weirdest thing is that I can get the data in NI MAX like the

following picture. But I try to do the same job in LabVIEW there

is always error message like the second picture.

How can I solve this problem. I have searched through articles

about framing error using googling but I didn't find the appropriate

answer.

I'd like to thank you in advance.

LabVIEW Serial.PNG

 

LabVIEW Serial error.PNG

 

0 Kudos
Message 1 of 4
(5,290 Views)

Almost always the reason I have seen a framing error is a baud rate mismatch.  Make sure all of your settings are correct.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(5,287 Views)

Of course, I double check the baud rate.

0 Kudos
Message 3 of 4
(5,283 Views)

You have neither shown the serial settings in MAX or in LabVIEW.

0 Kudos
Message 4 of 4
(5,266 Views)