MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.30 ApiCmdQueueIni
Prototype:
AiInt16 ApiCmdQueueIni ( AiUInt32 ul_ModuleHandle, AiUInt8 biu );
Driver Command:
none
Purpose:
This function is used to configure the BM for Record with Queuing mode. (When
programming in Record with Queueing mode, this function will be used to setup the
BM record mode instead of the ApiCmdBMCapMode function.) In Record with
Queuing mode, the BM will capture all 1553 traffic and utilize the Moniter Buffer as a
queue by storing the messages as a circular queue of entries. The 1553
message(s) can then be retrieved from the queue, one at a time, using the
ApiCmdQueueRead function.
Note: ApiCmdBMReadMsgFltRec function for retrieving data from the Bus
Monitor Buffer is not allowed in the Record with Queuing mode.
I
I
n
n
p
p
u
u
t
t
n
n
o
o
n
n
e
e
O
O
u
u
t
t
p
p
u
u
t
t
n
n
o
o
n
n
e
e
Return Value
All API functions return API_OK if no error occurred. If the return value is not
equal to API_OK the function ApiGetErrorDescription can be used to obtain an
error description.