-
Notifications
You must be signed in to change notification settings - Fork 1
The Scripting Console
Dominic Oram edited this page Feb 4, 2019
·
12 revisions
Scripting > The Scripting Console
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:
- Stop the whole console. This will stop the current script and remove the console from view, useful if you are running multiple consoles.
- Save the text that's in the console to file.
- 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)
- Clear the console. This will remove all the text from the window, be careful though as this WON'T stop the current script.
- Pin the console. This is not used.
- Switch to a different console. This will be greyed out if you only have one console running.
- 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.