Create App with Timer Object Configured Programmatically

This app shows how to create a timer object in App Designer that executes a function at regular time intervals. In this case, the app queries the available system memory every second and plots the percentage of memory that the system is using.

This example also demonstrates the following app building tasks:

  • Writing a callback for an object created programmatically (in this case, the timer object)

  • Configuring a timer object to execute its callback at regular intervals

  • Starting the timer when the user clicks the Start button

  • Stopping the timer when the user clicks the Stop button

  • Deleting the timer when the app closes

See Also

| |