Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

rs232 to daqmx? Compatible?

Hello Community,

I currently have a VI that is similar to the Cont Acq&Graph Voltage-Analog SW Trigger.VI example program to read an incoming waveform from an analog input and manipulate it. However, what I actually want to do is have everything that I have already written for DAQmx, including the triggering, but have the signal come from a serial connection.

I know that VISA can read from the COM port, is there a way to convert VISA to a DAQmx signal so that I can still use my current program? Or must I use another way that I can read from a serial?

Thanks a lot, Tim
0 Kudos
Message 1 of 4
(4,329 Views)
You are going to have to rewrite the acquisition part of your program. An instrument connected over a serial port requires a completely different set of commands to operate it than an NI DAQ board. You can format the data returned to be the same as what you got from DAQ but that's about all.
Message 2 of 4
(4,322 Views)
hi i m a undergraduate student working on DAQmx for my project.Can any one tell me how to interface a rs232 port from from a device to DAQmx?I also have an option to use NI elvis if it is not possible to interface in DAQmx.Pls reply ASAP 
0 Kudos
Message 3 of 4
(4,065 Views)
That's silly. You do not interface an instrument with an RS-232 port to DAQmx. DAQmx is a driver for data acquisition boards from NI. You connect the instrument to the pc's com port with the appropriate cable and use VISA Reads and Writes to communicate to the instrument. In LabVEW, you have a couple of examples for serial communication. I would also recomend you use a terminal emulator program such as Hyperterminal to test the connection before trying to write any code.
Message 4 of 4
(4,063 Views)