NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

Task Constructor

Task Constructor

Task Constructor

Initializes a new instance of the Task class with a unique name.

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

Syntax

public Task()
Public Sub New

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

This constructor creates a new task in the current process. To load a task from Measurement Automation Explorer (MAX), use the LoadTask(String) method on the Local instance of DaqSystem.

See Also

Was this information helpful?