Removes signal routes you created by using ConnectTerminals(string, string, SignalRoutingModifiers).

Syntax

Namespace: NationalInstruments.DAQmx

public void DisconnectTerminals(string sourceTerminal, string destinationTerminal)

Remarks

This method cannot remove task-based routes, such as those you create through timing and triggering configuration. When this method is called, it immediately unreserves the route. This type of routing is called immediate routing.

Parameters

NameTypeDescription
sourceTerminalstring

The originating terminal of the route.

destinationTerminalstring

The receiving terminal of the route.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.