Reference Manual AFDX / ARINC 664 Application Interface Library
91
Section 4 – Function Reference: Transmitter Functions
v
v
o
o
i
i
d
d
*
*
p
p
v
v
_
_
D
D
a
a
t
t
a
a
Pointer to a buffer containing the data to write.
Output:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
S
S
A
A
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
W
W
R
R
I
I
T
T
E
E
_
_
O
O
U
U
T
T
*
*
p
p
x
x
_
_
S
S
a
a
p
p
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
O
O
u
u
t
t
typedef struct {
AiReturn st_GlobalResultCode;
AiUInt32 ul_MsgCount;
TY_FDX_SAP_BLOCK_WRITE_OUT_RESULT *px_SapBlockWriteResultArray;
} TY_FDX_SAP_BLOCK_WRITE_OUT;
A
A
i
i
R
R
e
e
t
t
u
u
r
r
n
n
s
s
t
t
_
_
G
G
l
l
o
o
b
b
a
a
l
l
R
R
e
e
s
s
u
u
l
l
t
t
C
C
o
o
d
d
e
e
Specifies the overall result of the block write operation.
Value
Description
FDX_OK
The block operation completed successfully. All messages were successfully
written to the respective UDP ports.
FDX_ERR
At least one of the individual writes to the UDP ports has failed. The
st_ResultCode entries in the output array should be checked for identification of
which message(s) have failed.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
S
S
A
A
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
W
W
R
R
I
I
T
T
E
E
_
_
O
O
U
U
T
T
_
_
R
R
E
E
S
S
U
U
L
L
T
T
*
*
p
p
x
x
_
_
S
S
a
a
p
p
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
R
R
e
e
s
s
u
u
l
l
t
t
A
A
r
r
r
r
a
a
y
y
Pointer to an array of structures. Each structure specifies the result of an individual SAP write
operation. The array contains ul_MsgCount elements.
typedef struct {
AiUInt32
ul_UdpHandle;
AiUInt32
ul_BytesWritten;
AiReturn st_ResultCode;
} TY_FDX_UDP_BLOCK_WRITE_OUT;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
U
U
d
d
p
p
H
H
a
a
n
n
d
d
l
l
e
e
The handle of the associated SAP port.
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 if SAP buffer is full.
(ul_NumBufMessages defined with FdxCmdTxSAPCreatePort)
A
A
i
i
R
R
e
e
t
t
u
u
r
r
n
n
s
s
t
t
_
_
R
R
e
e
s
s
u
u
l
l
t
t
C
C
o
o
d
d
e
e
The result of the individual write operation. FDX_OK on success or a negative error code
if an error occurs.
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR