Script execution
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user