SwitchFindPath(string, string)
- Updated2026-02-05
- 1 minute(s) read
Obsolete: This method is obsolete. Will warn if used
Returns information about the path between two switch channels.
Syntax
Namespace: NationalInstruments.DAQmx
public string SwitchFindPath(string switchChannel1, string switchChannel2)
Parameters
| Name | Type | Description |
|---|---|---|
| switchChannel1 | string | The first channel in the connection. |
| switchChannel2 | string | The second channel in the connection. |
Returns
If the channels are connected, this method returns the path by which they are connected. If the channels are not connected, the method returns a path by which they can be connected, if one is available.
Exceptions
| Type | Description |
|---|---|
| NationalInstruments.DAQmx.DaqException | The NI-DAQmx driver returned an error. |