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.
Running scripts
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: Running scripts
Hi,
I guess running a WCCOActrl.exe with -Proj and script name should be working fine.
BR
Alex
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
Mark Hargreaves wrote:
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
Can you please describe in detail what "blank" database means in detail?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.
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
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
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
Leopold Knipp wrote:
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.Mark Hargreaves wrote:Can you please describe in detail what "blank" database means in detail?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.
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