Closedown

This commit is contained in:
x03daop
2016-04-05 17:26:40 +02:00
parent 36bc8f9892
commit f588f10b66
4 changed files with 13 additions and 9 deletions

View File

@@ -17,8 +17,8 @@ adjust_sensors()
set_adc_averaging()
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
try:tryy:
ascan((ManipulatorPhi, ManipulatorTheta), SENSORS, (PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=trig_scienta, after_read = after_readout)
finally:
if ENDSCAN:
after_scan()
try:
ascan((ManipulatorPhi, ManipulatorTheta), SENSORS, (PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS, LATENCY, RELATIVE, zigzag = ZIGZAG, before_read=before_readout, after_read = after_readout)
finally:
if ENDSCAN:
after_scan()