|
| 1 | +# Operators Guide |
| 2 | + |
| 3 | +Last Revised: June 2024 |
| 4 | +Author: Pamela Schleissner |
| 5 | +**IN CASE OF EMERGENCY PRESS F12** |
| 6 | +--> Enables attenuator 11: att(1e<sup>-16</sup>) |
| 7 | + |
| 8 | +## Novice User |
| 9 | + |
| 10 | +1. Starting and using the DAQ (data acquisition system): |
| 11 | + |
| 12 | + a. **restartdaq** -- Launches daq, **restartdaq -w** launches DAQ |
| 13 | + with the windows in their previous position |
| 14 | + |
| 15 | + b. **startami** -- restarts ami, use if daq is working but ami is |
| 16 | + frozen |
| 17 | + |
| 18 | + - Load the window configuration |
| 19 | + |
| 20 | + c. It is good practice to let the DAQ run freely to get updated |
| 21 | + detector and AMI plots in between scans without recording |
| 22 | + (**daq.disconnect()** and then "begin run" from dropdown menu in |
| 23 | + DAQ window, with unchecked "Record Run"). Pulse picker needs to |
| 24 | + be in **'open'** or **'flip flop'** mode for observations |
| 25 | + |
| 26 | +2. MFX Home page: |
| 27 | + |
| 28 | + a. **mfxhome** -- Launches MFX home |
| 29 | + |
| 30 | + b. Checking for faults you may have to clear if the beam goes down: |
| 31 | + LCLS → LFE Home → General tab → PMPS Diagnostics → clear faults |
| 32 | + |
| 33 | +3. MFX Python: |
| 34 | + |
| 35 | + a. From a seperate terminal **mfx3** starts a python session |
| 36 | + |
| 37 | + b. If python freezes: **exit()** then **mfx3** to restart |
| 38 | + |
| 39 | +4. Open **camViewer** and **eloggrabber** from a terminal |
| 40 | + |
| 41 | +5. X-ray attenuation: **att(1e-16)** max. **att(1)** min attenuation → |
| 42 | + 100% transmission |
| 43 | + |
| 44 | +6. Moving the Rayonix detector: |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | +a. **Use small step sizes!** If you move the detector in one step, you |
| 50 | + will crash the detector into the spectrometer, because it overshoots |
| 51 | + in the end! |
| 52 | + |
| 53 | +b. Pull out the flight tube out (slowly) before moving the detector in |
| 54 | + |
| 55 | +c. Remember to put the flight tube in against the kapton before data |
| 56 | + collection |
| 57 | + |
| 58 | +7. Pedestals: |
| 59 | + |
| 60 | + a. For epix100 and epix10k2M: |
| 61 | + |
| 62 | + i. From a terminal: **takepeds** (will take control of daq, |
| 63 | + need to disconnect DAQ if not done before), confirm X-rays |
| 64 | + are blocked (**stopper S4.5 is inserted**) and it will start |
| 65 | + taking pedestals |
| 66 | + |
| 67 | + ii. Once takepeds is done, run **makepeds** following the prompt |
| 68 | + (eg. **makepeds -u \<userid\> -q milano -r 28** ) |
| 69 | + |
| 70 | + b. For the Rayonix detector: |
| 71 | + |
| 72 | + i. From a terminal:\ |
| 73 | + \>\> **ssh -X hsuser@con-ics-mfx-rayonix**\ |
| 74 | + \>\> **killall procServ**\ |
| 75 | + \>\> **capxure**\ |
| 76 | + \ |
| 77 | + A new window will appear. Change the "single trigger" option |
| 78 | + to "none". Change "exposure" to "dark". Click "collect new |
| 79 | + background". Change "exposure" to "normal". Click "collect |
| 80 | + new background". Change "single trigger" back to frame. Exit |
| 81 | + this window, file → quit\ |
| 82 | + \ |
| 83 | + In the previous terminal: \>\> |
| 84 | + **./startDaqInterface_newcradyl** |
| 85 | + |
| 86 | + c. *After collecting and deploying a pedestal, allocate to the |
| 87 | + DAQ.* In the DAQ window: Shutdown → Allocate → Begin Running |
| 88 | + |
| 89 | +8. Running Scans: |
| 90 | + |
| 91 | + a. autorun(sample = '<SAMPLE TAG>', run_length = 300, |
| 92 | + record=True, runs = 5, inspire=False, daq_delay=5, |
| 93 | + picker='flip') |
| 94 | + |
| 95 | + i. <Sample tag>: user defined |
| 96 | + |
| 97 | + ii. run_length=300: in seconds |
| 98 | + |
| 99 | + iii. record=True: records data in DAQ |
| 100 | + |
| 101 | + iv. runs = 5: number of runs |
| 102 | + |
| 103 | + v. inspire=False: set to True if you need some inspiration to |
| 104 | + keep hope alive |
| 105 | + |
| 106 | + vi. daq_delay=5: delay time between runs. Increase is the DAQ is |
| 107 | + being slow |
| 108 | + |
| 109 | + vii. picker='flip': If 'open' pulse picker opens before the run |
| 110 | + starts. If 'flip' it flip-flops before run starts |
| 111 | + |
| 112 | +## Troubleshooting 😵 |
| 113 | + |
| 114 | +Don't see X-rays? |
| 115 | + |
| 116 | +1. Did you remove the stopper 4.5? |
| 117 | + |
| 118 | +2. Is the pulse picker in "flip-flop"? |
| 119 | + |
| 120 | +3. Are you attenuated? |
| 121 | + |
| 122 | +4. Check "are we ready?" In a terminal type **awr mfx** |
| 123 | + |
| 124 | +Are the plots frozen (AMI)? |
| 125 | + |
| 126 | +1. Try shutting down the daq: In DAQ window **Shutdown** → **Allocate** |
| 127 | + →**Begin Running** |
| 128 | + |
| 129 | +2. Try restarting AMI: in a terminal that is not running python |
| 130 | + **startami** |
| 131 | + |
| 132 | +3. Try restarting the DAQ: in a terminal window that is not running |
| 133 | + python **restartdaq -w** |
| 134 | + |
| 135 | +4. Call beamline technical support |
| 136 | + |
| 137 | +Is the DAQ frozen? |
| 138 | + |
| 139 | +1. Try restarting the DAQ: in a terminal window that is not running |
| 140 | + python **restartdaq -w** |
| 141 | + |
| 142 | +2. Call beamline technical support |
| 143 | + |
| 144 | +Did the pulse picker lose its position? |
| 145 | + |
| 146 | +1. On MFX home, open the pulse picker tab |
| 147 | + |
| 148 | +2. Click "home motor". It will go in "home motor mode" |
| 149 | + |
| 150 | +3. Click "home motor" (again). The motor will begin moving |
| 151 | + |
| 152 | +4. Wait until it's done moving |
| 153 | + |
| 154 | +5. Then hit "Reset Mode" |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | +## Experienced Users |
| 160 | + |
| 161 | +1. Plotting AMI |
| 162 | + |
| 163 | +2. Running CCTBX |
| 164 | + |
| 165 | + a. Edit cctbx.xfel file by changing the experiments name (e.g. |
| 166 | + xcsl######) |
| 167 | + |
| 168 | + b. In a terminal that is running python: **source |
| 169 | + \<path\>/cctbx.xfel** |
| 170 | + |
| 171 | + c. A new window will appear with the cctbx.XFEL login. Click OK. |
| 172 | + |
| 173 | + d. Change the trial number in the options page. Click on "Auto plot |
| 174 | + last five runs" |
| 175 | + |
| 176 | + e. Click "Hide Options" to see plots. Optional "Large text" for big |
| 177 | + screens. |
| 178 | + |
| 179 | +3. Running OM |
| 180 | + |
0 commit comments