... | @@ -35,7 +35,7 @@ type password: _IEX*data!_ |
... | @@ -35,7 +35,7 @@ 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...
|
|
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>
|
|
<br>
|
|
![image](uploads/4cfe370118e57e4cb21f267f5fcdd988/image.png)
|
|
![image](uploads/da04a8e88a9eedf34c22f5bcf244d695/image.png)
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
|
|
|
... | @@ -64,31 +64,47 @@ Vortex screen goes all white when the IOC is OFF. |
... | @@ -64,31 +64,47 @@ Vortex screen goes all white when the IOC is OFF. |
|
|
|
|
|
## Setting up the vortex parameters:
|
|
## Setting up the vortex parameters:
|
|
Once the IOC is ON, set the parameters as follow:
|
|
Once the IOC is ON, set the parameters as follow:
|
|
<br>
|
|
1. set the Preamp gain to 2.7 and then back to 2.5.
|
|
![image](uploads/92dda36827cbc5fb8667302d8c8f95f7/image.png)
|
|
|
|
|
|
|
|
2. set the Preamp gain to 2.7 and then back to 2.5.
|
|
|
|
2. press ![image](uploads/63aee19d1a96b28be8659638e7e8a838/image.png)
|
|
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)
|
|
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
|
|
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 (Energy)or with python (see below).
|
|
<br>
|
|
<br>
|
|
|
|
![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:
|
|
You can visualize the vortex spectrum in the Vortex ROIs tab on the bottom right of the RSXS screen:
|
|
<br>
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
![image](uploads/5aeca4312e07be4df9a14cc3f01ce5eb/image.png)
|
|
![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 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:
|
|
|
|
|
|
1. In jupyter:
|
|
```python
|
|
|
|
scanmca() # add vortex PVs to the scan detectors
|
|
|
|
```
|
|
|
|
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
|
|
```python
|
|
scanmca() # add vortex as a detector in the scan
|
|
scanmca(add_vortex=False) # remove vortex PVs from the scan
|
|
```
|
|
```
|
|
|
|
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
|
=> scanmca(scan=False) to remove vortex PVs from the scan
|
|
3. Put the sample at th=165; you can play with the energy to check for alignment; eg if measuring Ni:
|
|
|
|
- vortex(865) # center vortex window to Ni-L2,3
|
|
\ No newline at end of file |
|
- energy(855) # tune energy to Ni-L3 edge => lots of count is on the sample
|
|
|
|
- mono(845) # go below resonance => counts goes away |
|
|
|
\ No newline at end of file |