short ar_set_time (short board, AR_TIMETAG_TYPE * timeTag);
This function assigns a value to the specified CEI-x30 device internal timer or IRIG time generator based on an application-supplied time format value.
Input |
||||||||||||||||||||
Name |
Type |
Description |
||||||||||||||||||
board |
short |
(input) Device Number of the board to reference, (valid range is 0-127). |
||||||||||||||||||
timeTag |
AR_TIMETAG_TYPE (passed by reference) |
(input) The time-tag data structure associated with the values to be used to set the respective timer, defined as follows:
->timeTag -- timer
value to assign in the format specified via
"timeTagFormat" For timeTagFormat of
AR_TIMETAG_EXT_IRIG_64BIT, the format of timeTag should be IRIG encoded
BCD, defined as:
For timeTagFormat of
AR_TIMETAG_INT_USEC_64BIT, the format of timeTag is a 64-bit integer
value with a 1 microsecond resolution. ->referenceTimeTag – member not used |
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