Script execution
This commit is contained in:
@@ -53,6 +53,11 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
Scienta.setIterations(self.region['iter'])
|
||||
Scienta.update()
|
||||
|
||||
print Scienta.getAcquirePeriod()
|
||||
print Scienta.getAcquisitionTime().getValue()
|
||||
print Scienta.getExposure()
|
||||
print Scienta.getStepTime().getValue()
|
||||
|
||||
append_dataset(self.channel_begin_dataset_name, elo)
|
||||
append_dataset(self.channel_end_dataset_name, ehi)
|
||||
append_dataset(self.pass_energy_dataset_name, self.region['epass'])
|
||||
@@ -139,7 +144,7 @@ def do_scan(motors, positions, regions, latency):
|
||||
|
||||
try:
|
||||
set_preference(Preference.PLOT_TYPES, {'Scienta spectrum':1})
|
||||
task = fork(plot_cur_spectrum)
|
||||
#task = fork(plot_cur_spectrum)
|
||||
do_scan(MOTORS, POSITIONS, REGIONS, LATENCY)
|
||||
finally:
|
||||
if CLOSE_SHUTTER_AT_END:
|
||||
|
||||
Reference in New Issue
Block a user