NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

DaqSystem.DeleteTask Method

DaqSystem.DeleteTask Method

DaqSystemDeleteTask Method

Deletes the specified task that is stored in Measurement Automation Explorer (MAX).

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

Syntax

public void DeleteTask(
	string persistedName
)
Public Sub DeleteTask ( 
	persistedName As String
)

Parameters

persistedName
Type: SystemString
The name of the task to delete.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

Remarks

This method does not clear the copy of the task stored in memory.

See Also

Was this information helpful?