96
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4.3.3.6
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
U
U
D
D
P
P
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
Prototype:
AiReturn FdxCmdTxUDPBlockWrite (const AiUInt32 ul_Handle,
const TY_FDX_UDP_BLOCK_WRITE_IN
*px_UdpBlockWriteIn,
TY_FDX_UDP_BLOCK_WRITE_OUT
*px_UdpBlockWriteOut);
Driver Command:
FDX_TX_UDP_BLOCK_WRITE (0x00008065)
Purpose:
This function is used to write a pure message to one or more UDP ports. The ports can be a
sampling or a queuing port AFDX Communication port. If the data size is not applicable for the
data size associated to this port, this function will return an error.
For sampling ports this function initializes / modifies data contents.
For queuing ports a transmission is initiated when data is written to a UDP port if the transmitter
is running.
This function can be used if the transmitter is running or not running.
For sampling ports this function should be called before the port is started to initialize the data
contents of the sampling port.
Input:
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
U
U
D
D
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
W
W
R
R
I
I
T
T
E
E
_
_
I
I
N
N
*
*
p
p
x
x
_
_
U
U
d
d
p
p
B
B
l
l
o
o
c
c
k
k
W
W
r
r
i
i
t
t
e
e
I
I
n
n
typedef struct {
AiUInt32 ul_MsgCount;
TY_FDX_UDP_BLOCK_WRITE_IN_MSG* px_UdpBlockWriteMsgArray;
} TY_FDX_UDP_BLOCK_WRITE_IN;
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
Specifies the number of messages to be written.
T
T
Y
Y
_
_
F
F
D
D
X
X
_
_
U
U
D
D
P
P
_
_
B
B
L
L
O
O
C
C
K
K
_
_
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
B
B
l
l
o
o
c
c
k
k
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
Pointer to an array structures. Each structure describes the message to be written to a single
UDP transmission port. The array contains ul_MsgCount elements.
typedef struct {
AiUInt32
ul_UdpHandle;
AiUInt32 ul_ByteCount;
void *pv_Data;
} TY_FDX_UDP_BLOCK_WRITE_IN_MSG;
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 UDP port to which the message shall be written. This may be a handle
to either a Queuing or Sampling UDP 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 to write to this UDP port. The value must be equal or smaller than
ul_MaxMessageSize defined with FdxCmdTxUDPCreatePort().