NI-DAQmx .NET Framework 4.5 API Reference

DaqSystem.DisconnectAll Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.DisconnectAll Method

Note: This API is now obsolete.

Terminates all active connections on the device, which places the relays into the topology reset state.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

[ObsoleteAttribute("This method is obsolete.")]
public void DisconnectAll(
	string switchDevice,
	bool waitForSettling
)
<ObsoleteAttribute("This method is obsolete.")>
Public Sub DisconnectAll ( 
	switchDevice As String,
	waitForSettling As Boolean
)

Parameters

switchDevice
Type: SystemString
The switch device on which connections are to be terminated.
waitForSettling
Type: SystemBoolean
If , this method waits for the switches to settle before returning. If , the method returns immediately after the operation. This settling time is controlled through the SettlingTime property.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You can use this method to terminate connections made by ConnectSwitchChannels(String, Boolean), OpenSwitchRelays(String, Boolean), or CloseSwitchRelays(String, Boolean). This method does not alter the settling time or channel usage settings. To reset those settings, use Reset.

See Also