Immediate and Task-Based Routing

The NI-DAQmx .NET library supports both immediate and task-based routing functionality.

Methods and properties related to immediate routing are located on the DaqSystem class. This class cannot be instantiated directly. Retrieve an instance of the DaqSystem class by querying the static Local property, as shown in the following example:

VB.NET

DaqSystem.Local.ConnectTerminals("dev1/RTSI2","dev2/RTSI3")

C#

DaqSystem.Local.ConnectTerminals("dev1/RTSI2","dev2/RTSI3");

Task-based routing is performed by using sub-objects of an instance of the Task class. When you create a hardware trigger or export a hardware signal, you create a task-based route.