Close
- Updated2023-05-15
- 2 minute(s) read
Close
Terminates the NI-SWITCH session and all of its attributes and deallocates any memory resources the driver uses.
Inputs/Outputs

session in
Control that identifies a particular NI-SWITCH session established with the niSwitch Initialize With Topology node, the niSwitch Initialize With Options node, or the niSwitch Initialize node.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

error out
Error information.
The node produces this output according to standard error behavior.
Re-initializing NI-SWITCH
niSwitch Initialize With Topology niSwitch Initialize With Options niSwitch InitializeClosing with Errors
If error in describes an error that occurred before the call to niSwitch Close, this node still attempts to close the session. However, if the attempt fails, this node returns the error information that was passed in from error in.