Script execution

This commit is contained in:
gac-x04sa
2018-11-06 12:34:46 +01:00
parent 45a5f16d92
commit d7d3034dd9
-12
View File
@@ -1,15 +1,3 @@
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()
detectors = [pixel, pixel.image_filename, image.intensity,image.corrected_intensity, image.matrix]
pixel.set_path("tmp", "gobbo")