Script execution
This commit is contained in:
@@ -211,12 +211,15 @@ def append_diag_datasets(parent = None):
|
||||
append_dataset(group+get_diag_name(f), x)
|
||||
|
||||
|
||||
def before_readout():
|
||||
def wait_beam():
|
||||
if not beam_ok:
|
||||
print "Waiting for beam..."
|
||||
while not beam_ok:
|
||||
time.sleep(0.1)
|
||||
print "Beam ok"
|
||||
|
||||
def before_readout():
|
||||
wait_beam()
|
||||
trig_scienta()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user