MIL-STD-1553 Reference Manual
Chapter 8 – Remote Terminal Functions
8.1.23 ApiCmdRTSAMsgReadEx
Prototype:
AiInt16 ApiCmdRTSAMsgReadEx( AiUInt32 ul_ModuleHandle,
TY_API_RT_SA_MSG_READ_IN *px_MsgReadIn,
TY_API_RT_SA_STATUS_EX *px_RtSaStatus);
Driver Command:
TG_API_RT_SA_BH_GET(0x8D)
TG_API_RT_STATUS_READ(0x9A)
Purpose:
This function is used to read the execution status of the specified RT
Subaddress/Mode code of the selected AIM board Remote Terminal (identified by its
RT Address), including status queue information
I
I
n
n
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
R
R
T
T
_
_
S
S
A
A
_
_
M
M
S
S
G
G
_
_
R
R
E
E
A
A
D
D
_
_
I
I
N
N
*
*
p
p
x
x
_
_
M
M
s
s
g
g
R
R
e
e
a
a
d
d
I
I
n
n
RT Status input information
typedef struct ty_api_rt_sa_msg_read_in
{
AiUInt32 ul_RtAddr ;
AiUInt32 ul_SA ;
AiUInt32 ul_SaType;
AiUInt32 ul_Biu;
} TY_API_RT_SA_MSG_READ_IN;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
R
R
t
t
A
A
d
d
d
d
r
r
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
A
A
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
a
a
T
T
y
y
p
p
e
e
Subaddress Type
API_RT_TYPE_RECEIVE_MODECODE
API_RT_TYPE_TRANSMIT_MODECODE
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
i
i
u
u
The same as the biu parameter of other functions.