Reference Manual AFDX / ARINC 664 Application Interface Library
25
Section 4 – Function Reference: Library Administration Functions
A
A
i
i
C
C
h
h
a
a
r
r ac_BoardName[]
String, which contains the name of the board.
For the FDX-2/4 board this name is “ AyI-FDX-2/4” “AMC-FDX-2”.
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
ul_BoardSerialNo
The Serial Number of the Board
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
ul_NumOfEthernetPorts
Physical ports available on the board.
AiUInt32 ul_Clients
Reserved.
AiUInt32 ul_GlobalMemSize
Size of the Global Memory (Firmware Interface) in Byte
AiUInt32 ul_SharedMemSize
Size of Shared Memory (in Byte).
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
t
t
r
r
u
u
c
c
t
t
I
I
d
d
Element, which identifies the type of this structure (see
FdxCmdFreeMemory
)
typedef struct{
AiChar
ac_PortName[MAX_STRING_1];
AiUInt32
ul_BoardResourceID;
AiUInt32
ul_StructId;
AiUInt8
uc_PortNo;
AiUInt8
uc_PortMode;
} TY_FDX_PORT_RESOURCE;
AiChar ac_ChnName
A special, definable name for this port.
For the FDX-2/4 board this name is “FDX Port X” where X represents the port number (1..4)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
B
B
o
o
a
a
r
r
d
d
R
R
e
e
s
s
o
o
u
u
r
r
c
c
e
e
I
I
D
D
This is the resource ID of the board, where this port resource is located.
A
A
i
i
U
U
I
I
n
n
t
t
8
8
uc_
P
P
o
o
r
r
t
t
N
N
o
o
Port Number.
For the FDX-2/4 board this value counts from 1 (port 1) to 4 (port 4).
AiUInt8 uc_
P
P
o
o
r
r
t
t
l
l
M
M
o
o
d
d
e
e
Port Mode (not supported in this version)
Value
Description
FDX_SINGLE Single
Mode
FDX_REDUNDANT Redundant
Mode
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
S
S
t
t
r
r
u
u
c
c
t
t
I
I
d
d
Element, which identifies the type of this structure (see
FdxCmdFreeMemory
)
Return Value
Returns FDX_OK on success or a negative error code on error.
Error Codes: FDX_ERR