EasyManua.ls Logo

Aim MIL-STD-1553 - Apiopenex

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...
MIL-STD-1553 Reference Manual
45
Chapter 2 - Library Administration and Initialization Functions
2.1.18 ApiOpenEx
Prototype:
AiInt16 ApiOpenEx( TY_API_OPEN *px_ApiOpen, AiUInt32 *pul_ModuleHandle );
Driver Command:
none
Purpose:
This function initializes the Application Interface for the specified module and must be
called first, before any other API S/W Library function is used for the specified module.
This function establishes connectivity between the Application Interface and the AIM
board by calling operating system routines to open the AIM board and initialize a
shared memory area for host-to-target communication.
Note: When using this function to open the board communication, the ‘biu’ parameter
described in all other functions is not needed and its value will be ignored!
By using this function this information is already coded within the returned
‘pul_ModuleHandle’.
Note: To open the board communication you need to call either ApiOpen() or
ApiOpenEx(), but not both!
Input
T
T
Y
Y
_
_
A
A
P
P
I
I
_
_
O
O
P
P
E
E
N
N
*
*
p
p
x
x
_
_
A
A
p
p
i
i
O
O
p
p
e
e
n
n
Synchronization Counter get structure
typedef struct ty_api_open
{
AiUInt32 ul_Module;
AiUInt32 ul_Stream;
AiChar ac_SrvName[28];
} TY_API_OPEN
A
A
i
i
U
U
I
I
n
n
t
t
3
3
2
2
u
u
l
l
_
_
M
M
o
o
d
d
u
u
l
l
e
e
Board Module Number to access
Value
Constant
Description
0
API_MODULE_1
Module 1
1
API_MODULE_2
Module 2
2
API_MODULE_3
Module 3
3
API_MODULE_4
Module 4
31
API_MODULE_32
Module 32

Table of Contents

Other manuals for Aim MIL-STD-1553