History for string variables

Questions regarding the use of the ANSI C SDK for Server or Client development or integration into customer products ...

Moderator: uasdkc

Post Reply
apittier
Jr. Member
Jr. Member
Posts: 2
Joined: 18 Feb 2019, 21:41

History for string variables

Post by apittier »

Hello Support Team,

I'm trying to set up historian support for a String variable using the SDK FileLogger (as explained in Lesson 7: http://documentation.unified-automation ... rted7.html )

However, in the generated txt file I'm getting: "0x000c Unsupported DataType"

So wanted to confirm if this is the expected behavior. I mean, no string values can be historized with the FileLogger? Is there a suggested workaround?

Thanks for your help.

Best regards,
Amparo

User avatar
Support Team
Hero Member
Hero Member
Posts: 3057
Joined: 18 Mar 2011, 15:09

Re: History for string variables

Post by Support Team »

Hello,

the FileLogger-Example is a very simple example to just demonstrate the principals of historizing data. Of course you can historize string values, you just need to program it yourself. The example gives the "gudiance" to a solution, but of course is not ready to use solution.
Best regards
Unified Automation Support Team

Post Reply