changing plot setups programmatically (running from a sequence)

  • Developers
  • changing plot setups programmatically (running from a sequence)
Rick Emerling

Posted on 15.02.2017 14:43

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

Aljaž Kropivšek
Application Engineer for Control and Automation
Posted on 17.02.2017 08:43

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.

Login to reply to this topic. If you don't have account yet, you can signup for free account .