DAQmxGetSelfCalLastDateAndTime

NI-DAQmx C Functions

DAQmxGetSelfCalLastDateAndTime

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

Purpose

Indicates the last date and time that the device underwent a self 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 a self-calibration.
month uInt32 * The last month that the device underwent a self-calibration.
day uInt32 * The last day that the device underwent a self-calibration.
hour uInt32 * The last hour, on a 24-hour clock, that the device underwent a self-calibration.
minute uInt32 * The last minute that the device underwent a self-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.