GetPath Method
- Updated2023-02-21
- 2 minute(s) read
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Syntax
Visual Basic (Declaration) |
---|
Public Function GetPath ( _ channel1 As String, _ channel2 As String _ ) As String() |
C# |
---|
public string[] GetPath( string channel1, string channel2 ) |
Parameters
- channel1
- Type: System..::.StringIndicates one of the channel name of the desired path.
- channel2
- Type: System..::.StringIndicates the name of the other channel name of the desired path.
Return Value
Type: array< System..::.String >[]()[] Returns a String that identifies the path between the desired two channels.
Exceptions
Exception | Condition |
---|---|
Ivi.Swtch.NoSuchPathException | This exception is used when no explicit path exists between the two channels.. |
ObjectDisposedException | The GetPath method was accessed after the associated NISwitch.NISwitch object was disposed. |