LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa serial read

Thanks GreenMan But one problem. It reads the data to the line feed but is inserting hex 00 in place of some of the characters in the string. Have you seen this before?
0 Kudos
Message 1 of 4
(2,655 Views)
Did you disable the termination character?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,655 Views)
Is there more information to this discussion? What is it you're doing in your application? If you have a link to the previous discussion, we could look there and try to help you out.
J.R. Allen
0 Kudos
Message 3 of 4
(2,655 Views)
The value 0x00 is the default error replacement character. The serial driver uses that to replace characters with errors (parity, framing, etc.). The existence of an error should also be returned by the appropriate VISA function, usually VISA Read.

There was a bug in older NI-VISA drivers that didn't properly report all transmission errors. We have fixed some of those errors in NI-VISA 3.0, at least on Win32 and LabVIEW RT.

Dan Mondrik
National Instruments
0 Kudos
Message 4 of 4
(2,655 Views)