![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730098.webp)
86
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
I
I
n
n
d
d
i
i
v
v
i
i
d
d
u
u
a
a
l
l
(
(
U
U
D
D
P
P
P
P
o
o
r
r
t
t
o
o
r
r
i
i
e
e
n
n
t
t
e
e
d
d
)
)
T
T
r
r
a
a
n
n
s
s
m
m
i
i
t
t
t
t
e
e
r
r
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
s
s
4
4
.
.
3
3
.
.
3
3
.
.
1
1
F
F
d
d
x
x
C
C
m
m
d
d
T
T
x
x
C
C
r
r
e
e
a
a
t
t
e
e
V
V
L
L
Prototype:
AiReturn FdxCmdTxCreateVL( AiUInt32 ul_Handle,
const TY_FDX_TRANSMIT_VL *px_TransmitVL );
Driver Command:
FDX_TX_CREATE_VL (0x00008059)
Purpose:
This function is used to setup a Virtual Link to transmit data. This is only a description of the
Virtual Link specific parameters, which must be known by the system for transmitting. This
function can be used only when the transmitter is not running.
Input:
TY_FDX_TRANSMIT_VL *px_TransmitVL
A pointer to a structure which describes the Virtual Link related parameters for the
transmitter.
typedef struct {
AiUInt32
ul_VlId;
AiUInt32
ul_SubVls;
AiUInt32
ul_Bag;
AiUInt32
ul_NetSelect;
AiUInt32
ul_MaxFrameLength;
AiUInt32
ul_FrameBufferSize;
AiUInt32
ul_MACSourceLSLW;
AiUInt32
ul_MACSourceMSLW;
AiUInt32
ul_skew;
} TY_FDX_TRANSMIT_VL;
AiUInt32 ul_VLId
Virtual Link Identifier. A value in a range from 0 to 65535. This value is part of the MAC
destination address.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
u
u
b
b
V
V
l
l
s
s
Number of Sub VLs associated to this VL. This Value must be in a range from 1 to 4.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
a
a
g
g
Specifies the Bandwidth Allocation Gap (BAG)for this Virtual Link in milliseconds.
Possible Values for the BAG are 1 to 128ms defined as 2
k
[in ms], where k can have a range
from integer 0 to 7.(Source [5])
The bag limits the bandwidth of a VL. Refer also to ul_SamplingRate defined with
FdxCmdTxUDPCreatePort.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
a
a
x
x
F
F
r
r
a
a
m
m
e
e
L
L
e
e
n
n
g
g
t
t
h
h
Specifies the maximum length of one MAC-Frames which can by this VL.
Summary of Contents for AFDX / ARINC 664
Page 2: ......