Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

RS232 problem: LabVIEW not transmitting \03 (ETX) or (sometimes) last byte

Hi there,

I've coded small VIs to communicate with RS232 devices
since LabVIEW v3.x. I'm now trying to write a VI to
talk to an esoteric photon detector. Using a serial
line sniffer, I have verified the serial line setting s
and can communicate with the device using some
simple C programs. However, using LabVIEW, I cannot
get the \03 (ETX) character to be transmitted
properly. The first instance of the ETX character
in a string will always disappear while any others will be transmitted. I've used labview v6.0.2 on
both Windows and Linux and can reproduce the problem.
I think its a serial lne setting but can't for the
life of me find it...

What am I missing?

-Ed

0 Kudos
Message 1 of 3
(3,350 Views)
Attached is a VI in LabVIEW 6i that can transmits the \03 character through VISA. This can be verified by running NI-Spy. Hope this helps.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,350 Views)
Thanks, I've solved the problem. Apparently
the serial line sniffer I was using did not
faithfully report all the bytes that were
being sent/received.

Thank you for your help.

Ed
0 Kudos
Message 3 of 3
(3,350 Views)