NIHSDIO_ATTR_DATA_TRISTATE_MODE
- Updated2023-02-21
- 1 minute(s) read
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | None |
Description
Specifies the action taken by NI-HSDIO when a channel is tristated. A tristate condition can occur during initial states, idle states, per cycle tristate, and static tristate. Selecting NIHSDIO_VAL_HIGH_IMPEDANCE sets the channel to a high-impedance state when tristated. To drive a termination voltage on a channel in a generation session, select NIHSDIO_VAL_DRIVE_TERMINATION_VOLTAGE.
![]() |
Note This attribute is supported only on NI 6555/6556 devices. |
This attribute is valid only for generation sessions.
![]() |
Note If you set the NIHSDIO_ATTR_DATA_TERMINATION_MODE and NIHSDIO_ATTR_DATA_TRISTATE_MODE attributes to different values on the same channel, NI-HSDIO returns an error. |
Defined Values:
NIHSDIO_VAL_HIGH_IMPEDANCE (84) | Digital driver is disabled when tristated. This value is the default. |
NIHSDIO_VAL_DRIVE_TERMINATION_VOLTAGE (85) | The channel drives the specified termination voltage when tristated. |