Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

M-Series Syncronize Counter and AI

Solved!
Go to solution

I use a single M-Series PCI-628x.

I can read an encoder and get the position from one of the counters.

In addition I will aquire n-Channel AI. I will aquire m samples either through Finite Samples or (prefered) Continous aquisition.


Now I want to get the exact position for each (m) reading of my n-AI channels. How to syncronize the counter task with my AI task? Obviously the counter task should count with the 20MHz clock, so sharing a clock like I'd do to sync AI, AO and DI tasks wouldn't be the way. How can I just get the value of the counter at the same moment as I measure my n channels?

 

Felix

0 Kudos
Message 1 of 2
(2,940 Views)
Solution
Accepted by topic author F._Schubert

Seems I found the solution already, I need to search for 'buffered' Counter measurement.

http://decibel.ni.com/content/docs/DOC-12456

 

Felix

0 Kudos
Message 2 of 2
(2,938 Views)