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
SysTaskGetPriorityRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” TYPE=”IN”>Handle to the task</param>
pulPriorityPOINTER TO UDINT
<param name=”pulPriority” type=”OUT”>Pointer to get priority</param>