niDMM_GetCalDateAndTime

NI-DMM C/CVI/VB

niDMM_GetCalDateAndTime

ViStatus = niDMM_GetCalDateAndTime(ViSession Instrument_Handle, ViInt32 Cal_Type, ViInt32 *Month, ViInt32 *Day, ViInt32 *Year, ViInt32 *Hour, ViInt32 *Minute)

Purpose

Returns the date and time of the last calibration performed.

Note Note  The NI 4050 and NI 4060 are not supported.

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.
Cal_Type ViInt32 Specifies the type of calibration performed (external or self-calibration).

NIDMM_VAL_INTERNAL_AREA (default)
Note Note  The NI 4065 does not support self-calibration.
0 Self-Calibration
NIDMM_VAL_EXTERNAL_AREA 1 External Calibration
Output
Name Type Description
Month ViInt32* Indicates the Month of the last calibration.
Day ViInt32* Indicates the Day of the last calibration.
Year ViInt32* Indicates the Year of the last calibration.
Hour ViInt32* Indicates the Hour of the last calibration.
Minute ViInt32* Indicates the Minute of the last calibration.

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.