output_axis = piezo.axis_by_name(axis_name)
if min_position is None:
min_position = _base.convert_volts_to_bits(
- output_axis.axis_channel_config,
- output_axis.axis_config['minimum'])
+ output_axis.config,
+ output_axis.config['minimum'])
if max_position is None:
max_position = _base.convert_volts_to_bits(
- output_axis.axis_channel_config,
- output_axis.axis_config['maximum'])
+ output_axis.config,
+ output_axis.config['maximum'])
return (min_position, max_position)
def get_surface_position_data(piezo, axis_name, max_deflection, steps=2000,