Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read RS-232 in proper format using Linx

I have a system whose output is sent through RS-232. I'm using a Max 232 convertor and reading using Arduino mega controller in serial port 2 using Linx UART. The data is coming at the terminal but some values are represented with symbols, like 1 is represented as "+-", 2 as "^2" and 7 as "." . I used code display to view the incoming data it is not recognizable. No proper format

 

I am able to get the data using the VISA interface & Arduino IDE in proper format, but i want it to work with LINX interface. 

 

RS-232 requires following configuration data bits=7, Parity= Even, flow control= RTS/CTS, Stop bit=1 . I am unable to set these in LINX interface, Is this causing the problem ? If yes how to i set this in linx inteface?

 

Attached by vi of linx and output of incoming data 

Download All
0 Kudos
Message 1 of 2
(960 Views)

Hello,

 

I agree with you.

This seems to be the wrong formatting of the received data.

However, I couldn't understand how the data transition is done.

 

Could you please share a block diagram of connections and data flow?

__________________________________________
The best way to thank, is to give KUDOS
0 Kudos
Message 2 of 2
(915 Views)