Setting Idle State of Counter Task in LabVIEW

Updated Oct 27, 2020

Environment

Software

  • LabVIEW

Driver

  • NI-DAQmx

I have a counter output task that I am running in LabVIEW. I notice that when I stop the task the counter falls into certain idle state how can I change this state?

There are two ways in which you can change this state:

1) You can set this value in the configuration for the counter output task.
LabVIEW:

ANSI C: Use the Events >> Counter Output Event >> Toggle >> Idle State  property.
2) You can do a reset of the device  in LabVIEW. This takes the digitial lines to the power up states, you can additionally modify this power-up states.