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

NameTypeDescription
switchChannel1string

The first channel in the connection.

switchChannel2string

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

TypeDescription
NationalInstruments.DAQmx.DaqException

The NI-DAQmx driver returned an error.