If I wanted to better integrate my software development process into Ignition Project, are there any immediate options available?
I’d might want to:
- be able to integrate Project versioning into our version control (ie. to save the most important bits so that diff operations work them),
- be able to generate script module contents and update them without manual intervention and
- centrally organize/edit certain bits of the project, such as event handler scripts and sql queries.
I’m pretty sure there are no easy methods for the things you mention currently. If you wanted to create a module to facilitate this, I can tell you where to start.
Each project has a number of Project Resources (Section 3.5 of the Ignition Programming Manual).
It looks like Project.getResourcesOfType(“sr.script.library”) should give you the script library for that project. (I’m guessing; creating a script in an empty project drops that ProjectResource in the Ignition internal database.
I think that should deserialize to a ScriptLibrary object.
From there, it looks like you can follow the methods to get and set scripts.
This may be much more than you want to do, but if you do want to do this, hopefully this gives you a decent starting point.