MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.13 ApiCmdBMRTActRead
Prototype:
AiInt16 ApiCmdBMRTActRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 rt,
TY_API_BM_RT_ACT *pact )
Driver Command:
API_BM_RT_ACT_READ (0xC6)
Purpose:
This function is used to read the actual Transfer/Error counter and error type
information for the specified RT Address.
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
O
O
u
u
t
t
p
p
u
u
t
t
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
M
M
_
_
R
R
T
T
_
_
A
A
C
C
T
T
*
*
p
p
a
a
c
c
t
t
BM RT Activity information
typedef struct ty_api_bm_rt_act
{
AiUInt32 mc;
AiUInt32 ec;
AiUInt32 et;
} TY_API_BM_RT_ACT;
Message Counter (32-bit)
Error Counter (32-bit)
Error Type Word: Indicates the type of faults which are detected. All fault bits are Ored
together so that this word stores all detected faults for the specified RT.
E
E
R
R
R
R
I
I
f
f
B
B
i
i
t
t
=
=
1
1
:
:
A
A
n
n
y
y
E
E
r
r
r
r
o
o
r
r
A
A
L
L
T
T
E
E
R
R
I
I
f
f
B
B
i
i
t
t
=
=
1
1
:
:
A
A
l
l
t
t
e
e
r
r
n
n
a
a
t
t
e
e
B
B
u
u
s
s
R
R
e
e
s
s
p
p
o
o
n
n
s
s
e
e
E
E
r
r
r
r
o
o
r
r
L
L
C
C
N
N
T
T
I
I
f
f
B
B
i
i
t
t
=
=
1
1
:
:
L
L
o
o
w
w
W
W
o
o
r
r
d
d
c
c
o
o
u
u
n
n
t
t
E
E
r
r
r
r
o
o
r
r
H
H
C
C
N
N
T
T
I
I
f
f
B
B
i
i
t
t
=
=
1
1
:
:
H
H
i
i
g
g
h
h
W
W
o
o
r
r
d
d
c
c
o
o
u
u
n
n
t
t
E
E
r
r
r
r
o
o
r
r
S
S
T
T
A
A
T
T
I
I
f
f
B
B
i
i
t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