Closedown
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user