ConnectSwitchChannels(string, string, bool)
- Updated2026-02-05
- 1 minute(s) read
Obsolete: This method is obsolete. Will warn if used
Makes a connection between two switch channels.
Syntax
Namespace: NationalInstruments.DAQmx
public void ConnectSwitchChannels(string switchChannel1, string switchChannel2, [MarshalAs(UnmanagedType.U1)] bool waitForSettling)
Parameters
| Name | Type | Description |
|---|---|---|
| switchChannel1 | string | The first channel to connect. |
| switchChannel2 | string | The second channel to connect. |
| waitForSettling | bool | 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
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |