Exporting value archive

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
3 posts • Page 1 of 1
Smiffy
Posts: 45
Joined: Thu May 18, 2017 4:21 pm

Exporting value archive

Post by Smiffy »

I wish to read in the data from a value archive (the VAnnn files) and export it into another files in my own format.
I would like to perform this in control scripting.
I have searched the help files, but there seems to be no specific functions to access compressed archive files.
I have seen that there is a va.ctl script library that has functions that seem to offer this service, but I have no idea how they work.
Can anyone give me any pointers please?

User avatar
kilianvp
Posts: 443
Joined: Fri Jan 16, 2015 10:29 am

Re: Exporting value archive

Post by kilianvp »

You can't read "VAnnn files" directly! But you can get the Data via dpGetPeriod. (If you have alot Data use dpGetPeriodSplit for better performance).

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Exporting value archive

Post by leoknipp »

In the WinCC OA Documentation you can find a list of functions to read data for DP elements:
https://www.winccoa.com/documentation/W ... ionen.html

For details please have a look at the detailed explanation for every function.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
3 posts • Page 1 of 1