MIL-STD-1553 Reference Manual
Chapter 3 – System Functions
3.1.31 ApiCmdTrackReadEx
Prototype:
AiInt16 ApiCmdTrackReadEx ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_TRACK_READ_IN x_TrackReadIn,
TY_API_TRACK_READ_OUT *px_TrackReadOut );
Driver Command:
API_TRACK_READ (0x2D)
Purpose:
This function is used to read all or specific tracks from a previously defined Track
Multiplex Buffer defined using ApiCmdTrackDef/ApiCmdTrackDefEx.
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
T
T
R
R
A
A
C
C
K
K
_
_
R
R
E
E
A
A
D
D
_
_
I
I
N
N
x
x
_
_
T
T
r
r
a
a
c
c
k
k
R
R
e
e
a
a
d
d
I
I
n
n
Track read structure
typedef struct ty_api_track_read_in
{
AiUInt32 ul_TrackId;
AiUInt32 ul_MultiplexedTrackIndex;
AiUInt32 ul_ReadMode;
} TY_API_TRACK_READ_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
T
T
r
r
a
a
c
c
k
k
I
I
d
d
Track Multiplex Buffer Identifier
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
u
u
l
l
t
t
i
i
p
p
l
l
e
e
x
x
e
e
d
d
T
T
r
r
a
a
c
c
k
k
I
I
n
n
d
d
e
e
x
x
Track Index into the Track Multiplex Buffer to read from
Note: It is the responsibility of the application to make sure that the Track Index
does not exceed the length of the Track Multiplex Buffer
(uw_MultiplexedTrackNb) defined in ApiCmdTrackDef.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
R
R
e
e
a
a
d
d
M
M
o
o
d
d
e
e
Do not clear track update flag
Clear track update flag after read