Script execution
This commit is contained in:
@@ -39,7 +39,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
|
||||
def read(self):
|
||||
self.setup()
|
||||
print "Photon energy {ephot} eV. Acquiring spectrum {elo}-{ehi} eV".format(Eph.read(), Scienta.lowEnergy.value, Scienta.highEnergy.value)
|
||||
print "Photon energy {ephot} eV. Acquiring spectrum {elo}-{ehi} eV".format(ephot=Eph.read(), elo=Scienta.lowEnergy.value, ehi=Scienta.highEnergy.value)
|
||||
trig_scienta()
|
||||
time.sleep(0.5)
|
||||
sp = Scienta.getSpectrum().read()
|
||||
|
||||
Reference in New Issue
Block a user