51 lines
1.5 KiB
Python
51 lines
1.5 KiB
Python
#%run -i ./script.py
|
|
|
|
import time
|
|
|
|
# RIXS scans moving the 2 um delay
|
|
|
|
#gate_delay.set_target_value(100).wait()
|
|
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
|
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
|
|
|
|
|
|
|
## 5 min each
|
|
twomicron_delay.set_target_value(25.8).wait()
|
|
daq.acquire("RIXS_delay_25p8", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
# twomicron_delay.set_target_value(27.482).wait()
|
|
daq.acquire("RIXS_delay_27p482", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
## 5 min each
|
|
twomicron_delay.set_target_value(25.8).wait()
|
|
daq.acquire("RIXS_delay_25p8", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
twomicron_delay.set_target_value(27.482).wait()
|
|
daq.acquire("RIXS_delay_27p482", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
## 5 min each
|
|
twomicron_delay.set_target_value(25.8).wait()
|
|
daq.acquire("RIXS_delay_25p8", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
twomicron_delay.set_target_value(27.482).wait()
|
|
daq.acquire("RIXS_delay_27p482", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
## 5 min each
|
|
twomicron_delay.set_target_value(25.8).wait()
|
|
daq.acquire("RIXS_delay_25p8", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
twomicron_delay.set_target_value(27.482).wait()
|
|
daq.acquire("RIXS_delay_27p482", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
## 5 min each
|
|
twomicron_delay.set_target_value(25.8).wait()
|
|
daq.acquire("RIXS_delay_25p8", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
twomicron_delay.set_target_value(27.482).wait()
|
|
daq.acquire("RIXS_delay_27p482", n_pulses=30000, n_repeat=1, wait=True)
|
|
|
|
|
|
|
|
|