LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA Serial Read

Hi ,NG!

I've got a problem concerning the VISA Serial Read VI:

I have to transmit binary data from a ?C to the PC. That means I don't
transmit ASCII characters. Some strings are also transmitted but that's
not the point.

While the ?C tries to send a binary value 0A (hex-decimal) Labview
changes the incoming byte into two bytes 0D and 0A. That means: Labview
thinks there's a Carriage Return at the serial port and changes it
into Carriage Return + Line Feed on a Wondows machine. I used Init Serial
VI and changed the termination character but without any effect...

What can I do?

please help

Thanks Radek
0 Kudos
Message 1 of 2
(2,739 Views)
Radek:

If you are using LabVIEW 6.1, this should not be a problem. If you are using LabVIEW 6.0x, the implementation of the Init function is incomplete. You also need to set the VISA property Serial End Mode for Reads to None (0).

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
0 Kudos
Message 2 of 2
(2,739 Views)