IecTaskResetStatistics (FUN)

 

FUNCTION IecTaskResetStatistics : RTS_IEC_RESULT

Reset the task statistics of a task (see Task_Info member e.g. dwCycle­Time, dwAverageCycleTime, etc.)

InOut:

Scope

Name

Type

Comment

Return

IecTaskResetStatistics

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library)

Input

hIecTask

RTS_IEC_HANDLE

Handle of the task