NI-DCPower C Function Reference Help

NIDCPOWER_ATTR_MEASURE_COMPLETE_EVENT_TOGGLE_INITIAL_STATE

  • Updated2023-04-15
  • 2 minute(s) read

Specific Attribute

Numeric Value Data
type
Access Applies to Coercion High-Level Functions
1150334 ViInt32 R/W Session None N/A

Description

Specifies the initial state of the measure complete event if you set the NIDCPOWER_ATTR_MEASURE_COMPLETE_EVENT_OUTPUT_BEHAVIOR to NIDCPOWER_VAL_EVENT_OUTPUT_BEHAVIOR_TOGGLE.

Note NoteFor more information about supported devices and terminals, search Supported Attributes by Device on ni.com.
Note Note  To specify a channel name when accessing this attribute, you must first initialize the session using the niDCPower_InitializeWithIndependentChannels function.

Defined Values:

NIDCPOWER_VAL_EVENT_INITIAL_STATE_LOW (1149) The output is set to low at session commit. For operation in Single Point source mode, the output switches to high when the event occurs during the acquisition. The output then switches to low if a subsequent event occurs during the acquisition. This pattern repeats as events continue to be generated. For operation in Sequence source mode, the output switches to high the first time an event occurs during the acquisition. It then switches to low the second time an event occurs. This pattern repeats for any subsequent event occurrences.
NIDCPOWER_VAL_EVENT_INITIAL_STATE_HIGH (1150) The output is set to high at session commit. For operation in Single Point source mode, the output switches to low when the event occurs during the acquisition. The output then switches to high if a subsequent event occurs during the acquisition. This pattern repeats as events continue to be generated. For operation in Sequence source mode, the output switches to low the first time an event occurs during the acquisition. It then switches to high the second time an event occurs. This pattern repeats for any subsequent event occurrences.

Default Value: NIDCPOWER_VAL_EVENT_INITIAL_STATE_LOW

Log in to get a better experience