LoadTask Method

NI-DAQmx 17.1 .NET Class Library Help

Edition Date: June 2017

Part Number: 370473J-01

»View Product Info
Download Help (Windows Only)

DaqSystem Class See Also


Loads a task that is stored in Measurement Automation Explorer (MAX).

Namespace: NationalInstruments.DAQmx

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

Syntax

Visual Basic (Declaration)
Public Function LoadTask ( _
	persistedName As String _
) As Task

C#
public Task LoadTask(
	string persistedName
)

Parameters

persistedName
Type: System.String
The name of the task to load.

Return Value

A Task that represents the task that is stored in MAX.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

You can use the Tasks property to get a list of tasks on the system.

See Also

Reference

DaqSystem Class

NationalInstruments.DAQmx Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful