NIHSDIO_ATTR_DRIVE_TYPE

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_DRIVE_TYPE

Specific Attribute

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

Description

Specifies what the data channels generate when set to logic 1. Using the open collector setting to generate a Z is useful for wired logic buses, such as I2C or SMBus.

Notes  NI 656x devices only support the active drive setting. NI-HSDIO returns an error if you try to configure the channels on these devices for open collector generation.

NI 654x devices support open collector generation only for static generation. NI-HSDIO returns an error if you try to configure the channels on these devices for open collector dynamic generation.

This property is only valid for generation sessions.

Defined Values:

Active drive (75) The Generation Voltage High Level for the device is produced at the channel electronics when the Pattern Generation Engine generates a binary 1.
Open collector (76) The channel electronics assume a high-impedance state when the Pattern Generation Engine generates a binary 1.

Remarks

The following table lists the characteristics of this property.

Data Type ViInt32
Permissions R/W
Channel Based Yes