NI-SCOPE C Function Reference

NISCOPE_ATTR_MEAS_REF_LEVEL_UNITS

  • 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 units for the waveform measurement reference levels. If you choose percentage, the measurement routine uses the NISCOPE_ATTR_MEAS_PERCENTAGE_METHOD attribute to map the percentage values to voltages. Choosing voltage units allows you to set the voltage thresholds directly and avoids extra calculations.

Default Value: Percentage

Defined Values

NISCOPE_VAL_MEAS_VOLTAGE—The reference levels are given in units of volts.

NISCOPE_VAL_MEAS_PERCENTAGE—Percentage, where the measurements voltage low and voltage high represent 0% and 100%, respectively.