Closedown

This commit is contained in:
gac-x03da
2019-01-25 15:23:16 +01:00
parent 26184ef69a
commit 8d1c7b432b

View File

@@ -66,6 +66,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
#super(SpectrumReader, self).initialize()
self.scan_index = -1
self.Scienta = get_device("Scienta")
print("A" + str(self.Scienta))
self.ExitSlit = get_device("ExitSlit")
self.Eph = get_device("Eph")
@@ -158,6 +159,7 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
class ImageReader(ReadonlyRegisterBase, ReadonlyRegisterMatrix):
def initialize(self):
self.Scienta = get_device("Scienta")
print("C" + str(self.Scienta))
def read(self):
return self.Scienta.getDataMatrix().read()
@@ -170,6 +172,7 @@ class ImageReader(ReadonlyRegisterBase, ReadonlyRegisterMatrix):
return nx
def getHeight(self):
print("D" + str(self.Scienta))
ny = self.Scienta.slices.read()
return ny