void ar_convert_1553_time_to_string (short board, short displayFormat, pAR_TIMETAG_TYPE timeIn, char * timeString);
For use only with multiprotocol/combination MIL-STD-1553/ARINC boards, this function converts the MIL-STD-1553 synchronized time value provided in the timeIn structure to a character string representation of date/time, format based on what is currently specified for the MIL-STD-1553 interface. The supplied time format should have a fixed one nanosecond resolution (the resolution of any MIL-STD-1553 synchronized time value obtained from a multiprotocol board when defined for a MIL-STD-1553 synchronized channel time-tag mode).
Input |
||
Name |
Type |
Description |
board |
short |
(input) Device Number of the board to reference, (valid range is 0-127). |
displayFormat |
short |
The format for the synchronized time string conversion, acquired from the MIL-STD-1553 interface via the following invocation: status = ar_get_device_config (board, 0, ARU_1553_TIME_TAG_DISPLAY, &displayFormat); |
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