LOG.info('moving to %g onto the surface' % depth)
stepper_tolerance = 2*self.stepper.step_size
+
+ axis = self.piezo.axis_by_name(self.axis_name)
+
zero = _convert_volts_to_bits(axis.axis_channel_config, 0)
target_def = _convert_volts_to_bits(axis.channel_config, setpoint)
LOG.debug('zero the %s piezo output' % self.axis_name)
- axis = self.piezo.axis_by_name(self.axis_name)
self.piezo.jump(axis_name=self.axis_name, position=zero)
LOG.debug("see if we're starting near the surface")