Obsolete: This method is obsolete. Will warn if used
Terminates a connection between two channels.

Syntax

Namespace: NationalInstruments.DAQmx

public void DisconnectSwitchChannels(string switchChannel1, string switchChannel2, [MarshalAs(UnmanagedType.U1)] bool waitForSettling)

Parameters

NameTypeDescription
switchChannel1string

The first channel in the connection.

switchChannel2string

The second channel in the connection.

waitForSettlingbool

If true, this method waits for the switches to settle before returning. If false, the method returns immediately after the operation. This settling time is controlled through the SettlingTime property.

Exceptions

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.