Close VI
- Updated2025-10-06
- 2 minute(s) read
Terminates the NI-SLSC Switch session and all of its attributes and deallocates any memory resources the driver uses.
If error in describes an error that occurred before the call to NI-SLSC Switch Close, this VI still attempts to close the session. However, if the attempt fails, this VI returns the error information that was passed in from error in.

Inputs/Outputs
session in
—
session in identifies a particular SLSC Switch session established with SLSC Switch.lvlib:Initialize with Topology and used for this NI-SLSC Switch call.
error in (no error)
—
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality. This node runs normally even if an error occurred previously. If an error occurred before this node runs, the node passes the error in value to error out, and no errors that occur while this node runs are recorded. If an error occurs while this node runs and no error occurred previously, the node sets its own error status in error out. The default is no error.
error out
—
error out contains error information. This output provides standard error out functionality. |
session in
—
error in (no error)
—
error out
—