Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

TaskSuspend

  • Last UpdatedJul 18, 2023
  • 1 minute read

Suspends a task. The task will stop running and will start again only when TaskResume() is called.

Syntax

TaskSuspend(hTask)

hTask:

The task handle, returned from the TaskNew() or TaskHnd() function. The task handle identifies the table where all data on the associated task is stored.

Return Value

0 (zero) if successful, otherwise an error code is returned.

TaskHnd, TaskKill, TaskNew, TaskResume

Example

TaskSuspend(hTask);

...

TaskResume(hTask);

See Also

Task Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in