DAQmxGetExtCalLastDateAndTime

NI-DAQmx C Functions

DAQmxGetExtCalLastDateAndTime

int32 DAQmxGetExtCalLastDateAndTime (const char deviceName[], uInt32 *year, uInt32 *month, uInt32 *day, uInt32 *hour, uInt32 *minute);

Purpose

Indicates the last date and time that the device underwent an external calibration.

Parameters

Input
Name Type Description
deviceName const char [] The name of the device, as configured in Measurement & Automation Explorer (MAX), to which this operation applies.
Output
Name Type Description
year uInt32 * The last year that the device underwent an external calibration.
month uInt32 * The last month that the device underwent an external calibration.
day uInt32 * The last day that the device underwent an external calibration.
hour uInt32 * The last hour, on a 24-hour clock, that the device underwent an external calibration.
minute uInt32 * The last minute that the device underwent an external calibration.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.