Script execution
This commit is contained in:
@@ -21,8 +21,9 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
Scienta.stepTime.write(region['tstep'])
|
||||
Scienta.setIterations(region['iter'])
|
||||
|
||||
def doRead(self):
|
||||
print "doRead " + str(self.region)
|
||||
def read(self):
|
||||
print "SpectrumReader.doRead"
|
||||
print str(self.region)
|
||||
self.setup()
|
||||
print "trig_scienta"
|
||||
trig_scienta()
|
||||
@@ -36,8 +37,9 @@ class SpectrumReader(ReadonlyRegisterBase, ReadonlyRegisterArray):
|
||||
|
||||
|
||||
class ImageReader(ReadonlyRegisterBase, ReadonlyRegisterMatrix):
|
||||
def doRead(self):
|
||||
def read(self):
|
||||
print "ImageReader.doRead"
|
||||
print str(self.region)
|
||||
return Scienta.getDataMatrix().read()
|
||||
|
||||
def getWidth(self):
|
||||
|
||||
Reference in New Issue
Block a user