EasyManua.ls Logo

Aim MIL-STD-1553 - Apigetdriverinfo

Aim MIL-STD-1553
502 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
26 MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2.1.8 ApiGetDriverInfo
Prototype:
AiInt16 ApiGetDriverInfo( AiUInt32 ul_Module, TY_API_DRIVER_INFO * px_Info);
Driver Command:
(none)
Purpose:
Returns information from the system driver.This function can be called even if the on
board components are not running or the device is not yet initialized. This function is
internal and only used for update purpose.
Input
n
n
o
o
n
n
e
e
Output
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
D
D
R
R
I
I
V
V
E
E
R
R
_
_
I
I
N
N
F
F
O
O
*
*
p
p
x
x
_
_
I
I
n
n
f
f
o
o
The driver info struct.
typedef struct ty_api_driver_info
{
AiUInt8 uc_PlattformGroup;
AiUInt8 uc_ReservedB2;
AiUInt8 uc_ReservedB3;
AiUInt8 uc_ReservedB4;
AiUInt16 uw_ReservedW1;
AiUInt16 uw_ReservedW2;
AiUInt32 ul_DriverFlags;
AiUInt32 ul_SN;
AiUInt32 ul_BoardConfig;
AiUInt32 ul_BoardType;
AiUInt32 ul_OpenConnections;
AiUInt32 ul_ReservedLW6;
AiUInt32 ul_ReservedLW7;
AiUInt32 ul_ReservedLW8;
} TY_API_DRIVER_INFO;
A
A
i
i
U
U
I
I
n
n
t
t
8
8
u
u
c
c
_
_
P
P
l
l
a
a
t
t
t
t
f
f
o
o
r
r
m
m
G
G
r
r
o
o
u
u
p
p
The hardware platform group that the device belongs to.
Value
Define
Description
0
TYPE_BOARD_UNKNOWN
Unrecognized
1
TYPE_BOARD_AYI
AyI
2
TYPE_BOARD_AYX
AyX
3
TYPE_BOARD_AMC
Amc
4
TYPE_BOARD_AMC_ASP
Amc-Asp
5
TYPE_BOARD_AYE
AyE
6
TYPE_BOARD_AYE_ASP
AyE-Asp
7
TYPE_BOARD_AYX_GNET
AyX-Gnet
8
TYPE_BOARD_USB
USB
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
D
D
r
r
i
i
v
v
e
e
r
r
F
F
l
l
a
a
g
g
s
s

Table of Contents

Other manuals for Aim MIL-STD-1553