Example Programs

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize Two Counter Output Tasks Using LabVIEW with DAQmx

Overview

This example uses an AI start trigger generated by a dummy AI task to synchronize two counter output tasks.


Description
This program works by using the AI Start Trigger to start the counter output tasks.  The AI dummy task sends an AI start trigger when the AI task starts, thus starting the counter. This trigger could be used to start other DAQ task.

 
Requirements

  • LabVIEW 2012 (or compatible)
  • NI-DAQ 12.0 (or compatible)

 

Additional Information or References
VI Snippet

3-219.png

**This document has been updated to meet the current required format for the NI Code Exchange.**

Regards,
Jim Schwartz
Comments
Member TeraTech
Member

Thank you for this great example. I got it to work on an NI-6363.  However, I would like to use a dummy digital task. Is that possible? This is the change I made for digital but it times out at the wait until done. Sync Two Counters_DI.png

 

 

Member TeraTech
Member

Got it!

Sync two counters_DO.png