06-28-2024 04:30 PM - edited 06-28-2024 04:32 PM
Hi,
Please refer to this Ni video https://www.youtube.com/watch?v=g_8jiKuKeDI
I think what is shown is pretty straight forward.
What is not clear is if I want to synchronize the M-series DAQ and the compaq or any other USB DAQ using an external clock (e.g.) a function generator how can I achieve it? Can I just route that function generator out as an external clock to both devices pfi0 input? And then do I really need a trigger? Because the clock is an external common signal why would I need a trigger? Is there a LabView or a Matlab example for this? A simple example is generate analog output on USB 6128 for example and feed it to a motor. The motor moves and we read back its position by connecting its position sensor to USB 6212 analog input. Then read out the analog input values from its buffer and compare with what is input to see if they are in phase or not i.e., if the two are synchronized? Possible?
Solved! Go to Solution.
06-28-2024 07:32 PM
You need to share both timebase and start trigger for synchronization.
The external clock is continuous and tells runners the pace to run. The start trigger is the starting pistol that tells all runners when to start. Without the start trigger, all tasks start at random times.
07-03-2024 01:42 PM
Thanks. That did work for me i.e., adding a trigger