02-25-2020 10:09 AM
Dear All,
Is there any way to check how quickly a program responses? As we know CLD exam requires under 100ms response with less than 100% CPU time. Is there any way to check that my program responds within this time constraint? Apparently my program didn't respond within the limit (or became unresponsive but I have no way to make sure what I did wrong).
Thanks in advance,
Piotr Golacki
Solved! Go to Solution.
02-26-2020 08:24 AM
OK, what I did was use a local variable to which I wrote the Tick Count timer value every time when a button on GUI was pressed. I used Queued Message Handler template shipped with LV. So GUI was decoupled from the message handling loop. And when the displays were updated the value from the local variable was subtracted from the current Tick Count. And it seems it works like a charm now.