Initializes the interface and allocates internal memory.
- Parameters
-
[out] | handle | SME Integer handle required by all other SME functions. |
- Return values
-
SME_Initialize allocates internal memory and prepares the SME interface. After using the SME interface, it is necessary to explicitly call SME_Cleanup() to avoid memory leaks.
- Warning
- The SME handle returned by SME_Initialize is compatible with only the functions beginning with SME_. The SME API was written only to locate and configure Ethernet enabled Sealevel I/O modules. In order to read or write to a particular SeaI/O module, the standard SeaMAX SM_ functions should be used, after opening the module with SM_Open() and acquiring a SM handle.