NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DaqSystem.ConnectSwitchChannels Method (String, Boolean)

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.ConnectSwitchChannels Method (String, Boolean)

Note: This API is now obsolete.

Makes one or more connections between switch channels as specified by the connection list.

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

Syntax

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

Parameters

connectionList
Type: SystemString
A list of connections to make between switch channels. This list uses a special syntax.
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 specify only the two endpoints, or you can specify the explicit path between two endpoints. This method can make connections on multiple devices, but each individual connection must reside on a single device. In the event of an error, connecting stops at the point in the list where the error occurred.

See Also

Log in to get a better experience