Hi,
Whilst running continuous sampling tests on a simulated DAQmx device I
noticed that the timestamps on my data were diverging rapidly away from
the system time on my PC. Is there a way of synchronizing the device
with my system clock after a task has been started (whilst still
using continuous sampling)?
To overcome the problem I've looked into trying to find out the current
time on the DAQmx device in order to apply a fiddle factor to my data
and re-sync it back up to the PC's system time. Unfortunately the only
way I have found to do this is to count the number of sample clock
pulses from the hardware and calculate its current time from that. Can
anyone think of any better ideas? I cannot read the timestamp on the
data points because these are buffered and their times will be out of
date.
To count the number of sample clock pulses from the DAQmx device, I
have created the VI in the attached picture. However, despite not
producing any errors it also does not produce any ticks to the timed
loop. Have I made any mistakes in my design? The task in the VI is the
one I am using to acquire my data points.
Any help would be much appreciated, kind regards,
Tim
counting_clocks.jpg
Message Edited by Tim_Itdev on
01-08-2008 06:17 PM