MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.15 ApiCmdBMStackEntryFind
Prototype:
AiInt16 ApiCmdBMStackEntryFind ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 ptype,
AiUInt8 sgn, AiUInt32 offset,
AiUInt16 fspec, AiUInt16 fdata,
AiUInt16 fmask,TY_API_BM_STACK_FND *pfnd );
Driver Command:
API_BM_ENTRY_FIND (0xBD)
Purpose:
This function is used to find a specific entry in the Bus Monitor buffer. The entry
type and the buffer location to start searching from is defined by the Buffer Pointer
Read Mode plus offset.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
p
p
t
t
y
y
p
p
e
e
Buffer Pointer Read Mode
Read from Monitor Start Entry Pointer (stp)
Read from Monitor Capture Start / Trigger
Pointer (ctp)
Read from Monitor Buffer Fill / End Pointer (etp)
Entry Offset Sign
Positive entry offset (ptype=0 and ptype=1)
Negative entry offset (ptype=1 and ptype=2)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
o
o
f
f
f
f
s
s
e
e
t
t
Number of entries (
ehavior or negative offset)
Number of entries relative to the selected Buffer Pointer Read
Mode