88
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Transmitter Functions
4
4
.
.
3
3
.
.
3
3
.
.
2
2
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
H
H
i
i
R
R
e
e
s
s
V
V
L
L
Prototype:
AiReturn FdxCmdTxCreateHiresVL( AiUInt32 ul_Handle,
const TY_FDX_TRANSMIT_VL *px_TransmitVL );
Driver Command:
FDX_TX_CREATE_VL_HIRES_BAG
(0x00008068)
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. This function is used to specify a
VL with a high resolution bag.
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 microseconds.
Possible Values for the BAG are 800usec to 128000usec.
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.