nidaqmx.system.persisted_task

class nidaqmx.system.storage.persisted_task.PersistedTask(name, *, grpc_options=None)[source]

Bases: object

Represents a saved DAQmx task.

Use the DAQmx Persisted Task properties to query information about programmatically saved tasks.

__eq__(other)[source]

Return self==value.

__hash__()[source]

Return hash(self).

__init__(name, *, grpc_options=None)[source]
Parameters
  • name (str) – Specifies the name of the saved task.

  • grpc_options (Optional[GrpcSessionOptions]) – Specifies the gRPC session options.

__ne__(other)[source]

Return self!=value.

__repr__()[source]

Return repr(self).

property allow_interactive_deletion

Indicates whether the task can be deleted through MAX.

Type

bool

property allow_interactive_editing

Indicates whether the task can be edited in the DAQ Assistant.

Type

bool

property author

Indicates the author of the task.

Type

str

delete()[source]

Deletes this task from MAX.

This function does not clear the copy of the task stored in memory. Use the DAQmx Clear Task function to clear that copy of the task.

load()[source]

Loads this saved task.

If you use this function to load a task, you must use DAQmx Clear Task to destroy it.

Returns

Indicates the loaded Task object.

Return type

nidaqmx.task.Task

property name

Indicates the name of the task.

Type

str