EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdgetirigtime

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
75
Chapter 3 System Functions
3.1.6 ApiCmdGetIrigTime
Prototype:
AiInt16 ApiCmdGetIrigTime ( AiUInt32 ul_ModuleHandle, TY_API_IRIG_TIME *pirig_time );
Driver Command:
API_GET_IRIG_TIME (0x3E)
Purpose:
This function is used to read the on-board IRIG timecode encoder.
Input
n
n
o
o
n
n
e
e
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
I
I
R
R
I
I
G
G
_
_
T
T
I
I
M
M
E
E
*
*
p
p
i
i
r
r
i
i
g
g
_
_
t
t
i
i
m
m
e
e
IRIG Timecode structure
typedef struct ty_api_irig_time
{
AiUInt8 day_hi;
AiUInt8 day_lo;
AiUInt8 hour;
AiUInt8 min;
AiUInt8 sec;
AiUInt8 ms_hi;
AiUInt8 ms_lo;
AiUInt8 mode;
AiUInt8 irig_src;
AiUInt8 irig_sync;
} TY_API_IRIG_TIME
A
A
i
i
U
U
I
I
n
n
t
t
8
8
d
d
a
a
y
y
_
_
h
h
i
i
Higher Byte of the IRIG day field
A
A
i
i
U
U
I
I
n
n
t
t
8
8
d
d
a
a
y
y
_
_
l
l
o
o
Lower Byte of the IRIG day field
A
A
i
i
U
U
I
I
n
n
t
t
8
8
h
h
o
o
u
u
r
r
Value of the IRIG hour field (0..23)
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
i
i
n
n
Value of the IRIG minute field (0..59)
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
e
e
c
c
Value of the IRIG second field (0..59)
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
s
s
_
_
h
h
i
i
Higher Byte of the IRIG milli second field

Table of Contents

Other manuals for Aim MIL-STD-1553