SysTaskGetPriority
(FUN)
FUNCTION SysTaskGetPriority : RTS_IEC_RESULT
<description>Get the runtime system priority of the given task.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTaskGetPriority
RTS_IEC_RESULT
Input
hTask
RTS_IEC_HANDLE
<param name=”hTask” TYPE=”IN”>Handle to the task</param>
pulPriority
POINTER TO UDINT
<param name=”pulPriority” type=”OUT”>Pointer to get priority</param>