LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

synchroization and timing Analog in, digital in and CAN on Crio9045 using daqmx (9220, 9425, 9361 and 9862)

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 

0 Kudos
Message 1 of 2
(749 Views)

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...

0 Kudos
Message 2 of 2
(672 Views)