SwitchPath Members
- Updated2023-02-21
- 4 minute(s) read
The SwitchPath type exposes the following members.
Name | Description | |
---|---|---|
![]() | CanConnect | Verifies that you can create a path between channel1 and channel2. |
![]() | Connect | Creates a path between channel1 and channel2. |
![]() | ConnectMultiple | Creates connections between the channels that you specify in connectionList. Specify connections with two endpoints only or the explicit path between two endpoints. |
![]() | Disconnect | Destroys the path between two channels that you create using the Connect or SetPath methods. |
![]() | DisconnectAll | Breaks all existing paths. |
![]() | DisconnectMultiple | Breaks the connections between channels specified in disconnection list. If no connections exist between channels, NI-SWITCH returns an error. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPath | Returns a String that identifies the explicit path created with Connect. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetPath | Connects two channels by specifying an explicit path in the pathList parameter, which is an array of String with the source channel as the first element and the destination channel as the next element. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WaitForDebounce | Pauses until all created paths have settled. |
Properties
Name | Description | |
---|---|---|
![]() | IsDebounced | Gets a value which indicates whether the entire NI-SWITCH device has settled since the last switching command. |