Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to use Enumerations to display numerical values as strings.

How-to ExamplesFeatureUNS → Tag Value Enumeration



Info

Download the solution

TagEnumerationBuilt with v10.

This solution demonstrates how to use the Enumerations feature.


Table of Contents
maxLevel2
minLevel2
excludeOverview
stylenone
classon-this-page
printablefalse





Summary

This solution demonstrates how to use the Enumerations feature.


Technical Information

These dictionaries allow displays to display numerical values (e.g., 0, 1) as strings (e.g., 'On', 'Off'). 

You can configure enumerations in Unified Namespaces → Enumerations and apply them to Tags (using the Enumeration field for tags).

When showing the value of tags in the displays, Tag.Value shows the numeric value, Tag.ValueAsString shows the enumeration string connected with that value.

Reference Information

→ See Unified Namespaces Enumerations for more information.


In this section

:

...

Page Tree
rootV10:@parent
spacesV1093DRAF