How to Control Externally the Direction of a Counter Task Using DAQmx?

Updated Mar 9, 2020

Reported In

Software

  • LabVIEW

Driver

  • NI-DAQmx

Issue Details

  • How can I develop an up/down counter in LabVIEW using the DAQmx driver?
  • Can I control the direction on a counter task in LabVIEW? 

Solution

You can use the property Counter Input:Count Edges:Count Direction:Input:Terminal Property to specifies th esource terminal of the digital signal that controls the count direction. Use this property after expecifying the counter direction as as Externally Controlled when creating the task or using the property Counter Input:Count Edges:Count Direction:Direction Property  Below you can find an example using LabIVEW: