... | ... | @@ -89,24 +89,24 @@ To run in continuous mode, switch the drop down menu from ![image](uploads/82df6 |
|
|
1. Add the vortex as detector so it is saved during the scan:
|
|
|
|
|
|
```python
|
|
|
scanmca() # add vortex PVs to the scan detectors
|
|
|
mcascan() # add vortex PVs to the scan detector list
|
|
|
```
|
|
|
Warning: if the IOC is OFF, you will need to remove the vortex from the scan detector; otherwise the scan will try (unsuccessfully) to connect to the vortex and will just hang on infinitely untill the scan is aborted:
|
|
|
**Warning: if the IOC is OFF, you will need to remove the vortex from the scan detector**; otherwise the scan will try (unsuccessfully) to connect to the vortex and will just hang on infinitely untill the scan is aborted:
|
|
|
|
|
|
```python
|
|
|
scanmca(add_vortex=False) # remove vortex PVs from the scan
|
|
|
mcascan(add_vortex=False) # chooses to ignore the vortex and removes it from detector list
|
|
|
```
|
|
|
|
|
|
2. Use the following commands:
|
|
|
|
|
|
```python
|
|
|
vortex(865) # Sets vortex ROI0 to a specific energy; ROI1 is always centered on O-K edge
|
|
|
mcacounttime(2) # Sets vortex count time to 2s
|
|
|
mcacounttime(2) # Sets vortex and SRS count time to 2s
|
|
|
```
|
|
|
|
|
|
3. Put the sample at th=165; you can play with the energy to check for alignment; eg if measuring Ni:
|
|
|
```python
|
|
|
vortex(865) # center vortex window to Ni-L2,3
|
|
|
energy(855) # tune energy to Ni-L3 edge => lots of count is on the sample
|
|
|
energy(855) # tune energy to Ni-L3 edge => lots of count if on the sample
|
|
|
mono(845) # go below resonance => counts goes away
|
|
|
``` |
|
|
\ No newline at end of file |