int32 DAQmxIsTaskDone (TaskHandle taskHandle, bool32 *isTaskDone);
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.
Input | ||
Name | Type | Description |
---|---|---|
taskHandle | TaskHandle | The task used in this function. |
Output | ||
Name | Type | Description |
isTaskDone |
|
Indicates whether the measurement or generation completed. |
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. |