Disconnect All Channels
- Updated2023-05-15
- 2 minute(s) read
Disconnect All Channels
Breaks all existing paths.
If the switch module cannot break all paths, a warning is returned. If an error in parameter describes an error that occurred before the call to this node, NI-SWITCH still attempts to break all connections and returns the error information that was passed in from error in.
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

session out
Indicator 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 and used for all subsequent NI-SWITCH calls.

error out
Error information.
The node produces this output according to standard error behavior.
Closing Relays
Relays closed with the niSwitch Relay Control node are also disconnected.