Task time Omnicore (multitasking)

I need to know what is the cycle time of a static task.


  • lemster68
    lemster68 ✭✭✭
    That is not possible to answer with a specific time as none of us know what the code is that you are running, if there are even waits in this task, especially.  However, if you use the SpyStart instruction, it will log the code executed and the time.  You could set a boolean flag or increment a counter to mark the end of a cycle or the beginning.  Analyze the logged file and you can figure the time for your task.
    Lee Justice
  • Thank you lemster68 for the answer, I know these functions and methods, I will not use wait in this task because I must be faster that I can.
    I have to Virtual Sync a Trigger in a conveyor tracking that follow a mechanical Worm so with this topic I want to know the task cycle time to calculate the maximum error proportionally my mechanical dimension of worm and rotation speed.