108
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
.
.
1
1
3
3
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
U
U
D
D
P
P
W
W
r
r
i
i
t
t
e
e
I
I
n
n
d
d
e
e
x
x
e
e
d
d
Prototype:
AiReturn FdxCmdTxUDPWriteIndexed (const AiUInt32 ul_Handle, const
TY_FDX_UDP_INDEXED_WRITE_IN *
px_UdpWriteIndexedIn,
TY_FDX_UDP_INDEXED_WRITE_OUT *
px_UdpWriteIndexedOut);
Driver Command:
FDX_TX_UDP_WRITE_INDEXED
Purpose:
This function is used to write a pure message to a defined queue of an UDP Sampling port
which has assotiated a input Queue. This message can be addressed by index
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
U
U
D
D
P
P
_
_
I
I
N
N
D
D
E
E
X
X
E
E
D
D
_
_
W
W
R
R
I
I
T
T
E
E
_
_
I
I
N
N
*
*
p
p
x
x
_
_
U
U
d
d
p
p
W
W
r
r
i
i
t
t
e
e
I
I
n
n
d
d
e
e
x
x
e
e
d
d
I
I
n
n
Pointer to an input structure for information about buffers, shall be written by index
typedef struct {
AiUInt32 ul_UdpHandle;
AiUInt32 ul_MsgCount;
TY_FDX_UDP_INDEXED_WRITE_IN_MSG* px_UdpIndexedWriteMsgArray;
} TY_FDX_UDP_INDEXED_WRITE_IN;
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
;
;
Handle to an UPD Port where the following data shall be written. See description of
FdxCmdTxUDPCreatePort
.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
s
s
g
g
C
C
o
o
u
u
n
n
t
t
;
;
Count of messages which follows described by the following structure.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
U
U
D
D
P
P
_
_
I
I
N
N
D
D
E
E
X
X
E
E
D
D
_
_
W
W
R
R
I
I
T
T
E
E
_
_
I
I
N
N
_
_
M
M
S
S
G
G
*
*
p
p
x
x
_
_
U
U
d
d
p
p
I
I
n
n
d
d
e
e
x
x
e
e
d
d
W
W
r
r
i
i
t
t
e
e
M
M
s
s
g
g
A
A
r
r
r
r
a
a
y
y
;
;
Start Pointer to an array of messages description blocks described by the following structure.
This array must be provided by user in a length which is calculated by sizeof
(TY_FDX_UDP_INDEXED_WRITE_IN_MSG) * ul_MsgCount.
typedef struct {
AiUInt32 ul_Index;
AiUInt32 ul_ByteCount;
void *pv_Data;
} TY_FDX_UDP_INDEXED_WRITE_IN_MSG;
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
I
I
n
n
d
d
e
e
x
x
Index to the buffer structure of the UDP Sampling port where data shall be written. The
Index must be in a range of 0 to ul_UdpNumBufMessages -1 of the dedicated Udp
Sampling 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
C
C
o
o
u
u
n
n
t
t
Number of bytes which shall be written to the buffer of the UDP port