NIHSDIO_ATTR_DATA_INTERPRETATION

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_DATA_INTERPRETATION

Specific Attribute

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

Description

Use this attribute to select between acquiring using the high/low data or valid/invalid data mode of data interpretation during a static or dynamic acquisition operation.

Select high/low mode to get logic high or logic low values. Use valid/invalid mode to tell if the signal is within the specified voltage range (above data voltage low level but below data voltage high level) or outside the range (below data voltage low level or above data voltage high level).

Note  NI 654x/656x devices only support the high/low mode of data interpretation. NI-HSDIO returns an error if you select valid/invalid mode for an acquisition with these devices.

Refer to your specific hardware documentation to understand how data is returned to you. This attribute is only valid for acquisition sessions.

Defined Values:

NIHSDIO_VAL_HIGH_OR_LOW (3) Data read represents logical values (high level or low level).
NIHSDIO_VAL_VALID_OR_INVALID (4) Data read represents the channel data state: tristate, high level, or low level.