Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

send/receive data without a terminating character

I am trying to use the visa driver to send hex data over a serial port. I have tried to disable terminating characters but when I read from the port the trasnmission still terminates with a 0x0A character. How can I send/receive data without a terminating character???
0 Kudos
Message 1 of 3
(3,030 Views)
You need to call viSetAttribute with VI_ATTR_ASRL_END_IN set to VI_ASRL_END_NONE. In LabVIEW, use a write property node with the Serial End In mode set to None (0).

Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments
Message 2 of 3
(3,030 Views)
Thanks a bunch. It worked like a charm.
0 Kudos
Message 3 of 3
(3,030 Views)