Skip to content
Kathryn Baker edited this page Oct 24, 2023 · 56 revisions

In this section of the IBEX user manual, we have compiled a list of frequently asked questions. If your question about IBEX is not answered below, please let us (the Experiment Controls team) know. If your question is likely to be asked by others, we'll add it to the list.

List of Frequently Asked Questions

A: For a non-urgent issue use the Instrument Problem/Bug Report page or email ISISExperimentControls@stfc.ac.uk When reporting a problem, it is helpful to include the version numbers of your IBEX Client and Server in your report. To view the version numbers select Help > About from the menu bar in the IBEX Client.

For urgent issues call 1763 (RAL site landline or ZOOM phone) or 01235394488

To install the IBEX Server - see Installing IBEX Server.

To install IBEX Client - see Installing the IBEX Client.

In a word - No. Running two control programs on any system is a bad idea - which program has control? If you were to run IBEX and SECI on the same system, the two would contend for control of individual devices. It would not be clear which device was controlled by which program. The results would be unpredictable.

IBEX currently uses Python 3.11.2.

Python (extended by genie_python) is the scripting language used by IBEX. If you are new to Python, we suggest you consult the excellent Introduction to Python created by the Mantid team.

There are internal lists showing priorities available covering the work which will feed into IBEX, please ask the experiment controls group or your group leader if you need to see these. These lists give you an idea of the long term work, and the priorities at that level. IBEX is released and deployed to each instrument at least once a year, with patches as required. To see what is being worked on for the next release, you will need to find the most recent PI project on https://github.com/orgs/ISISComputingGroup/projects, note that these are in the format PI_YYYY_MM, with the month being the one the PI starts in. The shortest time scale we consider is a sprint, and you can view this information on github at https://github.com/ISISComputingGroup/IBEX/projects/1. There is also a long list of issues on github that can be viewed at https://github.com/ISISComputingGroup/IBEX/issues. Please note, this is a rather long list and not very friendly to browse through unless you already know what you're looking for (e.g. a device name).

To start IBEX Server - see Starting the IBEX Server.

To stop IBEX Server - see Stopping the IBEX Server.

Yes, it is possible to switch from running IBEX to SECI or to switch from SECI to IBEX, but you have to be careful. See Switching Between IBEX and SECI for details.

Yes, you can. Scripting in IBEX is done using genie_python (essentially Python, extended by a module called genie_python). See Scripting for more details.

If when collecting data no raw frames are counted (see Good / Raw Frames on the dashboard) then:

Timing is ISIS:
Either ISIS is off, or there is a problem with the ToF (ISIS) signal. Check other instruments to find out.
Timing is SMP:
Chopper is not spinning, or there is a problem with the signal

Consider swapping the timing source to help diagnose the problem.

If there are RAW frames but no good frames then the count is being vetoed. Open the DAE perspective and select the Vetoes tab to see what is vetoing the frame.

FIFO veto:
Too many counts in a frame, e.g. noisy detector, jaws opened too wide
SMP veto:
chopper out of phase with ISIS, or no ISIS signal
External veto{0-3}:
could be an additional chopper, the shutter or moderator

Yes! There are lots of setting exposed by the native control. These include graph title, axis font type and size, trace line colour, line type, and line width. To reach these settings for a graph in an OPI do the following:

  1. To show the toolbar on an OPI graph right click and select Show/Hide Graph Toolbar.
  2. Then click the settings button (leftmost icon with a spanner and screwdriver on it)
  3. Click on the tabs to find what you want to change. The graph is the first panel, axes on the second and traces (with a drop down to select for which trace) is on the third.

To open the settings in a log plotter graph, just right click and click "Open Properties Panel".

PVs in IBEX should all follow the naming convention as specified in PV Naming Conventions. You can search for PVs that are available on your instrument by using the Select PV button in the Blocks Tab. Finally, if you can see the value that you want on an OPI you can hover over it to get the PV name or right click and Show PV Info.

This can be accomplished by using IOC PV Values.

This is because they are part of a component and can't be edited from a host configuration. To make changes to the "master" copy, open the relevant component from the menu Configuration -> Components -> Edit Component. See the note at the bottom of the Blocks Tab section for more information.

In the scripting console type g. will show a list of possible genie_python commands. If you select one of these or type to narrow down the possibilities, pressing return will autocomplete the method name including the parameters. However, sometimes you will not want all the parameters, so instead of pressing <return> press <crtl> + <return>, this will give only the function name without any parenthesis or arguments.

If you try to load a script and you get the following error:

>>> `g.load_script('c:\scripts\NiceScript.py')`
  File "<ipython-input-7-c5705547e6ca>", line 1
    g.load_script('c:\scripts\NiceScript.py')
                  ^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 10-11: malformed \N character escape

The problem is you have not escaped the string correctly, in python the slash character, \, is an escape character used to create things like newline characters. In this command, the \N is a newline character and is causing python trouble. You can either:

  1. Place an r before the string (called a raw string) this makes it ignore escapes except for quote marks
    • g.load_script(r'c:\scripts\NiceScript.py')
  2. Escape the slashes
    • g.load_script('c:\\scripts\\NiceScript.py')
  3. Just use the default script path so:
    • g.load_script('NiceScript.py')

genie_python - the library which provides convenience functions such as cset and cget in order to run scripts can be copied into Mantid's python site-packages area in order to use within Mantid's scripting window.

To do this, run Kits$CompGroupICPReleases<latest release>genie_python_3Pythonadd_genie_python_to_mantid.bat on the machine you are using Mantid on. You will then need to import the genie_python module from python.

Clone this wiki locally