Use Hardware Timing with My Encoder Task in DAQmx

Updated Jan 17, 2019

Reported In

Hardware

  • NI-9411
  • USB-6212

Software

  • LabVIEW

Driver

  • 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. 

Solution

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful