Adm api backplane functions – ProSoft Technology MVI69-ADM User Manual
Page 169

MVI-ADM ♦ 'C' Programmable
Application Development Function Library - ADM API
'C' Programmable Application Development Module
Developer's Guide
ProSoft Technology, Inc.
Page 169 of 342
February 20, 2013
7.6
ADM API Backplane Functions
ADM_BtOpen
Syntax
int ADM_BtOpen(ADMHANDLE adm_handle, ADM_INTERFACE * adm_interface_ptr, int
verbose)
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_interface_ptr
Pointer to ADM_INTERFACE structure to allow API access to
structures
verbose
Switch to enable status messages to the debug port. A 1 will
enable messages and a 0 will disable the messages.
Description
This function opens and initializes the backplane interface.
Return Value
ADM_SUCCESS
No errors were encountered
ADM_ERR_NOACCESS
adm_handle does not have access
Backplane error number
If there is an error writing to the backplane during initialization,
the error code is returned.
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
int verbose = 1;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_BtOpen(adm_handle, interface_ptr, verbose);
See Also
ADM_BtClose (page 170)