12-23-2021 11:03 PM
Does anyone know how to toggle a Results Processing entry on or off at runtime for a specific sequence file?
I have a specialized database and I only want to one specific sequence file to log to it.
I attempted to loop through the plugins and toggle on/off the specific database connector with these:
//RunState.Root.Locals.ModelPluginConfiguration.Plugins[Locals.PluginIndex].PluginSpecific.Options.DisableDatabaseLogging = True,
//RunState.Root.Locals.ModelPluginConfiguration.Plugins[Locals.PluginIndex].Base.Enabled=False,
//RunState.Root.Locals.ModelPluginConfiguration.Plugins[Locals.PluginIndex].PluginSpecific.Options.DatabaseSchema.Name = "",
None of them work, it seems they are loaded into memory already when I get to them in PreUUT.
Any idea where I can access them?!
Solved! Go to Solution.
12-24-2021 02:58 PM
Apparently it needs to be done earlier. I walked through the model plugins, and I was able to toggle it off/on in the ModelPluginConfiguration callback and have it apply to the current run.