CounterOutputEventOutputBehavior Property

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

ExportSignals Class See Also


Specifies whether the exported Counter Output Event pulses or changes from one state to the other when the counter reaches terminal count.

Namespace: NationalInstruments.DAQmx

Assembly: NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 17.1.40.99

Syntax

Visual Basic (Declaration)
Public Property CounterOutputEventOutputBehavior As CounterOutputEventOutputBehavior

C#
public CounterOutputEventOutputBehavior CounterOutputEventOutputBehavior { get; set; }

Property Value

Specifies whether the exported Counter Output Event pulses or changes from one state to the other when the counter reaches terminal count.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

Upon reaching terminal count, the counter can issue a pulse. Use CounterOutputEventPulsePolarity to select a high or low pulse.

Upon reaching terminal count, the output terminal of the counter can change state, or toggle. For example, if the terminal is initially at a low state, it changes to high state and stays at the high state until the next terminal count. The terminal then changes to low state. Use CounterOutputEventIdleState to select the initial state of the terminal.

When counting up, a counter reaches terminal count when it reaches the maximum value (2^24 - 1 for a 24-bit counter). When counting down, a counter reaches terminal count when it reaches 0.

See Also

Reference

ExportSignals Class

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful