NI-DAQmx .NET Framework 4.5 API Reference

DaqSystem.DeleteTask Method

  • Updated2023-02-21
  • 1 minute(s) read
DaqSystem.DeleteTask 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.45.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

Log in to get a better experience