Variable Substitutions

<< Click to Display Table of Contents >>

Navigation:  Editing a SpecView Project > Glossary of Key Terms used in SpecView >

Variable Substitutions

Previous pageReturn to chapter overviewNext page

 

These strings represent variables when using Button Attributes or Strategy Controller Actions such as Write Line to file/printer and Write Text to another Text String.

They are enclosed in a pair of percent signs.

 

The parameter needs to be on an open GDW, for the values to update correctly.

 

For example, %%SpecView.Date&Time%% will display the live value of the SpecView Date&Time parameter when the Write Line to file/printer Button Attribute or Strategy Controller Action is enabled.

Also, %%Zone1.PV%% will display the live value of the PV parameter from the instrument named Zone 1.

 

LineWriter

 

Two special kinds of Variable Substitutions are "%%SpecViewInstalledPath%%" and "%%SpecViewProjectPath%%".

These strings point towards SpecView's installed path and the project path respectively.

These strings will mostly be used when utilizing SpecView's Write Line to file/printer Button Attribute or Strategy Controller Action.