Expressions as Tag Parameters

Support exists in VTS to allow arbitrary expressions to be used as tag inputs for some tag types and drawing methods. The PTypeToggle widget, allows the user to choose between a tag, a constant value for a tag parameter, or a block of steady state VTS code. All tags and drawing methods in the VTS layer that use a PTypeToggle have been modified to support expressions. Supported tags include:

      Function tags

      Alarm tags

      Logger tags

Supported tag drawing methods include:

      Two Color Bar

      Multi-color

      Multi-text

      Plot Data

Topics in this section:

Design

Implementation

ExpressionManager Usage for VTS Programmers

Adding Expression Support to an Application

Changes to PTypeToggle

The ExpressionEdit Widget

Issues and Risks