LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Termination character enable is FALSE but active

When opening a new VI and starting to write code (in the other words, no special initialization is done to the serial port settings, as yet), the Term Char Enable indicates FALSE. The reads do get terminated with \n (\x0A). After a little while, I found in the support that actually one needs to check a different attribute (ASRL End In), in order to have the correct picture. Is this behaviour by design (??!!!???), or is it a bug?
 
Sincerely,
Albert Lysko
0 Kudos
Message 1 of 2
(2,501 Views)
In VISA Configure Serial Port, setting Enable Termination Char to true (the default mode) does two things. It sets the VISA Message Based Settings property Termination Character Enable to true, and the Serial Settings property Serial End Mode for Reads to termchar. The serial end mode for writes is not set in the function and if you want to terminate each write operation with a termination character, you have to set Serial End Mode for Writes to termchar.
0 Kudos
Message 2 of 2
(2,495 Views)