
24
Reference Manual AFDX / ARINC 664 Application Interface Library
Section 4 – Function Reference: Library Administration Functions
4
4
.
.
1
1
.
.
1
1
.
.
6
6
F
F
d
d
x
x
Q
Q
u
u
e
e
r
r
y
y
R
R
e
e
s
s
o
o
u
u
r
r
c
c
e
e
Prototype:
AiReturn FdxQueryResource ( const AiChar *ac_SrvName,
const AiUInt32 ul_ResourceID,
void *px_ResourceInfo );
Driver Command:
-
Purpose:
To get information about one resource which clients are using this resource.
Note:
For other than “local” available resources the server has to be connected by
using function FdxQueryServerConfig before using this function.
Input
AiChar *ac_SrvName
Name of the PC, where the ANS Server is running.
Value
Constant
Description
"local"
-
Local use of the board
<SrvName>
Name of the PC, where the ANS Server (AIM Network Server)
is running
(e.g. “\\SW-PC-06” or “192.168.0.119”)
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
R
R
e
e
s
s
o
o
u
u
r
r
c
c
e
e
I
I
D
D
Resource ID for this resource, returned by FdxQueryServerConfig(...).
Output
void *px_ResourceInfo
Pointer to a pointer of a resource information. Dependent on the input resource ID
this pointer points to one of the following described structures
(TY_FDX_BOARD_RESOURCE or TY_FDX_PORT_RESOURCE).
typedef struct{
AiChar
ac_BoardName[MAX_STRING_1];
AiUInt32
ul_BoardSerialNo;
AiUInt32
ul_NumOfEthernetPorts;
AiUInt32
ul_Clients;
AiUInt32
ul_GlobalMemSize;
AiUInt32
ul_SharedMemSize;
AiUInt32
ul_StructId;
} TY_FDX_BOARD_RESOURCE;
Summary of Contents for AFDX / ARINC 664
Page 2: ......