Ejemplo n.º 1
0
 def _acquire_func():
     try:
         acquire(point, preset)
     finally:
         dataman.finishPoint()
         if session.experiment.forcescandata:
             dataman.finishScan()
Ejemplo n.º 2
0
 def _step_inner(self, preset):
     dataman = session.experiment.data
     preset = preset or self._preset
     self._curpoint += 1
     self.preparePoint(self._curpoint, [])
     try:
         point = dataman.beginPoint()
         actualpos = self.readPosition()
         dataman.putValues(actualpos)
         try:
             acquire(point, preset)
         finally:
             self.readEnvironment()
             dataman.finishPoint()
     except SkipPoint:
         pass
     finally:
         self.finishPoint()
     return CountResult.from_point(point)[0]
Ejemplo n.º 3
0
 def acquire(self, point, preset):
     preset.pop("live", None)
     acquire(point, preset, iscompletefunc=self.acquireCompleted)
Ejemplo n.º 4
0
 def acquire(self, point, preset):
     # take into account live preset which is popped in the base class
     # implementation
     acquire(point, preset, iscompletefunc=self.acquireCompleted)