Script execution

This commit is contained in:
gac-x03da
2021-01-23 12:55:23 +01:00
parent 0b90a32673
commit 6621dec06d

View File

@@ -18,12 +18,13 @@ set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
try:
if FLY_SCAN:
# time per scienta acquisition in seconds
time1 = time.time()
trig_scienta()
time1 = time.time()
before_readout()
time.sleep(0.2)
time2 = time.time()
scienta_time = (time2 - time1)
print "scienta time: ", scienta_time
scienta_time = (time2 - time1) * 2
print "step time: ", scienta_time
if isinstance(STEPS,int):
raise Exception ("Fly Scan must define step size, and not number of steps")