SysTaskGetOSPriority (FUN)
FUNCTION SysTaskGetOSPriority : RTS_IEC_RESULT
<description>Returns the operating 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
SysTaskGetOSPriorityRTS_IEC_RESULTInput
hTaskRTS_IEC_HANDLE<param name=”hTask” type=”IN”>Handle to task</param>
pulOSPriorityPOINTER TO UDINT
<param name=”pulOSPriority” type=”OUT”>Pointer to get operating system priority</param>