Reference Manual AFDX / ARINC 664 Application Interface Library
111
Section 4 – Function Reference: Transmitter Functions
Output:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
T
T
X
X
_
_
V
V
L
L
_
_
W
W
R
R
I
I
T
T
E
E
_
_
O
O
U
U
T
T
*
*
p
p
x
x
_
_
T
T
x
x
V
V
L
L
W
W
r
r
i
i
t
t
e
e
O
O
u
u
t
t
Pointer to a structure containing information about data written to specified Virtual
Link
typedef struct {
AiUInt32
ul_BytesWritten;
} TY_FDX_TX_VL_WRITE_OUT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
y
y
t
t
e
e
s
s
W
W
r
r
i
i
t
t
t
t
e
e
n
n
Number of bytes actually written. Might be smaller than ul_ByteCount.
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR
Return Value:
ul_BytesWritten
Description:
FDX_OK
ul_ByteCount
Frame is sent to BIU.
Note:
Even if ul_ByteCount of the frame exceeds VL associated
MaxFrameLength which was defined with FdxCmdTxCreateVL the
frame is sent to BIU if the data buffer
(*)
size is big enough.
FDX_OK 0
Data
buffer
(*)
in BIU was full, not able to take this frame
FDX_ERR
0
Vl is not initialized, or does not exist
FDX_ERR
0
SubVl not initialized
(*)
Data buffer size is defined with function
FdxCmdTxCreateVL
, parameter
ul_FrameBufferSize.