2

Data Transformation to different data type at data collector

Would like the ability to use data transformation during the data collection step to transform to a different data type, for example:   a Boolean tag from true/false to a string like (on/off,  open/closed, etc.)  This would reduce our need to create double the amount of tags needed when having to currently create a calculated tag to convert the data type for the end user.

3 replies

null
    • smason
    • 3 wk ago
    • Reported - view

    Hi ,

    Thanks for the suggestion. Currently, the only collector that would support this scenario is our OPC UA Collector. In your particular example, you could use something like this to transform a Bool to a string.

    if(value,'ON','OFF')

    • eric_wamsley
    • 3 wk ago
    • Reported - view

    I changed one of the tags to come thru with the OPC UA collector and it worked, thank you!

      • smason
      • 3 wk ago
      • Reported - view

      You're welcome! Glad that worked for you.

Content aside

print this pagePrint this page
  • 2 Votes
  • 3 wk agoLast active
  • 3Replies
  • 14Views
  • 2 Following