mpylab.device.pm_rs_zlv_6 moduleΒΆ
Power-meter adapter using marker readout on Rohde & Schwarz ZVL-6.
- class mpylab.device.pm_rs_zlv_6.POWERMETER(**kw)
Bases:
POWERMETERZVL-6-based power meter implementation.
- GetData()
Acquire peak marker power and return it as watt quantity.
- GetDataNB(retrigger=False)
Return data and optionally trigger the next acquisition.
- Init(ini=None, channel=None, ignore_bus=None)
Initialize the selected channel and unit configuration.
- SetFreq(freq)
Set internal target frequency in Hz.
- conftmpl = {'channel_%d': {'file': <function _file_source>, 'filter': <class 'int'>, 'interpolation': <class 'str'>, 'manrange': <class 'float'>, 'name': <class 'str'>, 'rangemode': <class 'str'>, 'resolution': <class 'int'>, 'sensor': <class 'str'>, 'swr1': <class 'float'>, 'swr2': <class 'float'>, 'unit': <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>, 'visa': <class 'str'>}}
- mpylab.device.pm_rs_zlv_6.main()
Run a simple standalone smoke test for the ZVL-6 adapter.