Close a session to end communication between the Switch Executive virtual device and the software.

To close a session, use the niSE Close Session VI or the niSE_CloseSession function.