Login  •  Register


History for string variables

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

History for string variables

Postby apittier » 03 May 2019, 16:47

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.com/uasdkc/1.8.3/html/gettingstarted7.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
apittier
Jr. Member
Jr. Member
 
Posts: 2
Joined: 18 Feb 2019, 21:41

Re: History for string variables

Postby Support Team » 15 Aug 2019, 16:25

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
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2422
Joined: 18 Mar 2011, 15:09


Return to ANSI C based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests

cron