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

cancel
Showing results for 
Search instead for 
Did you mean: 

serial port error

Solved!
Go to solution

I have Labview read in 14 bytes at a time from the serial port. This works fine except if labview encounters the byte 0x0A. If it encounters that byte then it stops reading in any more of the 14 bytes. Can anyone explain why this might be? Thanks for any help.

0 Kudos
Message 1 of 2
(2,071 Views)
Solution
Accepted by topic author electjh

It's because you did not set the Enable Termination Character input of the VISA Configure Serial port to false. As you can see, the default termination character is 0x0A.

Message 2 of 2
(2,063 Views)