MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.12 ApiCmdBMReadMsgFltRec
Prototype:
AiInt16 ApiCmdBMReadMsgFltRec ( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUInt8 mode, AiUInt8 con,
AiUInt32 max_size, AiUInt16 max_msg,
void *lpBuf, AiUInt8 *ovfl,
AiUInt32 *lWordsRead )
Driver Command:
API_BM_READ_MSG_FLT_REC (0xC9)
Purpose:
This function is used to retrieve multiple 1553 message transfers from the Monitor
Buffer in one of four fomats. The data is required to have been recorded by the BM
while in Message Filter Recording mode (see ApiCmdBMCapMode).
Note: This function will copy the recorded data to the output buffer specified by the
user in ‘lpBuf‘ input parameter. The amount of valid data in Words copied to
the ‘lpbuf’ location is returned in ‘rsize’ (MS-Byte first). The format of the
data copied to the ‘lpbuf’ location is based on the ‘con’- parameter.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
m
m
o
o
d
d
e
e
API_BM_FLT_MODE_INDEPENDENT
Returning ‘lWordsRead’ independend
from Monitor Trigger event
API_BM_FLT_MODE_DEPENDENT
Calculation of ‘lWordsRead’
depending on Monitor Trigger event
Message Filter Recording format – (See chapter 9.1.12.1)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
m
m
a
a
x
x
_
_
s
s
i
i
z
z
e
e
Size of the allocated buffer in Words
A
A
i
i
U
U
I
I
n
n
t
t
1
1
6
6
m
m
a
a
x
x
_
_
m
m
s
s
g
g
Number of messages to read
Pointer to application buffer area (used to store recording data)