Develop a solution that samples and stores data
Create an application that samples the value of a variable on the value change and stores that data in an embedded database.
Application example
![](/content/dam/dita/en/factorytalk-optix/current/_images/SampleStoreDataValueChange.png/_jcr_content/renditions/original)
NOTE:
Download a sample project:
SampleStoreDataValueChange.zipPrerequisites
- To develop the project
- InProject view, right-clickModeland select .
- Create a data logger with an embedded database that monitors the value change of the variable. See Add a data logger.
- Arrange the interface elements.
- Save the project.
Application design example
![](/content/dam/dita/en/factorytalk-optix/current/_images/SampleStoreDataValueChangeDesign.png/_jcr_content/renditions/original)
Select
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.
Run
Provide Feedback