Versions Compared

Key

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


Info

Download the Solution Example: TagEnumerationPython.dbsln


  • Solution Name: TagEnumerationPython
  • Software Version: 10.0.6
  • Keywords: Tags EnumerationPython, Scripts

Summary

This solution demonstrates how to use the Enumerations feature.the Integration of Python and .NET scripts

Technical Information

Python can be used on the system directly calling shell commands, or using the .NET Python integrations tools.

The Example shows the various ways you can use the Python language in your solutions. 

Reference

See Python Integration

These dictionaries enable a device to display example values such as 0 or 1 as strings like ‘On’ and ‘Off’. It is also possible to represent these values in different tags, symbols, and graphics.

Using this infrastructure, you can configure enumerations in Unified Namespaces →  Enumerations. You can also organize your solution-defined categories into tags, symbols, and other elements.

Reference

See Unified Namespaces Enumerations for more information.