mpylab.device.amp_cba_1g_030d module¶
mpylab.device.amp_cba_1g_030d module.
- class mpylab.device.amp_cba_1g_030d.AMPLIFIER(**kw)
Bases:
AMPLIFIERDriver for the AMETEK CBA1G-030D amplifier.
- Parameters:
kw (mapping) – Keyword arguments forwarded to the amplifier base class.
- GetTemp()
Read the amplifier base temperature.
- Returns:
Status code and raw temperature response from the amplifier.
- Return type:
tuple of (int, object)
- Init(ini=None, channel=None, ignore_bus=None)
Initialize, power on, and enable the amplifier.
- Parameters:
ini (path-like or file-like, optional) – INI configuration source.
channel (int, optional) – One-based configuration channel number.
ignore_bus (bool, optional) – Skip communication-bus initialization.
- Returns:
Driver initialization status.
- Return type:
int
- Quit()
Place the amplifier in standby, power off, and close the driver.
- Returns:
Bitwise combination of standby and common shutdown errors.
- Return type:
int
- conftmpl = {'channel_%d': {'complex_interpolation': <class 'str'>, 'db_factor': <class 'float'>, 'file': <function _file_source>, 'frequency_interpolation': <class 'str'>, 'interpolation': <class 'str'>, 'max_gap_factor': <class 'float'>, 'max_interpolation_error_factor': <class 'float'>, 'max_phase_step_deg': <class 'float'>, 'name': <class 'str'>, 'unit': <class 'str'>, 'value_interpolation': <class 'str'>}, 'description': {'description': <class 'str'>, 'deviceid': <class 'str'>, 'driver': <class 'str'>, 'serialnr': <class 'str'>, 'type': <class 'str'>, 'vendor': <class 'str'>}, 'init_value': {'fstart': <class 'float'>, 'fstep': <class 'float'>, 'fstop': <class 'float'>, 'gpib': <class 'int'>, 'nr_of_channels': <class 'int'>, 'virtual': <function strbool>}}
- mpylab.device.amp_cba_1g_030d.main()
main function.