DAQmx_StopTask
Stops and clears a task.
Syntax
C++
Python
def DAQmx_StopTask( state: DAQmx_StopTaskState, /, *, inDeviceID: str | None = None, inTaskID: int = 0 ) -> None
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
ioState | DAQmx_StopTaskState | ||
![]() |
inDeviceID | str | None | None | Device alias, product name or serial number |
![]() |
inTaskID | int | 0 | ID of a task to stop |
Multithreaded environment
This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.


