changing plot setups programmatically (running from a sequence)
I'm running a modal test from a sequence. Overall it's working nicely, but I'd like to change the scaling of the Bode plots (specifically showing the X-axis frequency range 1Hz to 100Hz), and change the Y-axis scaling of the Gain plot from linear to Ref dB as the test is running (just prior to starting the frequency sweep). Are there commands built into the sequencer (or the setup file) that would do this?
Thanks
Application Engineer for Control and Automation
The most robust solution would be to create a copy of the display you are using, change the plots to your liking and then just switch between the two displays using the "SetMainToolBar" command in the Action block.
Alternatively you could set everything up each time with macros, but I would only suggest them as a last resort, because they are so dependent on the exact positioning of the GUI elements.