NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

DisconnectMultiple Method

  • Updated2023-02-21
  • 2 minute(s) read
DisconnectMultiple Method
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
Specifies 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

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

See Also

Log in to get a better experience