LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to incorporate serial commands into Labview?

I have an instrument connected to my computer through a serial (RS-232) cable, and the instrument is controlled via serial commands in a Hyperterminal. Is there any way to use Labview to input serial commands so my instrument can be controlled by a Labview application?
 
Thank you.
0 Kudos
Message 1 of 3
(2,892 Views)
Search Labview examples for "Serial".  There are several examples that show how to write to and read from the serial port.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(2,885 Views)
I would simply use the visa read and writes.  it is easy to do, open a visa sesion using the com port, set your cop port settings (baud rate, start stop and parity bits) write the command set to the port, wait for a reply, do your visa read and then close the resource (all using visa) when done.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,879 Views)