niDMM_ConfigureOffsetCompOhms

NI Digital Multimeters Help (NI-DMM 18.1)

Edition Date: March 2018

Part Number: 370384V-01

»View Product Info
Download Help (Windows Only)

ViStatus = niDMM_ConfigureOffsetCompOhms(ViSession Instrument_Handle, ViInt32 Offset_Comp_Ohms)

Purpose

For NI 4080/4081/4082 and NI 4070/4071/4072, allows the DMM to compensate for voltage offsets in resistance measurements. When Offset_Comp_Ohms is enabled, the DMM measures the resistance twice (once with the current source on and again with it turned off). Any voltage offset present in both measurements is cancelled out. Offset_Comp_Ohms is useful when measuring resistance values less than 10 KΩ.

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.
Offset_Comp_Ohms ViInt32 Enables or disables Offset_Comp_Ohms. The driver sets NIDMM_ATTR_OFFSET_COMP_OHMS to this value.

NameValueDescription
NIDMM_VAL_OFFSET_COMP_OHMS_OFF (default) 0 Off disables Offset_Comp_Ohms.
NIDMM_VAL_OFFSET_COMP_OHMS_ON 1 On enables Offset_Comp_Ohms.

Return Value

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

WAS THIS ARTICLE HELPFUL?

Not Helpful