EasyManua.ls Logo

Aim MIL-STD-1553 - Low Speed Functions; Apicmdbmactread

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MIL-STD-1553 Reference Manual
323
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
Value
Description
0..4095
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;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
f
f
n
n
d
d
Value
Constant
Description
0
API_BM_ENTRY_NOT_FOUND
Entry not found
1
API_BM_ENTRY_FOUND
Entry found
A
A
i
i
U
U
I
I
n
n
t
t
8
8
r
r
t
t
Remote Terminal Address (if fnd = 1)
Note: An entry is active when its
Transfer or Error Counter is
not equal to zero.

Table of Contents

Other manuals for Aim MIL-STD-1553