DAQmxIsTaskDone
int32 DAQmxIsTaskDone (TaskHandle taskHandle, bool32 *isTaskDone);
Purpose
Queries the status of the task and indicates if it completed execution. Use this function to ensure that the specified operation is complete before you stop the task.
Parameters
Input | ||
Name | Type | Description |
---|---|---|
taskHandle | TaskHandle | The task used in this function. |
Output | ||
Name | Type | Description |
isTaskDone |
|
Indicates whether the measurement or generation completed. |
Return Value
Name | Type | Description |
---|---|---|
status | int32 | The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error. |