Advanced:Hardware Compare:Hardware Compare Mode

NI Digital Waveform Generator/Analyzer

Advanced:Hardware Compare:Hardware Compare Mode

Short Name: HardwareCompare.Mode

Configures the device to compare expected data to actual data in real-time. This property must be set to the same value in both sessions.

Note  To use this feature you must have an acquisition and a generation session running concurrently.

When you set this property to either Stimulus And Expected Response or Expected Response Only, the generation engine sends expected data to the acquisition session to compare against acquired data.

Use the Waveform Data Type (WDT) instance of the niHSDIO Write Named Waveform VI to write expected data to the device. The device drives any values of 0, 1, or Z in the waveform, while values of H, L, or X are treated as expected data values.

This property must be set before data is written to the device.

Disabled (77) Comparison engine is disabled. Any attempts to write expected response data to the device results in an error.
Stimulus And Expected Response (78) Device drives and compares data in parallel sessions, without any software reconfiguration. You can download waveforms with drive and/or compare data. All digital states supported in this mode.
Expected Response Only (79) Device does not drive any data, it only acquires and compares. 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.

Remarks

The following table lists the characteristics of this property.

Data Type ViInt32
Permissions R/W
Channel Based No