04-04-2022 06:44 AM
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.
04-04-2022 07:08 AM
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
04-05-2022 04:03 AM
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.
04-05-2022 04:50 AM - last edited on 11-05-2024 09:57 AM by Content Cleaner
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
05-24-2024 11:26 AM - edited 05-24-2024 12:16 PM
If it helps someone, attached is the starting point and tips on how to approach it.