MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1 Low Speed Functions
9.1.1 ApiCmdBMActRead
Prototype:
AiInt16 ApiCmdBMActRead ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt16 entry_no,
TY_API_BM_ACT_DSP *pact );
Driver Command:
API_BM_ACT_READ (0xBA)
Purpose:
This function is used to find and read the Bus Monitor Bus Activity Transfer/Error
counters and returns the corresponding RT Subaddress/Mode code on which
activity occurs. Starting with the entry number 0 only active RT Subaddress/Mode
codes are reported. In the last active entry number+1, ‘fnd’ is set to zero. Note that
activity is recorded by the AIM board whenever the Bus Monitor is enabled,
independent from the occurrence of the trigger event.
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
e
e
n
n
t
t
r
r
y
y
_
_
n
n
o
o
Activity List Entry Number to identify active Activity List entries
0: First active entry
1: Second active entry
2..n: 3
rd
to nth active entry
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
_
_
A
A
C
C
T
T
_
_
D
D
S
S
P
P
*
*
p
p
a
a
c
c
t
t
BM Activity information
typedef struct ty_api_bm_act_dsp
{
AiUInt8 fnd;
AiUInt8 rt;
AiUInt8 tr;
AiUInt8 sa;
AiUInt32 cc;
AiUInt32 ec;
AiUInt32 et;
} TY_API_BM_ACT_DSP;
Remote Terminal Address (if ‘fnd’ = 1)
Note: An entry is active when its
Transfer or Error Counter is
not equal to zero.