Generic export of archived data

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
tobias_raab
Posts:18
Joined: Mon Feb 29, 2016 3:30 pm

Generic export of archived data

Post by tobias_raab »

Hey WinCCOA Community,

is there a way to get all _archive flags of the system via control scripting?
The plan is to develop a flat exporting function which can be used in different WinCCOA projects.

It shall check the project data point elements with _archive flags and export the values for a given time period into e.g. a .csv file.

The question is how to get the information about the _archive flags / DPEs using _archive flag?

Is there an existing query anyone know of or a possibility using pmon_ commands to ask for existing archive managers and afterwards ask the archive managers themselves?

Appreciate all input!

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Generic export of archived data

Post by leoknipp »

If you want to know which archive managers are running there is no need to ask the Process Monitor, you can read the dp element _ValueArchive_<num>.state to get this information.

Information how to get the element which have are archived you can find in the following thread
viewtopic.php?f=15&t=9202&p=964067&hili ... ve#p957024

Best Regards
Leopold Knipp
Senior Support Specialist

2 posts • Page 1 of 1