Close

Terminates the NI-SWITCH session and all of its attributes and deallocates any memory resources the driver uses.

Inputs/Outputs

datatype_icon

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.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Re-initializing NI-SWITCH

niSwitch Initialize With Topology niSwitch Initialize With Options niSwitch Initialize

Closing 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.