MIL-STD-1553 Reference Manual
Chapter 7 – Bus Controller Functions
7.1.26 ApiCmdBCXferDefErr
Prototype:
AiInt16 ApiCmdBCXferDefErr( AiUInt32 ul_ModuleHandle, AiUInt8 biu,
AiUint16 xid, TY_API_BC_ERR * pxError);
Purpose:
This function can be used to modify a BC transfer descriptor error injection on the fly.
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
x
x
i
i
d
d
BC Transfer ID
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
B
B
C
C
_
_
E
E
R
R
R
R
*
*
p
p
x
x
E
E
r
r
r
r
o
o
r
r
See description of ApiCmdBCXferDef for a detailed description of supported error
modes.
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.