Has anybody figured out a way to set the TADM mode (i.e. Monitoring/Recording) during runtime.
I tracked down the Hamilton.HxStarConfig.dll, which looking at it with IlSpy seems to be able to do it, but without documentation it is hard to figure out.
@benjaminwohl - Unfortunately this cannot currently be done. The value for TADM monitoring mode is read and applied globally at the onset of the run. Even if you manipulated a way to change it at runtime, the change wouldn’t be regarded until the next run.
Being able to toggle this at runtime is planned for a future release, but I do not have details on timeline at the moment. I can update later on when there is more info.
-Nick
Thank you Nick, at least then I don’t have to waste time on trying it out
No problem. I am eager for this feature as well!
-Nick
Hi @NickHealy_Hamilton.
I understood that during runtime changing the TADM mode is currently not possible. But is it possible to change the TADM mode off runtime programmatically?
Regards
Max
Hi @max ,
As Nick mentioned earlier, the TADM value for Recording, Monitoring, and Off is read at the beginning of the run during the analysis/connection phase. So even if you programmatically adjusted its value, no changes will be made until the next run.
This being said, you can use the Liquid Class Library to programmatically enable or disable TADM on the liquid class level right before use.
Hi @BrandonBare_Hamilton,
thank you for your feedback.
That accounts for changes of the TADM mode while a HSL method is running in the HxRun, right?
My question was if it is possible to set the TADM mode by means of a software approach before a HSL method is started and without the HxRun running.
Regards
Max