Skip to content
  • There are no suggestions because the search field is empty.

Convert Array Tags to a String

Do you have a solution for converting Array Tags, like a Word Array, to a String?

We most often get this question from our TOP Server users. This can be achieved using Cogent DataHub with a simple script. The script processes the Array tag, converts it into a String format, and then writes the result back to a designated String tag.

There are two primary ways to utilize this approach:

  • Direct Mapping in OPC Server – The converted String value can be written to an existing tag in the server, making it accessible to your client applications.

  • UA Client Driver in TOP Server – If the String tag does not already exist and you are utilizing TOP Server, you can use TOP Server’s UA Client Driver to request the converted String value from DataHub

Download the array-to-string.g file here!