Script execution
This commit is contained in:
@@ -290,8 +290,8 @@ def do_scan(motors, positions, regions, latency):
|
||||
set_attribute(get_exec_pars().scanPath, "Regions", [region['name'] for region in regions])
|
||||
|
||||
try:
|
||||
"""
|
||||
################## THIS IS TO OPEN THE VALVES /SHUTTER
|
||||
|
||||
""" ################## THIS IS TO OPEN THE VALVES /SHUTTER
|
||||
if caget('X03DA-OP-VG7:OPEN') == 'Not_Open':
|
||||
caput('X03DA-OP-VG7:WT_SET',0) #open ES vacuum valve
|
||||
time.sleep(0.2)
|
||||
@@ -309,8 +309,8 @@ try:
|
||||
print "OK."
|
||||
|
||||
time.sleep(3.0)
|
||||
#############################################
|
||||
"""
|
||||
############################################# """
|
||||
|
||||
setup_live_plots(REGIONS)
|
||||
task = fork(update_live_plots)
|
||||
do_scan(MOTORS, POSITIONS, REGIONS, LATENCY)
|
||||
|
||||
Reference in New Issue
Block a user