niDMM_CloseExtCal

NI-DMM C/CVI/VB

niDMM_CloseExtCal

ViStatus = niDMM_CloseExtCal(ViSession Instrument_Handle, ViInt32 Action)

Purpose

Performs the specified Action, closes the specified external calibration session obtained from niDMM_InitExtCal, and deallocates resources that it reserved.

Note  The NI 4050 and NI 4060 are not supported.

Refer to the NI 4065 6½ Digit DMM Calibration Procedure, the NI 4070/4072 6½ Digit FlexDMM Calibration Procedure, or the NI 4071 7½–Digit FlexDMM Calibration Procedure before using this function.

Parameters

Input
Name Type Description
Instrument_Handle ViSession The session handle that you obtain from niDMM_InitExtCal. The handle identifies a particular instrument calibration session.
Action ViInt32 Specifies whether the driver saves the updated calibration constants.

NIDMM_EXTCAL_ACTION_ABORT (default) Restores the calibration constants to what they were before starting the external calibration procedure.
NIDMM_EXTCAL_ACTION_SAVE Saves the new calibration constants to the device.

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.