mpylab.device.rec_rs_eshs30 module

This is mpylab.device.rec_rs_ESHS30`.

Provides driver for Rec RS ESHS30. :author: Hans Georg Krauthäuser (main author)

license:

GPL-3 or higher

class mpylab.device.rec_rs_eshs30.RECEIVER(**kw)

Bases: RECEIVER

Driver for the Rohde & Schwarz ESHS30 EMI receiver.

GetData()

Trigger a measurement and return the measured level as quantity.

GetDataNB(retrigger=False)

Non-blocking version of GetData().

This function will return (-1, None) until the answer from the device is available. Then, it will return (self.error, obj).

If retrigger is True or 'on', the device will be triggered for a new measurment after the measurement has been red.

GetDetector()

Return the current detector mode.

GetMeasTime()

Return the configured measurement time.

GetMinAttenuation()

Return the configured minimum attenuation floor in dB.

GetPreamplifier()

Return the current preamplifier state.

Init(ini=None, channel=None, ignore_bus=None)

Initialize the receiver channel and apply startup configuration.

SetAttenuation(attenuation)

Set RF attenuation and return the effective instrument value.

SetDetector(detector)

Set detector mode and return the normalized detector name.

SetMeasTime(meas_time)

Set measurement time or enable automatic timing.

SetMinAttenuation(min_attenuation)

Set the minimum allowed attenuation floor in dB.

SetPreamplifier(preamplifier)

Set preamplifier state and return the applied value.

SetResolutionBandwidth(rbw)

Set resolution bandwidth or enable automatic RBW.

mpylab.device.rec_rs_eshs30.main()

Run a basic manual smoke test for the ESHS30 driver.