Hi, I may have a feature request ;)
Sometimes after running an optimization I want to compare some values by using the tuning function, but sometimes I forget to disable the optimization. No big deal, just kill the simulation process (outside ADS because that is totally locked up), disable the OPTIM1 and continue what I planed.
Not sure if the tuning may be used with OPTIM enabled for some reason I do not know about.
Sometimes after running an optimization I want to compare some values by using the tuning function, but sometimes I forget to disable the optimization. No big deal, just kill the simulation process (outside ADS because that is totally locked up), disable the OPTIM1 and continue what I planed.
Not sure if the tuning may be used with OPTIM enabled for some reason I do not know about.
How about adding a checkbox in the tune dialog where you can control if you want to run any defined optimization or not!? Default should be to NOT run any optimization. But you can enable it when you really want it.
Alternatively, when you click on Tuning, ADS could check if there is any active Optimization controller on the schematic. If there is one, prompt the user and ask if the tuning should be run with or without optimization.
I think I'd prefer the checkbox and default to NO optimization since that's probably is what you want in most cases. The prompt is easier to implement - you can do it by yourself if you have some AEL coding experience.
Here's how you can do it:
---------------------------
1) Create a new custom menu for your custom Tune function.
The callback function for the menu would do something like this:
defun mytune()
{
// Check if any Opt controllers are placed on the schematic
if yes =>
Ask user if he wants to run with or without Optimization. Deactivate the Opt controller(s) in case NO opt is desired
if no =>
Do nothing
// Invoke the tuning
de_analyze_tune();
}
2) Remove the default Tune button from the toolbar
3) Add a new Tune button and associate it with your new menu/tune function.
-Mats