11-01-2007 01:54 PM
11-02-2007 03:32 PM
Hi Asier_gast,
There is no official way to do this as there is no common timing signal between COM ports and the PCI bus. The only way to synchronize devices running on completely separate buses is to use software-timing.
I highly recommend starting with example programs that come with LabVIEW (Help » Find Examples). There are examples for DAQ found under Hardware Input and Output » DAQmx » Analog Measurements, etc. For serial, try Hardware Input and Output » Serial. The idea would be to configure all your tasks/channels, take readings on all channels inside the while loop (with a wait function to time it properly), and close all tasks/close references outside the while loop.
You could also try searching NI Developer Zone at www.ni.com/devzone. I’ve looked here for anything I couldn’t think of, but all the posts I’ve seen seem to confirm that there’s really no good solution.
Please post back if you find a way to do this for your application.