Breaks the connections between channels specified in disconnection list. If no connections exist between channels, NI-SWITCH returns an error.

Syntax

Namespace: NationalInstruments.ModularInstruments.NISwitch

public void DisconnectMultiple(string disconnectionList)

Parameters

NameTypeDescription
disconnectionListstring

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

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

System.ObjectDisposedException

The DisconnectMultiple was accessed after the associated NISwitch object was disposed.