Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 4.5 out of 5     Rate this Document

Synchronizing Two Counter Tasks in NI-DAQmx

Hardware: Counter/Timers (TIO)>>Devices, Multifunction DAQ (MIO)>>M Series

Problem:
I need to synchronize two counter measurement tasks on the same DAQ device. How can I do this?

Solution:
There are two possible ways to synchronize counters on the same DAQ device.
  1. Create a dummy Analog Input task, and use the AI Sample Clock as the clock source for both counters.



  2. Use an Arm Start Trigger for both counters. The Arm Start Trigger is set using a DAQmx Trigger Property node.

     


Related Links:
KnowledgeBase 2QUB0D7N: Triggering Multiple Counters with a Single Pulse
KnowledgeBase 2IIAR0XA: Simultaneously Routing the Same Counter Signal to Multiple RTSI Lines

Attachments:
ArmStarttrigger.vi
CounterSynch-Analogtask.vi





Report Date: 11/07/2008
Last Updated: 02/19/2009
Document ID: 4R6A605X

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit