I would like to create a tool (it could be a sequence file) that will programmatically create a new result processing configuration and add a new plugin to it. How can I accomplish this?
I see potentially useful functions in modelsupport2.dll but even with ResultProcessing.c file I can't figure out how to do this.
The tool will be used to install custom plugins without deleting the current configuration.
Solved! Go to Solution.
Hi,
Please have a look at this example :
C:\Users\Public\Documents\National Instruments\TestStand 2019 (32-bit)\Examples\Customizing Result Processing\Model Plugin - Basic Step Time Report
I think this does the same thing that you are planning to do.
Ravi
It is not exactly what I need. It shows how to add a plugin to the current configuration using AddResultProcessingToConfiguration the function but doesn't show how to add a new configuration. I guess I will have to alter the configuration file using PropertyObjectFile object.
Hi,
Please check the comments from James Grey in the end :
You can create a config file which has no plugins ( delete all plugins and save the .cfg file).
At start you can overwrite this empty.cfg file over the existing file.So now results config file has no plugins.
Then add plugin programmatically.
Also refer :
Hope this helps.
Ravi
If it helps someone, attached is the starting point and tips on how to approach it.