niSE_CloseSession
- Updated2023-02-21
- 1 minute(s) read
Closes a session to an NI Switch Executive virtual device. Reduces the reference count of open sessions by one. If the reference count goes to 0, the function deallocates any memory resources the driver uses and closes any open IVI switch sessions.
Function Prototype
Function niSE_CloseSession( | sessionHandle as NISESession) As NISEStatus |
Parameter
Input
Name | Type | Description |
---|---|---|
sessionHandle | NISESession | The session referencing this NI Switch Executive virtual device session. |
niSE_CloseSession Details
After calling the niSE_CloseSession function, you should not use the NI Switch Executive virtual device again until you call niSE_OpenSession.