Use Hardware Timing with My Encoder Task in DAQmx

Updated Feb 22, 2018

Reported In

Hardware

  • NI-9411

Driver

  • NI-DAQmx

Issue Details

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

Solution

There are many options when it comes to hardware timing a counter input tasks, more information on the basics of how to approach this can be found in this document, Hardware-Timed Counter Tasks

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. A great example of this can be found in the example, Synchronize Encoder Counter Input and Analog Input with DAQmx.

WAS THIS ARTICLE HELPFUL?

Not Helpful