MIL-STD-1553 Reference Manual
Chapter 8 – Remote Terminal Functions
8.1.8 ApiCmdRTGetSimulationinfo
Prototype:
AiInt16 ApiCmdRTGetSimulationinfo ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUInt8 rt_addr, TY_RT_INFO *px_RTInfo );
Driver Command:
API_RT_GET_SIM_INFO (0x8E)
Purpose:
This function is used to read the simulation and monitoring status of an RT including
sub addresses and MID as bit field.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
_
_
a
a
d
d
d
d
r
r
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
R
R
T
T
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
_
_
R
R
T
T
I
I
n
n
f
f
o
o
RT Simulation description
typedef struct rt_info_tag
{
AiUInt8 uc_Mode;
AiUInt32 ul_RxSa ;
AiUInt32 ul_TxSa ;
AiUInt32 ul_RxMC;
AiUInt32 ul_TxMC;
AiUInt32 ul_HSRxMID[8];
AiUInt32 ul_HSTxMID[8];
AiUInt32 ul_HSMC;
} TY_RT_INFO ;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
M
M
o
o
d
d
e
e
RT Operation Mode
API_RT_DISABLE_OPERATION
API_RT_ENABLE_SIMULATION
API_RT_ENABLE_MONITORING
RT Operation disabled
RT Simulation enabled
RT Mailbox Monitoring enabled