niDMM_PerformOpenCableComp

NI-DMM C/CVI/VB

niDMM_PerformOpenCableComp

ViStatus = niDMM_PerformOpenCableComp(ViSession Instrument_Handle, ViReal64 *Conductance, ViReal64 *Susceptance)

Purpose

For the NIĀ 4072 only, performs the open cable compensation measurements for the current capacitance/inductance range, and returns open cable compensation Conductance and Susceptance values. You can use the return values of this function as inputs to niDMM_ConfigureOpenCableCompValues.

This function returns an error if the value of the NIDMM_ATTR_FUNCTION attribute is not set to NIDMM_VAL_CAPACITANCE (1005) or NIDMM_VAL_INDUCTANCE (1006).

Parameters

Input
Name Type Description
Instrument_Handle ViSession Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None.
Output
Name Type Description
Conductance ViReal64* Conductance is the measured value of open cable compensation Conductance.
Susceptance ViReal64* Susceptance is the measured value of open cable compensation Susceptance.

Return Value

Name Type Description
Status ViStatus Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError.