ni4133_InitializeLibrary
- Updated2025-11-18
- 1 minute(s) read
Returns a library handle to identify the PXIe-4133 library. You must call this function at least once for the application.
Syntax
ni4133_Status NI4133_DECL ni4133_InitializeLibrary(uint32_t version, ni4133_LibraryHandle *libraryHandle)
Remarks
If you are building a DLL, do not call InitializeLibrary from DllMain or a C++ static initializer/destructor.
Parameters
| Name | Direction | Type | Description |
|---|---|---|---|
| version | [in] | uint32_t | Version of the PXIe-4133 library used to compile this application. Specify a value of NI4133_LIBRARY_VERSION for this parameter. |
| libraryHandle | [out] | ni4133_LibraryHandle * | Newly allocated library handle. |
Returns
Reports the status of this operation.
To obtain a text description of the status code, call ni4133_GetErrorDescription. The general meaning of the status code is as follows:
Value | Meaning |
|---|---|
Positive Values | Warnings |
Negative Values | Errors |