Interface ITcTask
Query of the timestamp and task-specific information of a TwinCAT task.
Syntax
TCOM_DECL_INTERFACE("02000002-0000-0000-e000-000000000064", ITcTask)
struct __declspec(novtable) ITcTask : public ITcUnknown
Required include: TcRtInterfaces.h
Methods
Name | Description |
---|---|
Query number of task cycles since task start. | |
Query of task cycle time in nanoseconds, i.e. time between "begin of task" and next "begin of task". | |
Querying the task priority. | |
Querying the time when the task cycle starts at intervals of 100 nanoseconds since January 1, 1601 (UTC). | |
Querying the distributed clock time when the task cycle starts in nanoseconds since January 1, 2000. | |
Querying the time when the method is called at intervals of 100 nanoseconds since January 1, 1601 (UTC). |
Comments
With the ITcTask interface the time can be measured in real-time context.