Restore original set of datapoints

Discussion about recent product features & solutions!
4 posts • Page 1 of 1
Houns
Posts:12
Joined: Fri Jul 14, 2017 10:10 am

Restore original set of datapoints

Post by Houns »

Hello all,

at the moment we have a new project with WinCC OA v3.16.
It's our first bigger project with WinCC OA, so we triy a lot of different things.

Unfortunately our datapoints are a little bit messed up.

My colleague found a solution for the export/import of the datapoints we want to keep in the project.
(So we can use Git for the versioning)

For the future we want to start always with the original datapoints and import our ones.
At the moment we create always a new project.

Is there a way via script to reinitialize the database with the original types and datapoints?

Kind regards

Houns

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

Re: Restore original set of datapoints

Post by leoknipp »

With the tool WCCOAtoolCreateDb you can create a new database with the WinCC OA standard settings.
The command is WCCOAtoolCreateDb -proj -yes -log +stderrr

Best Regards
Leopold Knipp
Senior Support Specialist

Houns
Posts:12
Joined: Fri Jul 14, 2017 10:10 am

Re: Restore original set of datapoints

Post by Houns »

Hello Mr. Knipp,

thank you very much for the quick answer.
Two notes on your solution.

1.) Project must be stopped of course.

2.) The debug flat is "+stderr" instead of "+stderrr"


Kind regards
Houns

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

Re: Restore original set of datapoints

Post by leoknipp »

Yes, the project must be stopped to be able to create a new database.
i did not mention it in my answer because you have written that at the moment you always create a new project. That means that the current project must be stopped.

At the debug flag I made a typo, +stderr is the correct debug option.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1