ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Binary data over Serial Port

I have a need to read binary data over the serial port. I have written a routine that does the job but there are intermentant problems. After much troubleshooting I have found that when a binary 0X0A is received that it is striped off from the data. This is because durring the configure serial port VI a 0x0A is defined as a termination character. Is there any way to initialize the port with out specifing a termination character? In this binary data stream all possiable characters could be received.
0 Kudos
Message 1 of 3
(3,151 Views)
If you are using VISA you can turn off the termination character, see the following post from a few days ago:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000CF3C0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0 .

Brian
Message 2 of 3
(3,151 Views)
That is the answer! I made the change and it works great. Thanks!
0 Kudos
Message 3 of 3
(3,151 Views)