Script execution
This commit is contained in:
@@ -13,7 +13,7 @@ ZIGZAG = True
|
||||
MOTORS = ["ca://X03DA-PSU-XP:SETCUR"]
|
||||
# comma-separated discrete list of scan positions
|
||||
#POSITIONS = [(PHI_RANGE[0], THETA_RANGE[0]), (PHI_RANGE[1], THETA_RANGE[1]), STEPS]
|
||||
POSITIONS = [0.03, 1.31, 0.01]
|
||||
POSITIONS = [0.03, 0.05, 0.01]
|
||||
#POSITIONS = [0.]
|
||||
# seconds to wait between positioning command and triggering the detector
|
||||
LATENCY = 5.0
|
||||
@@ -132,10 +132,10 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
Scienta.highEnergy.write(ehi)
|
||||
Scienta.stepSize.write(self.region['estep'])
|
||||
|
||||
#Scienta.setPassEnergy(self.region['epass'])
|
||||
#Scienta.stepTime.write(self.region['tstep'])
|
||||
#Scienta.setIterations(self.region['iter'])
|
||||
#ExitSlit.write(self.region['slit'])
|
||||
Scienta.setPassEnergy(self.region['epass'])
|
||||
Scienta.stepTime.write(self.region['tstep'])
|
||||
Scienta.setIterations(self.region['iter'])
|
||||
ExitSlit.write(self.region['slit'])
|
||||
#Scienta.update()
|
||||
|
||||
if self.region['fixed']:
|
||||
|
||||
Reference in New Issue
Block a user