IviScope_ConfigureRefLevels

CVI/LabWindows IVI Class Driver

IviScope_ConfigureRefLevels

IviScopeWaveformMeasurement Capability Group

C Function Prototype

ViStatus IviScope_ConfigureRefLevels (ViSession vi, ViReal64 low, ViReal64 mid, ViReal64 high);

Purpose

This function configures the reference levels for waveform measurements. Call this function before calling the IviScope_ReadWaveformMeasurement or IviScope_FetchWaveformMeasurement to take a rise time, fall time, width negative, width positive, duty cycle negative, duty cycle positive, preshoot, or overshoot measurement.

Parameters

Name Type Description
vi ViSession The instrument handle that you obtain from the IviScope_init or IviScope_InitWithOptions functions. The handle identifies a particular IVI session.
low ViReal64 Measurement low reference. The driver uses this value to set the IVISCOPE_ATTR_MEAS_LOW_REF attribute.
mid ViReal64 Measurement mid reference. The driver uses this value to set the IVISCOPE_ATTR_MEAS_MID_REF attribute.
high ViReal64 Measurement high reference. The driver uses this value to set the IVISCOPE_ATTR_MEAS_HIGH_REF attribute.

Return Values