NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

GetPath Method

GetPath Method
Returns a String that identifies the explicit path created with Connect.

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
Indicates one of the channel name of the desired path.
channel2
Indicates 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

ExceptionCondition
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.

See Also

Was this information helpful?