1.2.4. RF signal generators: wanglib.instruments.signal_generators

Interfaces to Agilent RF signal generators.

class wanglib.instruments.signal_generators.ag8648(bus)

The Agilent 8648A/B/C/D RF signal generator.

These instruments are configured to work on GPIB address 18 by factory default. To instantiate one plugged in to prologix controller plx, do this:

>>> rf = ag8648(plx.instrument(18))

Other instrument objects (e.g. pyVISA) should also work.

Attributes:

on – boolean indicating whether RF
output is on or off.

amp – RF output amplitude, in DBM.

The signal generator can be controlled remotely by setting these attributes of the instance.

>>> rf.amp
-5.0
>>> rf.amp = -10
>>> rf.amp
-10.0
amp

RF amplitude in dBm.

Blink the RF output on and off with time.

Useful when aligning AOMs.

freq

RF frequency in MHz.

get_amp()

RF amplitude in dBm.

get_freq()

RF frequency in MHz.

get_on()

is RF output on?

get_pulse()

is pulse modulation enabled?

on

is RF output on?

pulse

is pulse modulation enabled?

set_amp(val, unit='DBM')

Set the output amplitude. Assumes units of DBM.

Available units: DBM, MV, UV, MVEMF, UVEMF, DBUV, DBUVEMF.

set_freq(val, unit='MHZ')

Set the RF frequency in MHz.

set_on(val)
set_pulse(val)