Temporary Variables
In cases where an application is being modified online, it may be useful to create short-lived variables that will disappear when VTScada is shutdown and restarted. These are known as temporary variables. Temporary variables are kept in RAM while VTScada is running, so they will continue to exist even though the application that uses them is stopped and restarted. They are not written to the .RUN files of the application, though, so after VTScada is stopped or the application is recompiled, they will cease to exist. For the application to use them again, it must once more create them using an AddVariable statement.
Temporary variables should not be referenced like other variables, but should be accessed using one of the following functions to reduce potential problems in their use:
- FindVariable
- ListVars
- Scope
- VarAttributes
- Variable