Task Class

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

Members See Also

Represents a collection of virtual channels and their per-channel properties and timing, triggering, and other properties that apply to the DAQmx Task.

Namespace: NationalInstruments.DAQmx

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


Visual Basic (Declaration)
Public Class Task _
	Inherits MarshalByRefObject _
	Implements IDisposable, ISynchronizeCallbacks, ISupportSynchronizationContext

public class Task : MarshalByRefObject, IDisposable, ISynchronizeCallbacks, 


Task is the principal class that represents the channels, timing, triggering, exported signals, and other information about an NI-DAQmx task. For most tasks, in addition to the Task object, you must create an instance of a reader or writer class to read samples from or write samples to the DaqStream of the task. To create a reader or writer for a particular Task, pass the Stream property of that Task to the reader or writer constructor.
Note: Some DAQ devices are not currently supported by the NI-DAQmx driver. Refer to NI-DAQ Readme for a complete listing of supported hardware.
Note:Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples.

Inheritance Hierarchy


Thread Safety

All members of this type are safe for multithreaded operations.

See Also


Task Members

NationalInstruments.DAQmx Namespace

Other Resources



Not Helpful