EasyManua.ls Logo

Aim MIL-STD-1553 - Apicmdrtglobalcon

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
291
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
Value
Description
1..511
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.
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
o
o
d
d
e
e
TY_API_RT_SA usage Control
Value
Constant
Description
0
API_RT_SA_USAGE_INIT
RT Initialization
1
API_RT_SA_USAGE_BUF_INIT
Subaddress and buffer initialization
for the selected RT
2
API_RT_SA_USAGE_UPDATE
Update transmit buffer
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
Value
Description
0..31
Remote Terminal Address
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
Value
Constant
Description
0
API_DIS
Disable RT Operation
1
API_ENA
Enable RT Simulation
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
a
a
_
_
m
m
c
c
Value
Description
1..30
RT Subaddress

Table of Contents

Other manuals for Aim MIL-STD-1553