short ar_get_time (short board, short format, AR_TIMETAG_TYPE * timeTag);
This function returns the current time reference value scaled from either the CEI-x30 device internal 64-bit timer or the most recently received IRIG timer reference, as specified via the format parameter.
If the requested time format is for the External IRIG Sample (AR_TIMETAG_EXT_IRIG_64BIT), the returned timeTag.referenceTimeTag structure member will contain the board internal timer-referenced time-stamp assigned when the last bit of the external IRIG sample was processed by the CEI-x30 IRIG receiver.
Input |
|
|
Name |
Type |
Description |
board |
short |
(input) Device Number of the board to reference, (valid range is 0-15). |
format |
short |
Time format requested. Valid options are: |
Output |
|
|
Name |
Type |
Description |
timeTag |
AR_TIMETAG_TYPE (passed by reference) |
(output) The time-tag data structure containing the current board time, (passed by reference). Defined as follows:
|
Name |
Type |
Description |
status |
short |
status of the function
call, with valid values of: ARS_INVBOARD The board
parameter value was invalid. ARS_BOARD_MUTEX Access to the Board Lock timed-out/failed. |
Timer Functions
Alphabetical
Function Index
Hierarchical
Function Index