scripts
This commit is contained in:
98
TX_scan_RIXS_macro_Dec_2024_Mitrano.py
Normal file
98
TX_scan_RIXS_macro_Dec_2024_Mitrano.py
Normal file
@ -0,0 +1,98 @@
|
||||
#%run -i ./script.py
|
||||
|
||||
import time
|
||||
|
||||
## 800 shutter: SLAAT31-LDIO-LAS6411:SET_BO02
|
||||
# RIXS scans opening/closing the laser shutter
|
||||
|
||||
|
||||
TX.set_target_value(-2.7).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TX.set_target_value(-3.0).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TX.set_target_value(-3.3).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TX.set_target_value(-3.6).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TX.set_target_value(-3.9).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#gate_delay.set_target_value(112).wait()
|
||||
|
||||
|
98
TY_scan_RIXS_macro_Dec_2024_Mitrano.py
Normal file
98
TY_scan_RIXS_macro_Dec_2024_Mitrano.py
Normal file
@ -0,0 +1,98 @@
|
||||
#%run -i ./script.py
|
||||
|
||||
import time
|
||||
|
||||
## 800 shutter: SLAAT31-LDIO-LAS6411:SET_BO02
|
||||
# RIXS scans opening/closing the laser shutter
|
||||
|
||||
|
||||
TY.set_target_value(2.195).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TY.set_target_value(2.295).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TY.set_target_value(2.395).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TY.set_target_value(2.495).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
TY.set_target_value(2.595).wait()
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=1, wait=True)
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#gate_delay.set_target_value(112).wait()
|
||||
|
||||
|
74
static_RIXS_macro_Dec_2024_Mitrano.py
Normal file
74
static_RIXS_macro_Dec_2024_Mitrano.py
Normal file
@ -0,0 +1,74 @@
|
||||
#%run -i ./script.py
|
||||
|
||||
import time
|
||||
|
||||
## 800 shutter: SLAAT31-LDIO-LAS6411:SET_BO02
|
||||
# RIXS scans opening/closing the laser shutter
|
||||
|
||||
#set time delay in mm
|
||||
#gate_delay.set_target_value(100).wait()
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1) ## laser shutter open
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0) ## laser shutter closed
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, n_repeat=3, wait=True)
|
||||
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",1)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_on", n_pulses=30000, wait=True)
|
||||
#caput("SLAAT31-LDIO-LAS6411:SET_BO02",0)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
#daq.acquire("RIXS_off", n_pulses=30000, wait=True)
|
||||
|
||||
#gate_delay.set_target_value(112).wait()
|
||||
|
||||
|
Reference in New Issue
Block a user