DisconnectMultiple Method
- Updated2023-02-21
- 2 minute(s) read
Breaks the connections between channels specified in disconnection list. If no connections exist between channels, NI-SWITCH returns an error.
Namespace:
NationalInstruments.ModularInstruments.NISwitch
Assembly:
NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)Visual Basic (Declaration) |
---|
Public Sub DisconnectMultiple ( _ disconnectionList As String _ ) |
C# |
---|
public void DisconnectMultiple( string disconnectionList ) |
Parameters
- disconnectionList
- Type: System..::.StringSpecifies a list of connections between channels to break. NI-SWITCH validates the disconnection list, and aborts execution of the list if errors are returned.
Exceptions
Exception | Condition |
---|---|
Ivi.Driver.SelectorNameException | A repeated capability selector is expected, but the driver does not recognise the provided name. |
Ivi.Swtch.NoSuchPathException | No path exists between two channels. |
ObjectDisposedException | The DisconnectMultiple was accessed after the associated NISwitch object was disposed. |