Trending Strings

Can strings be stored in a trend file?

Most indications are no.

I have generally stripped the non-numeric characters from the string and stored a serial number for a run.

However, I have been told that the Historian can do this.

Anyone done something like this?

Could it be reduced to ascii and retrieved that way?

Parents
  • Hi  ,

    Unfortunately it is not possible to store a Variable Tag with data type String within the Trend System. This is due to 8-byte storage being used.

    In theory you could convert the string to bytes using cicode (1 byte per char), then store that value in the Trend system. But you'll need to convert it back to make it human readable or useful.

    It is possible to use the AVEVA Historian Connector (version 3.1 is latest) to historize a String Variable tag in AVEVA Historian. It would then be a matter of retrieving this String data either via SQL cicode functions or perhaps embed the Historian Client in Web Content.

    Hope this information helps.

    Kind regards

    Olivier

Reply
  • Hi  ,

    Unfortunately it is not possible to store a Variable Tag with data type String within the Trend System. This is due to 8-byte storage being used.

    In theory you could convert the string to bytes using cicode (1 byte per char), then store that value in the Trend system. But you'll need to convert it back to make it human readable or useful.

    It is possible to use the AVEVA Historian Connector (version 3.1 is latest) to historize a String Variable tag in AVEVA Historian. It would then be a matter of retrieving this String data either via SQL cicode functions or perhaps embed the Historian Client in Web Content.

    Hope this information helps.

    Kind regards

    Olivier

Children
No Data