Script execution

This commit is contained in:
gac-x04sa
2018-11-06 11:56:55 +01:00
parent edd65279d1
commit 8de299b60b

View File

@@ -3,12 +3,16 @@ def trigger_pilatus(position, scan):
open_shutter()
try:
if count_time>0:
print "TRIGGER"
print "\n\nTRIGGER"
pixel.set_expose(count_time)
print "."
pixel.start()
print ".."
pixel.wait_finished(30.0)
print "..."
finally:
close_shutter()
print "EXIT"
detectors = [pixel, pixel.image_filename, image.intensity,image.corrected_intensity, image.matrix]