XNET Disconnect Terminals

Disconnects terminals on the XNET interface.

1378

Inputs/Outputs

datatype_icon

session in

The session to use for the connection. This session is selected from the LabVIEW project or returned from XNET Create Session.

datatype_icon

source terminal

The connection source.

datatype_icon

destination terminal

The connection destination.

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

A duplicate of session in, provided for simpler wiring.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Description

This node disconnects a specific pair of source/destination terminals previously connected with XNET Connect Terminals.

When the final session for a given interface is cleared (either by the node going idle or by explicit calls to XNET Clear), NI-XNET automatically disconnects all terminal connections for that interface. Therefore, XNET Disconnect Terminals is not required for most applications.

This node typically is used to change terminal connections dynamically while an application is running. To disconnect a terminal, you first must stop the interface using XNET Stop node with the Interface Only scope. Then you can call XNET Disconnect Terminals and XNET Connect Terminals to adjust terminal connections. Finally, you can call XNET Start with the Interface Only scope to restart the interface.

You can disconnect only a terminal that has been previously connected. Attempting to disconnect a nonconnected terminal results in an error.