Overview
Type:
|
Function
|
Available as of:
|
SystemInterface_1.35.2.0
|
Versions:
|
Current version
|
NOTE: This function is available as of version
V.1.35.2.0.
In previous versions, the function returns the value "-80".
Task
Determining whether a task is stopped.
Description
The function FC_TaskStop() only starts the job that stops the task. The system performs the actual stop asynchronously. Use the function FC_TaskStopGet() to determine whether a task (i_sTaskName) is stopped.
Interface
Input
|
Data type
|
Description
|
i_sTaskName
|
STRING[80]
|
Name of the task
|
Return Value
Data type
|
Description
|
DINT
|
-1: invalid task name
0: task not stopped
1: task stopped
|