LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bytes at Port are random

One place to look is the  Agilent 34401 driver on your Instrument I/O>Instrument Driver palette. Look at the Initialize function. It sets the termination character for read and write.

0 Kudos
Message 11 of 13
(323 Views)

Larryr11 wrote:

Any chance of telling me how to correctly set up a "term char" element on the property node?  Maybe I was not doing it correctly.


You really shouldn't be using a property node to set that up.  Use the VISA Configure Serial Port VI instead.  It has all of the settings needed for 99.999% of serial interfaces.  By default, the termination character enabled and is set to 0xA (new line).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 13
(321 Views)

But the VISA Configure Serial Port does use a property node and you would need to modify the function to set VISA to automatically append a termination character for a write.

0 Kudos
Message 13 of 13
(314 Views)