MIL-STD-1553 Reference Manual
Chapter 8 – Remote Terminal Functions
8.1.9 ApiCmdRTGlobalCon
Prototype:
AiInt16 ApiCmdRTGlobalCon ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt16 count,
TY_API_RT_SA *rt_glob );
Driver Command:
API_RT_GLOBAL_CON (0x9F)
Purpose:
This function is used to initialize all RTs, initialize the Subaddress/Mode code of the
selected RTs, initialize the RT buffers and update the RT transmit buffers.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
c
c
o
o
u
u
n
n
t
t
Number of TY_API_RT_SA structures to process
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
R
R
T
T
_
_
S
S
A
A
*
*
r
r
t
t
_
_
g
g
l
l
o
o
b
b
Pointer to count contiguous TY_API_RT_SA structures used as an array.
Typedef struct ty_api_rt_sa
{
AiUInt16 buffer[32];
AiUInt8 mode;
AiUInt8 rt;
AiUInt8 rt_con;
AiUInt8 sa_mc;
AiUInt8 sa_type;
AiUInt8 sa_con;
AiUInt8 resp_time;
AiUInt8 smod;
AiUInt16 nxw;
AiUInt16 swm;
AiUInt16 hid;
AiUInt16 bid;
} TY_API_RT_SA;
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
b
b
u
u
f
f
f
f
e
e
r
r
[
[
]
]
Data buffer. In update mode the buffer contents will only be used for transmit data.
TY_API_RT_SA usage Control
Subaddress and buffer initialization
for the selected RT
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
_
_
c
c
o
o
n
n
Remote Terminal Operation Control
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
a
a
_
_
m
m
c
c