Functions reference – Sensoray 615 User Manual
Page 12
12
Functions reference
S615_InitSystem
ECODE S615_InitSystem (
PCI *pPci //pointer to a PCI structure
);
Parameters
pPci
Pointer to the structure of PCI type.
Return values
Returns 0 in case of success, or an error code (a list of error codes is included in S615.h).
Notes
The function initializes the driver, searches for, and initializes all boards supported by the SDK.
This function has to be called only once per application. The system resources allocated by
S615_InitSystem are released by a call to S615_CloseSystem. A member of PCI structure mask
has to be set to allow board(s) initialization before a call to S615_InitSystem. See the
description of the PCI structure for details.
S615_CloseSystem
void S615_CloseSystem (
void
)
Parameters
None.
Return values
None.
Notes
S615_CloseSystem releases all resources allocated by the calls to S615 functions. A call to this
function does not affect the boards not selected before a call to S615_InitSystem.