MIL-STD-1553 Reference Manual
Chapter 9 – Bus Monitor Functions
9.1.6 ApiCmdBMFTWIni
Prototype:
AiInt16 ApiCmdBMFTWIni ( AiUInt32 ul_ModuleHandle, AiUInt8 biu, AiUInt8 con,
AiUInt8 htm, AiUInt8 htc, AiUInt8 stm, AiUInt8 stc );
Driver Command:
API_BM_INI_FTW (0xC2)
Purpose:
This function is used to define the BM Function Trigger Word bit patterns to be used
by the BM to identify a Start Trigger Event and/or Stop Trigger Event. The
Start/Stop Trigger Events are used by the BM for Start/Stop of the “Data Capture”.
The Function Trigger pattern specified is compared to the BM’s Monitor Status
Trigger pattern which is set/reset as specified for each trigger with the
ApiBMTCBIni function.
I
I
n
n
p
p
u
u
t
t
A
A
i
i
U
U
I
I
n
n
t
t
8
8
c
c
o
o
n
n
Stop Trigger Mask pattern
Stop Trigger Compare pattern
Start Trigger Mask pattern
Start Trigger Compare pattern
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.