Closedown
This commit is contained in:
@@ -139,6 +139,17 @@ def set_bg_roi(x1, y1, x2, y2):
|
||||
# Scan callbacks
|
||||
###################################################################################################
|
||||
|
||||
def trigger_pilatus(position, scan):
|
||||
count_time = get_count_time()
|
||||
open_shutter()
|
||||
try:
|
||||
if count_time>0:
|
||||
pixel.set_expose(count_time)
|
||||
pixel.start()
|
||||
pixel.wait_finished(30.0)
|
||||
finally:
|
||||
close_shutter()
|
||||
|
||||
count_id = None
|
||||
image_filename = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user