Acquire data from serial port (RS232) and USB simultaneously?

Hello!

I need to monitor and record the data from an RS232 temperature readout (Lakeshore 218), and from a USB DAQ reading control voltages at the same time. I want the data to appear in a single Igor session. I currently read the Lakeshore on up to eight channels, although I only need six of those. Can I add a plot of voltage vs time from a USB DAQ to this experiment easily, or am I limited to one serial port at a time? Thanks.
crazytooguy wrote:
I need to monitor and record the data from an RS232 temperature readout (Lakeshore 218), and from a USB DAQ reading control voltages at the same time. I want the data to appear in a single Igor session. I currently read the Lakeshore on up to eight channels, although I only need six of those. Can I add a plot of voltage vs time from a USB DAQ to this experiment easily, or am I limited to one serial port at a time? Thanks.


I'm not sure if this answers your question but . . .

You can control multiple RS232 ports using the VDT2 /P flag to set up multiple ports and the VDTOperationsPort2 operation to communicate with multiple ports.

You can use the VDT2 XOP to read the USB port only if the DAQ device is configured to be accessed through the serial port driver, as if it were a serial port. If this is not the case then you will need an XOP to drive the DAQ device via its driver.