Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

Response time check - CLD exam

Solved!
Go to solution

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

0 Kudos
Message 1 of 2
(2,345 Views)
Solution
Accepted by topic author piterx

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.

0 Kudos
Message 2 of 2
(2,309 Views)