I know it's been a while, but I did find this: system.commands['staticanalysis','config'].execute() It opens the UI to select your settings, but I haven't figured out how to load the .CSA yet.
I'm using CODESYS 3.5 SP16 Patch 6. I would like to incorporate static code analysis as part of our CI/CD pipeline. 1. Is there a way to execute the static code check from the command line or python script? 2. If you can't do it from the command line, is there a way to export the results from the application?