MIL-STD-1553 Reference Manual
Chapter 8 – Remote Terminal Functions
8.1.25 ApiCmdRTStatusRead
Prototype:
AiInt16 ApiCmdRTStatusRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
TY_API_RT_STATUS_DSP *pdsp );
Driver Command:
API_RT_STATUS_READ (0x9A)
Purpose:
This function is used to read the execution status of the RT operation and the global
RT message and error counters.
I
I
n
n
p
p
u
u
t
t
n
n
o
o
n
n
e
e
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
R
R
T
T
_
_
S
S
T
T
A
A
T
T
U
U
S
S
_
_
D
D
S
S
P
P
*
*
p
p
d
d
s
s
p
p
RT Status information
typedef struct ty_api_rt_status_dsp
{
AiUInt8 status;
AiUInt8 padding1;
AiUInt16 padding2;
AiUInt32 glb_msg_cnt;
AiUInt32 glb_err_cnt;
}TY_API_RT_STATUS_DSP;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
s
s
t
t
a
a
t
t
u
u
s
s
Remote Terminal execution status
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
a
a
d
d
d
d
i
i
n
n
g
g
1
1
0 (reserved)
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
p
p
a
a
d
d
d
d
i
i
n
n
g
g
2
2
0 (reserved)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
g
g
l
l
b
b
_
_
m
m
s
s
g
g
_
_
c
c
n
n
t
t
Global RT Message Counter
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
g
g
l
l
b
b
_
_
e
e
r
r
r
r
_
_
c
c
n
n
t
t
Global RT Error Counter
Return Value
All API functions return API_OK if no error occurred. If the return value is not equal
to API_OK the function ApiGetErrorDescription can be used to obtain an error
description.