Script execution

This commit is contained in:
x03daop
2017-06-06 11:19:48 +02:00
parent 215dd495da
commit c77cc16bf8

View File

@@ -148,8 +148,8 @@ def do_scan(motors, positions, regions, latency):
adjust_sensors()
set_adc_averaging()
vscan(motors, SENSORS, positions, True, latency,False, before_read=wait_beam, after_read = after_readout)
#vscan(motors, SENSORS, positions, True, latency,False, after_read = after_readout)
#vscan(motors, SENSORS, positions, True, latency,False, before_read=wait_beam, after_read = after_readout)
vscan(motors, SENSORS, positions, True, latency,False, after_read = after_readout)
for (index, region) in enumerate(regions):
set_attribute(get_exec_pars().scanPath + "region{0}/ScientaSpectrum".format(index + 1), "RegionName", region['name'])