niDMM_ConfigureOffsetCompOhms
- Updated2023-02-21
- 1 minute(s) read
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.
|
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. |