SchedGetTaskHandleByIndex
(FUN)
FUNCTION SchedGetTaskHandleByIndex : RTS_IEC_HANDLE
- <description>
Function returns the task handle of a task specified by an index.
</description> <param name=”pApp” type=”IN”>If an application is specified, only the task of this application is returned.
If NULL, the task with the index in all tasks i returned.
</param> <param name=”pResult” type=”OUT”>ERR_OK or Error code</param> <result>Handle to the task</result>
- InOut:
Scope
Name
Type
Return
SchedGetTaskHandleByIndex
RTS_IEC_HANDLE
Input
pApp
POINTER TO APPLICATION
nIndex
DINT
pResult
POINTER TO RTS_IEC_RESULT