niDCPower_GetExtCalLastDateAndTime
ViStatus niDCPower_GetExtCalLastDateAndTime (ViSession vi, ViInt32 *year, ViInt32 *month, ViInt32 *day, ViInt32 *hour, ViInt32 *minute);
Purpose
Returns the date and time of the last successful calibration. The time returned is 24-hour (military) local time; for example, if the device was calibrated at 2:30 PM, this function returns 14 for hours and 30 for minutes.
Parameters
Input | ||
Name | Type | Description |
vi | ViSession | Identifies a particular instrument calibration session. vi is obtained from the niDCPower_InitExtCal function. |
Output | ||
Name | Type | Description |
year | ViInt32* | Returns the year the device was last calibrated. |
month | ViInt32* | Returns the month in which the device was last calibrated. |
day | ViInt32* | Returns the day on which the device was last calibrated. |
hour | ViInt32* | Returns the hour (in 24-hour time) in which the device was last calibrated. |
minute | ViInt32* | Returns the minute in which the device was last calibrated. |
Return Value
Name | Type | Description |
Status | ViStatus | Reports the status of this operation. To obtain a text description of the status code, call the niDCPower_error_message function. To obtain additional information concerning the error condition, call the niDCPower_GetError function. |