Use Hardware Timing with My Encoder Task in DAQmx

Updated Jan 11, 2023

Reported In


  • NI-9411
  • USB-6212


  • LabVIEW


  • NI-DAQmx

Issue Details

I am using a Counter Input Angular Encoder task in NI-DAQmx and I want to know how to utilize hardware timing with this module. 


There are many applications for Hardware-Timed Counter Tasks , which can be built using NI-DAQmx ADE functions.

One method of hardware timing an encoder task is to use the sample clock from the analog input task and route that to the sample clock of the encoder task. This example of how to synchronize counter and analog inputs with NI-DAQmx utilizes the method of a shared sample clock to align the task timing in LabVIEW.