Control by Tag Value

Choosing to control a property based on Tag Value will result in the property’s value changing as the selected tag’s value changes.  While this allows you to create dynamic displays, this method of control is not suitable for all properties.

Color, for example, needs to be an integer value between 0 and 255.  A tag whose value ranges as an analog floating point might not map well to color selections.

If the option “Use Tag Scaling” is selected, the tag’s value will be normalized between 0 and 1 across its output range.  If the minimum and maximum values are set instead, the value will be normalized such that, when the tag’s value approaches the Minimum Value, 0 will be output.  When the tag’s value approaches the Maximum Value, 1 will be output.  If the tag’s value is halfway between the minimum and maximum, the output will be 0.5 and if the tag’s value is twice the maximum, the output will be 2.  You could create a control output that ranges in value between 0 and 10 by setting the Minimum Value to the tag’s minimum and the Maximum Value to 10% of the tag’s maximum.

 

When you choose to control a property by tag value, the VGE will look similar to the following:

The tag selector button (shown circled) opens the tag browser, from which you can select any tag within the application.