BlackBamba
Member
Hi all,
I converted a project from MW+ Express to MW+ Pro, for the benefit of more percise control over the performance of different parts in the code.
I created 2 cyclic tasks, a fast and a slow one.
My issue is, it seems that when (cold) STARTING the program, the tasks take much longer to complete than they require afterwards. This forces me to define long intervals for the tasks, which kind of defeats the performance gain I'm after.
The fast task takes about 1.5ms, but starts as long as 3ms.
The slow task takes 7ms to complete, but starts at nearly 20ms.
Anyone knows of common causes for longer scan times on start?
I converted a project from MW+ Express to MW+ Pro, for the benefit of more percise control over the performance of different parts in the code.
I created 2 cyclic tasks, a fast and a slow one.
My issue is, it seems that when (cold) STARTING the program, the tasks take much longer to complete than they require afterwards. This forces me to define long intervals for the tasks, which kind of defeats the performance gain I'm after.
The fast task takes about 1.5ms, but starts as long as 3ms.
The slow task takes 7ms to complete, but starts at nearly 20ms.
Anyone knows of common causes for longer scan times on start?