Script execution

This commit is contained in:
gac-x03da
2019-03-02 14:54:30 +01:00
parent 11ca9d1203
commit ba5fadba05

View File

@@ -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)