The example above has two loops, one being the main loop and the other being the tick control loop where all your code should be placed. To reset the tick count and access time from your control loop, you can use a shared or local variable. This method has many advantages including:
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.