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.