MIL-STD-1553 Reference Manual
Chapter 2 - Library Administration and Initialization Functions
2 LIBRARY ADMINISTRATION AND INITIALIZATION FUNCTIONS
Chapter 2 defines the Library Administration function calls of the API S/W Library. The
Library Administration functions provide general library initialization, and shutdown,
interrupt handler setup, and error message handling setup. Table 3-I defines the list
and definition of general Library Administration functions, Table 3-II the VME specific
administration functions. The function calls in this table are listed in a functional order,
however, the detailed descriptions of the Library Administration function calls in the
following sections are in alphabetical order.
Table 2-I – General Library Administration Function Descriptions
Closes AIM module interface - called last
Establishes a network connection to a specified PC server where AIM
Network Server (ANS) software is running.
Removes the pointer interface to the interrupt handler function
Disconnects the network connection
This function cleans up the library resources so it is safe to unload
Get information about the assigned hardware
Get a error message for a given error code
Reads extended information about the current library settings
Gets error code after unsuccessful ApiOpen
Retrieves information about AIM boards installed on the ANS PC
Gets target communication status of command execution
Gets target command emulation state
Initializes the API S/W Library Application Interface - performed first
Provides a pointer to the interrupt handler function
Initializes the AIM module & provides the handle for future board
commands
Initializes the AIM module & stream & provides the handle for future board
commands
Prints message on console output of ANS console
Sets the debug output level
Enables/disables target command emulation mode
Table 2-II – VME Specific Library Administration Function Descriptions
Examines the board(s) on a specific VME slot/ A16 address and runs a
PCI config cycle
Checks the type of module
Scans the local PCI bus for known boards and returns the number of
boards handled by this driver