04-15-2015 01:42 PM
Is there a simple way of getting the active result processing configuration during runtime? I'd like to know in my plugin what configuration is active that it's a part of. I'd rather not have to read the ResultProcessing.cfg file directly to get this info (but that is an option).
Solved! Go to Solution.
04-16-2015 02:18 PM
Execution.Report should be what you're looking for:
04-16-2015 02:31 PM
Are you Rick-Rolling me with the link?... haha. It takes me back to this page!
Can you provide more documentation as to how this provides the active result processing configuration? I don't see that in Execution.Report anywhere.
04-16-2015 03:48 PM
That value is not retained in memory after the configuration is loaded, so I think you will need to get it from the file.
04-16-2015 04:22 PM
OK. Thanks, James! I appreciate you replying. Now I know for sure.
04-25-2016 10:58 AM
A simple way to access to ResultProcessing.cfg file and read the active plugin configuration using Engine.ReadPropertyObjectFile() API method.
If you are making changes to the file, you will need to call the IncChangeCount() andSaveFileIfModified() API calls at the end of the VI to save the changes.