DAQmx_StartTask


Starts a specified task.

Syntax

C++
Python
 
def DAQmx_StartTask(
	state: DAQmx_StartTaskState,
	/,
	*,
	inDeviceID: str | None = None,
	inTaskID: int = 0
)
-> None

Parameters

Name Type Default Description
Input will be modified ioState DAQmx_StartTaskState
Input value inDeviceID str | None None Device alias, product name or serial number
Input value inTaskID int 0 ID of a task to start

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.