NI-DAQmx .NET Framework 4.5 API Reference

Table of Contents

DaqSystem.ConnectTerminals Method (String, String, SignalRoutingModifiers)

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.ConnectTerminals Method (String, String, SignalRoutingModifiers)
Creates a route between a source and destination terminal with the specified signal modification.

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

Syntax

public void ConnectTerminals(
	string sourceTerminal,
	string destinationTerminal,
	SignalRoutingModifiers signalModifiers
)
Public Sub ConnectTerminals ( 
	sourceTerminal As String,
	destinationTerminal As String,
	signalModifiers As SignalRoutingModifiers
)

Parameters

sourceTerminal
Type: SystemString
The originating terminal of the route.
destinationTerminal
Type: SystemString
The receiving terminal of the route.
signalModifiers
Type: NationalInstruments.DAQmxSignalRoutingModifiers
Specifies if the signal routed from the source terminal to the destination terminal is inverted. If the device is not capable of signal inversion or if a previous route reserved the inversion circuitry in an incompatible configuration, attempting to invert the signal causes an error.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

The route can carry a variety of digital signals such as triggers, clocks, and hardware events. These source and destination terminals can be on different devices, as long as a connecting public bus, such as RTSI or the PXI backplane, is available. This method does not modify a task. When the method is called, the route is immediately reserved and committed to hardware. This type of routing is called immediate routing.

See Also

Log in to get a better experience