Closes a PXIe-4133 session.

Syntax

ni4133_Status NI4133_DECL ni4133_Close(ni4133_SessionHandle sessionHandle)

Remarks

Closing the session invalidates the session handle. Avoid calling other functions with an invalid session handle.

If you are building a DLL, do not call Close from DllMain or a C++ static initializer/destructor.

Parameters

NameDirectionTypeDescription
sessionHandle[in]ni4133_SessionHandle

Specifies the session to close.

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