Reset With Defaults

Resets the switch module and applies initial user-specified settings from the logical name used to initialize the session. If the session was created without a logical name, this node is equivalent to the niSwitch Reset node.

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

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.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Understanding Errors

If error in describes an error that had occurred before calling niSwitch Reset With Defaults, this node still attempts to reset the switch. However, if the attempt fails, this node returns the error information that was passed in from error in.