Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to synchronise AI with Counter measurement?

Solved!
Go to solution

Is it possible to syncronise AI and CTR readings? I'm using an M-series device and in LabVIEW I created an AI Task with several inputs and a CTR Channel which used as angular position measurement. It is easy to do a countinous buffered measurement of the analog inputs. But with the same Sample rate I would like to read the counter. DAQmx forces me to use an external clock source for the counter acquisition. Is there a (simple) solution?

0 Kudos
Message 1 of 2
(3,272 Views)
Solution
Accepted by topic author Steffan

This can easily be done by using ai/SampleClock (internal signal of the DAQ board) as the sample clock source of the counter task. See the tutorial called M Series Synchronization with LabVIEW and NI-DAQmx (Multi-Function Synchronization) and make a search for ai/SampleClock on NI's discussion forums for more details.

 

Message 2 of 2
(3,260 Views)