Ignition 8.1.21
I have some project with lots of pages and I generate the page-config\config.json file or modify it with an external text editor.
\Ignition\data\projects\MyProjetc\com.inductiveautomation.perspective\page-config\config.json
When I change this file, I need to wait probably this times or restart the gateway services
in order the modified file is used.
wrapper.java.additional.1=-Dignition.projects.scanFrequency=100
https://docs.inductiveautomation.com/display/DOC81/Gateway+Configuration+File+Reference
Sometime, probably if somebody has a designer open, the config.json file may be overwritten
@PGriffith
I would like to force the system to load my file just after I've write it on disk.
Can we do this ? with some SDK function ?
1 Like
Not cleanly, no. We'd like to introduce a demand-poll mechanism, somehow, but we haven't decided on what that will look like yet.
See also: this thread:
I know (at least as of 8.1) you can reconfigure the scan rate at startup time with the ignition.projects.scanFrequency definition in your ignition.conf file, but is there a way to temporarily pause scanning just while doing some external operation that might temporarily put the projects directories in a weird state?
I’m looking for some way to do some git commands without having to stop or restart the server, and only have it scan and use the new files once I have had a chance to validate the g…
2 Likes
any progress about this feature ?
The effort to add a system.project.scan()
(and associated SDK-callable mechanism) is on the short-list for one of our teams, which likely means it will be picked up for development early next year.
1 Like
May's still 'early', right?
8.1.28 will add the system.project.scan
method noted above, in the gateway scope. There's also an SDK-accessible requestScan
method that returns a CompletableFuture
on ProjectManagerBase
if you want to do anything interesting from a custom module.
5 Likes