LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with RS232 read string

 Hello all,

 

I have a problem with the RS232 read string when read out the data from my electronic device. it's alway show the funny character (square symbol) in the read string thru the RS232. I had selected the display as "normal" but how come it's still appear even though I add or reduce the delay time also not helpful . How to overcome this problem? I had tried my electronic device with the hyper terminal and work fine without any funny character.

By the way, during the execution it's always pop up the error message said that "A framing error occurred during transfer" What is this error and how to solve it? 

 

Thank you in advanced!

 

Regards

Kim

 

 

Download All
0 Kudos
Message 1 of 5
(3,180 Views)

Read the data as HEX (set the indicator from Normal to HEX).

 

As far as the framing error, please post how you are reading the bytes.

Richard






0 Kudos
Message 2 of 5
(3,161 Views)

Also, double check that all of your serial settings are correct,

ie baud rate, parity, stop bits, flow control,... etc

Cory K
0 Kudos
Message 3 of 5
(3,151 Views)

Funny looking characters and framing errors typically mean that some setting is wrong.  Check your parity, baud rate, etc. settings as Cory suggested.  If you don't know what the settings should be, try changeing the baud rate first.  Try all possible values.  If you start getting some valid characters but not all, change the parity.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 5
(3,140 Views)

tbob wrote:

Funny looking characters and framing errors typically mean that some setting is wrong. 


Also, notice the 5th line down, and the 5th from the bottom - the data itself could be showing where the framing errors are occurring.

Richard






0 Kudos
Message 5 of 5
(3,133 Views)