Skip to content

The Scripting Console

Dominic Oram edited this page Feb 4, 2019 · 12 revisions

Scripting > The Scripting Console

Using Genie Python in the IBEX Client

Genie python can be used inside the IBEX client by using the scripting console. To start this press the scripting button in the sidebar:

.. image:: genie_python_and_ibex/OpenTheScriptingPerspective.png

This console will let you type genie commands. The toolbar in the top right provides additional functionality.

.. image:: genie_python_and_ibex/TheScriptingPerspectiveToolbar.png

From left to right these buttons do the following:

  1. Stop the whole console. This will stop the current script and remove the console from view, useful if you are running multiple consoles.
  2. Save the text that's in the console to file.
  3. Stop the currently running script. This is useful if you realise that the script is doing something wrong. (This can also be done by pressing Ctrl+C)
  4. Clear the console. This will remove all the text from the window, be careful though as this WON'T stop the current script.
  5. Pin the console. This is not used.
  6. Switch to a different console. This will be greyed out if you only have one console running.
  7. Start a new console or a new view. You can use this to start a new console by selecting PyDev Console -> Python Console -> Ok. Be careful! Having multiple consoles running can lead to different consoles 'fighting' for control of the instrument.
Clone this wiki locally