|Download Help (Windows Only)|
Short Name: SupportedDataStates
Property of niHSDIO
Configures the supported digital data states in a waveform. Use this property to enable tristate data generation or real-time hardware compare data. To use the hardware comparison feature, you must have an acquisition and a generation session running concurrently. When you select hardware compare data you must set this property to the same value in both sessions.
|Note For NI 6547/6548 devices, when you set this property to an extended data mode it reduces the number of channels available for dynamic generation to 24. The top eight channels (24-31) are available for dynamic acquisition or static generation, and the lower twenty-four channels (0-23) are available for dynamic generation of supported data states.|
When you set this property to L, H, X (resp only) , all data is configured for comparison. When you set this property to 0, 1, Z, L, H, X (stim/resp) , the software is configured for either driving generation data or comparing data.
Use the Waveform Data Type (WDT) instance of the niHSDIO Write Named Waveform VI to write tristate or expected data to the device. The device drives any values of 0, 1, or Z in the waveform, and values of H, L, or X are treated as expected data values.
You must set this property before you write data or allocate a waveform to the device.
|Note This property replaces the obsoleted Hardware Compare Mode property. Refer to the following table for the relative values of each property.|
|Supported Data States Value||Hardware Compare Mode Value (obsolete)|
|0, 1 (binary)||Disabled|
|0, 1, Z (tristate)||N/A|
|H, L, X (resp only)||Response Only|
|0, 1, Z, H, L, X (stim/resp)||Stimulus and Expected Response|
|0, 1 (binary) (77)||
Configures the device to support binary data only. Does not allow tristate or expected data. Disables the comparison engine. NI-HSDIO returns an error if you try to write expected response or tristate data to the device while configured to this value.
|0, 1, Z (tristate) (83)||
Configures the device to support binary and tristate (Z state) data. Disables the comparison engine. NI-HSDIO returns an error if you try to write expected response data to the device while configured to this value. You must set this value before you can write a waveform with per cycle tristate. Ignore this value for acquisition sessions.
|0, 1, Z, L, H, X (stim/resp) (78)||
Configures the device to support binary, tristate, and expected data. Drives and compares data in the same session. You can download waveforms with drive and/or compare data. All digital states are supported in this mode.
|L, H, X (resp only) (79)||
Configures the device to only acquire and compare data. You cannot download drive data. A generation session downloads the expected waveform. Selecting this value pauses the generation lines to synchronize the acquisition and generation sessions.
The following table lists the characteristics of this property.