Running scripts

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Running scripts

Post by mhargreaves »

Is it possible to run a script from a command line?

I would like to be able to create scripts to add/remove/update datapoints/datapoint types, to allow us to build a database from an input file.

At the moment as far as I can see, you can only add datapoints with the import ascii function - we would also like to be able to delete points so we can start from a 'blank' database and then import.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: Running scripts

Post by adaneau »

Hi,

I guess running a WCCOActrl.exe with -Proj and script name should be working fine.

BR
Alex

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

Re: Running scripts

Post by leoknipp »

Mark Hargreaves wrote:
At the moment as far as I can see, you can only add datapoints with the import ascii function - we would also like to be able to delete points so we can start from a 'blank' database and then import.
Can you please describe in detail what "blank" database means in detail?

Please note that you cannot delete all datapoints and datapoint types. If internal datapoint types and datapoints are missing the project or single managers will not start.

Best Regards
Leopold Knipp
Senior Support Specialist

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Running scripts

Post by fmulder »

We also have a 'blank' database. It means that we delete some on the non-internal datapoints.
But why not just keep this \\db folder and copy the entire \\db.

1) You can't use Ascii manager to delete stuff !
2) Copying the \\db folder will be much faster

good luck

share the fun
Frenk Mulder

mhargreaves
Posts:84
Joined: Thu Nov 11, 2010 12:31 pm

Re: Running scripts

Post by mhargreaves »

Leopold Knipp wrote:
Mark Hargreaves wrote:
At the moment as far as I can see, you can only add datapoints with the import ascii function - we would also like to be able to delete points so we can start from a 'blank' database and then import.
Can you please describe in detail what "blank" database means in detail?

Please note that you cannot delete all datapoints and datapoint types. If internal datapoint types and datapoints are missing the project or single managers will not start.

Best Regards
Leopold Knipp
Senior Support Specialist
What I actually really meant was a 'baseline' database, containing our standard datapoint types and datapoints, that we can use as a starting point before adding any project specific items to for each project we engineer.

5 posts • Page 1 of 1