IviScope_AutoProbeSenseValue

CVI/LabWindows IVI Class Driver

IviScope_AutoProbeSenseValue

IviScopeProbeAutoSense Capability Group

C Function Prototype

ViStatus IviScope_AutoProbeSenseValue (ViSession vi, ViConstString channel, ViReal64 *autoProbeSenseValue);

Purpose

This function returns the probe attenuation value the oscilloscope senses. The automatic probe sense capability is enabled by setting the probeAttenuation parameter of the IviScope_ConfigureChannel function to IVISCOPE_VAL_PROBE_SENSE_ON.

If the automatic probe sense capability is disabled, this function returns the manual probe attenuation setting.

Parameters

Inputs 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.
     
Outputs Type Description
AutoProbeSense Value ViReal64 Returns the probe attenuation value the oscilloscope senses. The driver returns the value of the IVISCOPE_ATTR_PROBE_SENSE_VALUE attribute.

Return Values