08-24-2020 05:36 AM
Hello
I'm looking for the best way to synchronize Analog in, Digital in and CAN measurements on various C series modules in my Crio 9045.
I have C series modues: 9220, 9425, 9361 and 9862 and I'm using daqmx.
I'm specifically looking for how to select and share a source signal for 'sample clock'.
If I can avoid this, I don't want to create an external trigger signal or clock.
Attached you can find a snippet of a part of my code, on which I gave up fixing this timing for a while. I tried several things in the past.
I hope someone wants to point me in the right direction.
Kristof Vos
09-03-2020 10:11 AM
Hi Kristof,
Since you are using a cRIO with DAQmx, and using the DAQmx API to read data, I would recommend reading the DAQmx Sync info, like section 4 here http://www.ni.com/tutorial/5376/en/#toc4 and the Synchronization Beyond Analog section here
https://www.ni.com/en-gb/support/documentation/supplemental/06/timing-and-synchronization-features-o...