Skip to content

Commit 67138f7

Browse files
authored
Merge pull request #7 from ISISComputingGroup/more_obvious_contact_info
Make our contact information more obvious on user manual
2 parents f9ddfdc + c57b447 commit 67138f7

File tree

5 files changed

+157
-160
lines changed

5 files changed

+157
-160
lines changed

doc/FAQ.md

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# FAQ
2+
3+
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.
4+
5+
```{contents} List of Frequently Asked Questions
6+
```
7+
8+
## IBEX Processes and Support
9+
10+
{#report_a_problem}
11+
### How do I report a problem or get help with IBEX?
12+
13+
```{include} contact.mdinc
14+
```
15+
16+
### How do I install IBEX Server?
17+
18+
Please {ref}`contact experiment controls <report_a_problem>` if you need a new installation of the IBEX server.
19+
20+
### How do I install IBEX Client?
21+
22+
To install IBEX Client, see {ref}`installing_ibex_client`.
23+
24+
### How do I view which new IBEX features have been requested or are being worked on?
25+
26+
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.
27+
28+
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.
29+
30+
The shortest timescale we consider is a sprint, which is approximately 4 weeks.
31+
32+
There is also a backlog of issues [on GitHub](https://github.com/ISISComputingGroup/IBEX/issues). It is easiest to search for an issue if you already know what you're looking for (e.g. a device name).
33+
34+
## Running IBEX
35+
36+
### How do I start IBEX Server?
37+
38+
To start IBEX Server, see {ref}`starting_ibex_server`.
39+
40+
### How do I stop IBEX Server?
41+
42+
To stop IBEX Server, see {ref}`stopping_ibex_server`.
43+
44+
### What do I look at if there are no RAW frames when Collecting Data?
45+
46+
If when collecting data no raw frames are counted (`Good / Raw` Frames on the dashboard), then:
47+
48+
**Timing is ISIS**
49+
- ISIS may be off (check [ISIS beam status display](https://www.isis.stfc.ac.uk/Pages/beam-status.aspx))
50+
- There may be a problem with the ISIS timing signal. Check other instruments to find out.
51+
52+
**Timing is SMP**
53+
- The chopper may not be spinning, or there is a problem with the signal
54+
55+
Consider swapping the DAE timing source to help diagnose the problem.
56+
57+
### What do I look at if there are no GOOD frames when Collecting Data?
58+
59+
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.
60+
61+
- **FIFO veto**: Too many counts in a frame, e.g. noisy detector, jaws opened too wide
62+
- **SMP veto**: Chopper is out of phase with ISIS, or no ISIS signal
63+
- **External veto 0-3**: These are additional beamline-specific vetoes, for example an additional chopper, the shutter or the moderator.
64+
65+
### Can I change what my graphs look like in the log plotter or OPI?
66+
67+
**Yes!** There are lots of settings 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:
68+
69+
1. To show the toolbar on an OPI graph right click and select Show/Hide Graph Toolbar.
70+
1. Then click the settings button (leftmost icon with a spanner and screwdriver on it)
71+
1. 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.
72+
73+
To open the settings in a log plotter graph; right click and click "Open Properties Panel".
74+
75+
{#faq_find_pv}
76+
### How do I find a specific PV?
77+
78+
PVs in IBEX should all follow the naming convention as specified in {doc}`/concepts/PV-Naming-Conventions`. You can search for PVs that are available on your instrument by using the `Select PV` button in the {ref}`manage_configs_blocks`. 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`.
79+
80+
### How do I set a value to change when I change configuration/component?
81+
82+
This can be accomplished by using {ref}`manage_configs_pv_values`.
83+
84+
### Why are some blocks and their PV addresses greyed-out in the "Edit Configuration" dialogue box?
85+
86+
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`. The name of the component in which the block is defined is shown in the configuration screen. See the note at the bottom of the {ref}`manage_configs_blocks` section for more information.
87+
88+
## Scripting in IBEX
89+
90+
### Can I write scripts to control my experiment?
91+
92+
Yes, you can. Scripting in IBEX is done using python (with support from a library called `genie_python`). See {doc}`Scripting` for more details.
93+
94+
### Which version of Python does IBEX use?
95+
96+
IBEX uses a recent version of Python 3 and is periodically updated (at the same time as the rest of IBEX is deployed). To find out the exact version of Python used on a specific instrument, type the following commands at a python shell:
97+
98+
```python
99+
import sys
100+
print(sys.version)
101+
```
102+
103+
### Where can I learn about Python?
104+
105+
Python is the scripting language used by IBEX. If you are new to Python, we suggest you consult the excellent {external+mantid:ref}`introduction_to_python` created by the Mantid team.
106+
107+
`genie_python` is a python library implementing ISIS-specific functions. A {doc}`/scripting/Genie-Python-Training` is available for a general introduction, alongside a more detailed {doc}`listing of common commands </scripting/genie_python-Commands>` and the {external+genie_python:doc}`API reference <genie_python>` for more a more detailed description of specific commands.
108+
109+
### In the scripting view, I don't want the arguments when I autocomplete
110+
111+
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 `<ctrl> + <return>`, this will give only the function name without any parentheses or arguments.
112+
113+
### When I load script I get an error complaining about `unicodeescape`
114+
115+
If you try to load a script and you get the following error:
116+
117+
```
118+
>>> g.load_script('c:\scripts\NiceScript.py')
119+
File "<ipython-input-7-c5705547e6ca>", line 1
120+
g.load_script('c:\scripts\NiceScript.py')
121+
^
122+
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 10-11: malformed \N character escape
123+
```
124+
125+
The problem is that the string has not been escaped correctly. In python, the backslash character, `\`, is an {external+python:ref}`escape character <escape-sequences>`, used to create special characters. In this command, the `\N` is the beginning of a {abbr}``unicode escape sequence (The intended usage of this sequence is, for example, \N{LATIN CAPITAL LETTER A})``. You can either:
126+
127+
- Place an `r` before the string (called a {external+python:ref}`raw string <raw-strings>`)
128+
- `g.load_script(r'c:\\scripts\\NiceScript.py')`
129+
- {external+python:ref}`Escape<escape-sequences>` the backslashes
130+
- `g.load_script('c:\\scripts\\NiceScript.py')`
131+
- Use the default script path:
132+
- `g.load_script('NiceScript.py')`
133+
134+
### Can I run scripts from Mantid?
135+
136+
`genie_python` - the library which provides convenience functions such as `cset` and `cget` in order to run scripts can be installed from `pip`, and is [available on pypi](https://pypi.org/project/genie-python/).

doc/FAQ.rst

Lines changed: 0 additions & 159 deletions
This file was deleted.

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@
9292
"mantid": ("https://docs.mantidproject.org/", None),
9393
"genie_python": ("https://isiscomputinggroup.github.io/genie", None),
9494
"matplotlib": ("https://matplotlib.org", None),
95+
"python": ("https://docs.python.org/3/", None),
9596
}

doc/contact.mdinc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ISIS users should notify their **local contact** in the event of any problem.
2+
3+
For **non-urgent** issues:
4+
- IBEX, {abbr}`NDX or NDH computers (The virtual & physical machines which run IBEX)`, and hardware controlled by IBEX: email **ISISExperimentControls@stfc.ac.uk**, use the [**bug reporting form**](https://sparrowhawk.nd.rl.ac.uk/footprints/?product=PC%20Instrument%20Control&format=pcinst), or call **1763** (RAL Phone)
5+
- Computer, network or printer issues: email **diservicedesk@stfc.ac.uk** or call **8822** (RAL Phone)
6+
7+
For **urgent** or **out-of-hours** issues:
8+
- Call **1763** (RAL Phone) or **+441235 394488**
9+
10+
Experiment controls office hours are 08:30 - 17:30 on weekdays. Out-of-hours support is available 07:00 - 23:00 every day during an ISIS cycle.
11+
12+
For all other matters, contact the MCR on **6789** (RAL Phone) or **+441235 446789** and ask for whoever is on duty for the category of problem you have.

doc/index.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Welcome to the IBEX user manual.
44

55
- **Not sure what IBEX is?** Start with [the introduction to IBEX](introduction/What-Is-IBEX).
6-
- **Asking for help or reporting a problem?** The instructions for doing so are in [the FAQ](#report_a_problem).
76
- **Unsure what some IBEX terminology means?** The [Glossary](Glossary) or [Concepts](Key-Concepts-in-IBEX) pages
87
may be helpful.
98
- **Looking for a file or folder in IBEX?** See [the 'Where is ...?' guide](IBEX-File-Paths-page).
@@ -13,6 +12,14 @@ may be helpful.
1312

1413
---
1514

15+
````{admonition} Reporting a problem or asking for help
16+
:class: hint
17+
```{include} contact.mdinc
18+
```
19+
````
20+
21+
---
22+
1623
```{toctree}
1724
:caption: Overview
1825
:maxdepth: 1

0 commit comments

Comments
 (0)