KB-30634: Saving values of Internal Tags when closing the application

Question:

How can I save values of Internal Tags when closing the application, in order to load them when reopening it?

Solution:

To do so via scripts, just use Save method from the Data Server where the Internal Tags are.

Example: Application.GetObject(“Dados”).Save()
NOTE: This script cannot be executed in Viewer’s OnStopRunning event. The best solution would be to do it as soon as the tags’ values is altered.

Este artigo foi útil? Was this helpful?

Classificação média - Average rating 0 / 5. Count: 0

Leave a Reply

Your email address will not be published.Required fields are marked *