mpylab.device.sg_rs_smf100a moduleΒΆ

Driver for the Rohde & Schwarz SMF100A signal generator.

class mpylab.device.sg_rs_smf100a.SIGNALGENERATOR(**kw)

Bases: SIGNALGENERATOR

SMF100A-specific signal generator implementation.

ConfAM(source, freq, depth, waveform, LFOut)

Configure AM source, waveform, depth, frequency and LF output.

ConfPM(source, freq, pol, width, delay)

Configure pulse modulation source, polarity, width and delay.

GetAMState()

Query and return AM state as normalized text.

GetPMState()

Query and return pulse-modulation state as normalized text.

GetRFState()

Query and return RF output state as normalized text.

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

Initialize SMF100A channel and apply configured presets.

mpylab.device.sg_rs_smf100a.main()

Start the standalone SMF100A UI (or virtual fallback).

mpylab.device.sg_rs_smf100a.test()

Create and initialize a test SMF100A instance from default INI.