Wait For Scan To Complete

Pauses until the switch module stops scanning or maximum time has elapsed and returns a timeout error.

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

maximum time

Maximum length of time to wait for the switch module to stop scanning.

If the specified time elapses before the scan ends, a timeout error is returned.

Default value: 5,000 (milliseconds)

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