AFG3152C Arbitrary function generator

class pymeasure.instruments.tektronix.AFG3152C(adapter, name='Tektronix AFG3152C arbitrary function generator', **kwargs)

Bases: SCPIUnknownMixin, Instrument

Represents the Tektronix AFG 3000 series (one or two channels) arbitrary function generator and provides a high-level for interacting with the instrument.

afg=AFG3152C("GPIB::1")        # AFG on GPIB 1
afg.reset()                    # Reset to default
afg.ch1.shape='sinusoidal'     # Sinusoidal shape
afg.ch1.unit='VPP'             # Sets CH1 unit to VPP
afg.ch1.amp_vpp=1              # Sets the CH1 level to 1 VPP
afg.ch1.frequency=1e3          # Sets the CH1 frequency to 1KHz
afg.ch1.enable()               # Enables the output from CH1
class pymeasure.instruments.tektronix.afg3152c.AFG3152CChannel(parent, id, **kwargs)

Bases: Channel

property amp_dbm: Any

Control the output amplitude in dBm. (float)

property amp_vpp: Any

Control the output amplitude in Vpp. (float)

property amp_vrms: Any

Control the output amplitude in Vrms. (float)

property duty: Any

Control the duty cycle of pulse. (float))

property frequency: Any

Control the frequency. (float)

property impedance: Any

Control the output impedance of the channel. Be careful with this.

insert_id(command)

Prepend the channel id for most writes.

property offset: Any

Control the amplitude offset. It is always in Volt. (float)

property shape: Any

Control the shape of the output. (str)

property unit: Any

Control the amplitude unit. (str)

waveform(shape='SIN', frequency=1000000.0, units='VPP', amplitude=1, offset=0)

General setting method for a complete wavefunction