NIHSDIO_ATTR_INITIAL_STATE

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_INITIAL_STATE

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViInt32 R/W Channel None niHSDIO_ConfigureInitialState
niHSDIO_ConfigureInitialStateU32

Description

Specifies the channel state after the session is initiated but before the first waveform sample is generated. The channel changes to the Initial state once the data operation has been initiated. When the Start trigger is asserted, the Initial state is replaced by the first sample in the waveform.

This attribute is valid only for generation sessions.

Note  NI 656x devices do not support the tristate Initial state.

Defined Values:

NIHSDIO_VAL_TRISTATE (24) Sets the channel to a high-impedance state.
NIHSDIO_VAL_LOGIC_HIGH (1) Sets the channel to a logic-high (high level) state.
NIHSDIO_VAL_LOGIC_LOW (0) Sets the channel to a logic-low (low level) state.
NIHSDIO_VAL_HOLD_LAST_VALUE (27) The channel retains its previous value.