Develop a solution that periodically samples and stores data

Create an application that periodically samples the value of a variable and stores that data in an embedded database.

Figure 1. Example application
Note: Download a sample project: PeriodicallySamplingStoring.zip

Prerequisites

Create a project.

To develop the project
  1. In Project view, right-click Model and select New > Variable.
  2. Create a periodic data logger with an embedded database that monitors the variable. See Add a data logger.
  3. Create the interface elements.
  4. Arrange the interface elements.
  5. Save the project.
Figure 2. Application design example

Select Run to run the project using the client emulator to test your project. To run the project on a remote client, see Add a client device.