Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

One way of the most common ways to refresh your program is by utilizing the Timer component. The timer will control how often the program is refreshed. 

Instructions

1. Bring out a Timer component from the Components panel

Image Modified


2. Set your Timer's Delay to determine how often you want your program to refresh


3. Create a Timer variable in your program that invokes the function on "Tag ChangeCustom Event". Use the image below as a direct reference on how it should be set up. Image Removed

Image Added


4. If you are refreshing a query of some sort then you must add a refreshPoints() function into your program.

Your point variable should be within the function so it knows what data it needs to refresh when the timer goes off.

Image Added