into the deflection input channel.
>>> target_pos = _base.convert_volts_to_bits(
- ... p.config.select_config('axes', 'channel',
- get_attribute=_base.get_axis_name), 2)
+ ... p.config.select_config('axes', 'z',
+ ... get_attribute=_base.get_axis_name)['channel'], 2)
>>> step = int((target_pos - pos)/5)
>>> target_def = _base.convert_volts_to_bits(
... p.config.select_config('inputs', 'deflection'), 3)
conversion-origin: 0
inverse-conversion-coefficients: 0, 1
inverse-conversion-origin: 0
- >>> get_axis_name
- >>> d = p.select_config('inputs', 'deflection',
- ... get_attribute=_get_axis_name)
- >>> d['channel']['name']
+ >>> _get_axis_name(p['axes'][0])
+ 'x'
+ >>> d = p.select_config('inputs', 'deflection')
+ >>> d['name']
'deflection'
"""
piezo_config = _PiezoConfig(storage=storage)