turtlejc@my-deja.com wrote:
>
> Need to sample from the serial port and 4 channels
> of analog input at the same time. Figured I need
> to use an internal clock to sync the aquisition
> since the serial port response delays every so
> often. Does anyone know how to sample from an I/O
> port and a DAQ card at a consistent sampling
> frequency in LV? Any help would be greatly
> appreciated.
You don't mention what kind of data rates you are talking about. I have
put together several systems that combine time-stamped serial and daq
channels, but in all cases, the serial data was running at around 1 Hz.
The daq channels were often running much faster (100Hz to 1KHz). If
your channels fit this description, then it is possible to synchronize
your data (more or less)
. You can use software timing to set up the
slow loop and acquire the serial data, and used buffered A/D to read in
the appropriate daq channels. The synchronization isn't perfect, but
may be "good enough".
Best of luck,
Dave Thomson
-------------------------------------------------------------
David Thomson 303-499-1973 (voice and fax)
Original Code Consulting original.code@technologist.com
National Instruments Alliance Program Member
-------------------------------------------------------------
Research Scientist 303-497-3470 (voice)
NOAA Aeronomy Laboratory 303-497-5373 (fax)
Boulder, Colorado dthomson@al.noaa.gov
-------------------------------------------------------------