|
|
|
|
|
## Warning:
|
|
|
- the vortex is sensitive to visible light so the lamp should be off and windows closed
|
|
|
- if you cycle power or turn on the light, you will need to restart the IOC (software).
|
|
|
- after turning on the vortex, wait 5 min for it to cool down
|
|
|
- always remove the vortex from the detectors when IOC is off (see below)
|
|
|
|
|
|
To control the vortex, you only need the little Vortex tab located in the upper section of the RSXS screen (middle panel): <br>
|
|
|
<br>
|
|
|
![image](uploads/b8cde90802840b8627e5dc0797fb65b0/image.png)
|
|
|
|
|
|
|
|
|
## To power on/off the vortex:
|
|
|
|
|
|
On the screen press ![image](uploads/c452321c3f922b3043653038b09cba06/image.png) or ![image](uploads/21a7b5fefd526aa1c3325e5ffd0f5e58/image.png) <br>
|
|
|
|
|
|
Or in jupyter:
|
|
|
```python
|
|
|
mcaon()
|
|
|
mcaoff()
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## To turn ON/OFF the IOC (software):
|
|
|
|
|
|
**Note: Always turn power ON the vortex before starting the IOC.**<br>
|
|
|
The IOC can only be run from **Sneezy** (which is physically connected to the vortex via USB).<br>
|
|
|
To log into Sneezy, open a terminal:
|
|
|
|
|
|
type: _sneezy_<br>
|
|
|
type password: _IEX*data!_
|
|
|
|
|
|
It is a good habit to move this terminal to workspace 4 and rename it VORTEX so it can be easily located in the Terminal menu: Terminal / Set title...
|
|
|
|
|
|
<br>
|
|
|
![image](uploads/da04a8e88a9eedf34c22f5bcf244d695/image.png)
|
|
|
<br>
|
|
|
<br>
|
|
|
|
|
|
- To turn IOC ON:
|
|
|
|
|
|
```
|
|
|
[sneezy] vortex_start
|
|
|
```
|
|
|
|
|
|
Once you type the command to run, there should be no errors. Common ones are b/c the vortex is off or the USB cable was unplugged.
|
|
|
|
|
|
- To turn IOC OFF:
|
|
|
|
|
|
Type CTRL+C in the terminal where the VORTEX terminal; or, open a new terminal, log into Sneezy and use:
|
|
|
|
|
|
```
|
|
|
[sneezy] vortex_stop
|
|
|
```
|
|
|
Vortex screen goes all white when the IOC is OFF.
|
|
|
|
|
|
- To check IOC status:
|
|
|
|
|
|
```
|
|
|
[sneezy] vortex_status
|
|
|
```
|
|
|
|
|
|
## Setting up the vortex parameters:
|
|
|
Once the IOC is ON, set the parameters as follow:
|
|
|
1. set the Preamp gain to 2.7 and then back to 2.5.
|
|
|
2. press ![image](uploads/63aee19d1a96b28be8659638e7e8a838/image.png)
|
|
|
3. if there is no count or a very large DeadTime, change the Threshold to 1 and then back to 0.95; you may need to toggle the Preamp gain to 2.7 then back to 2.5 a few times, until you see counts when pressing ![image](uploads/4a2c9b1262a647258b61d4275d150336/image.png)
|
|
|
4. within the first few hour, the count sometimes drops to zero again: repeat step 2 and 3; once it stabilizes it seems to only rarely have issues afterward.
|
|
|
5. the region of interest (ROI) can be set from the screen or with python (see below).
|
|
|
|
|
|
![image](uploads/92dda36827cbc5fb8667302d8c8f95f7/image.png)
|
|
|
<br>
|
|
|
|
|
|
You can visualize the vortex spectrum in the Vortex ROIs tab on the bottom right of the RSXS screen:
|
|
|
<br>
|
|
|
<br>
|
|
|
|
|
|
![image](uploads/5aeca4312e07be4df9a14cc3f01ce5eb/image.png)
|
|
|
|
|
|
|
|
|
To run in continuous mode, switch the drop down menu from ![image](uploads/82df6a63db833cf440b4a5d256800138/image.png) to a time that matches the vortex acquisition time (typically 1 or 2s).
|
|
|
|
|
|
|
|
|
## To take data:
|
|
|
|
|
|
|
|
|
1. Add the vortex as detector so it is saved during the scan:
|
|
|
|
|
|
```python
|
|
|
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 indefinitely until the scan is aborted:
|
|
|
|
|
|
```python
|
|
|
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 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 if on the sample
|
|
|
mono(845) # go below resonance => counts goes away
|
|
|
``` |
|
|
\ No newline at end of file |