void ar_convert_time_to_string (short board, short displayFormat, pAR_TIMETAG_TYPE timeIn, char * timeString);
This function converts the time value provided in the timeIn structure to a character string representation of date/time, format based on what is specified via the displayFormat parameter. The supplied time format (LSB resolution) must be specified in the timeIn structure member timeTagFormat, representing the resolution of the respective timeTag member data.
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number of the board to reference, (valid range is 0-15). |
displayFormat |
short |
Requested format for
the returned time string conversion AR_TD_REL_MIDNIGHT and
AR_TD_IRIG Day of Year Format AR_TD_DATE Month/Day
of Year Format |
timeIn |
pAR_TIMETAG_TYPE |
(input) The time-tag data structure containing the time of year value to convert, (passed by reference). Defined as follows:
|
Output |
|
|
Name |
Type |
Description |
timeString |
char (passed by reference) |
Pointer to resulting time string |
Timer Functions
Alphabetical
Function Index
Hierarchical
Function Index