From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA read also reads carriage return

Hello,

I am using visa-read block to read some RS-232 connection.

 

whenever i send a message through VISA-WRITE, i read back the "Carriage-return"

for example, i send:

<some command>

 

i recieve:

;<some respond>;

 

if i send out several lines i get the same number of <CR> in return. i cant get rid of it.

 

 

could you help.

thank you.

0 Kudos
Message 1 of 2
(3,316 Views)

Hi moranEng,

 

This sounds like expected behavior to me for our VISA-WRITE and VISA-READ VIs. 

 

Can you explain what problems this is currently causing by reading the carriage-return as well?

 

Additionally, here is a link to a tutorial page we have regarding Termination Characters in NI-VISA.

Tyler C.
Technical Support Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,281 Views)