Agilent 33521A Function/Arbitrary Waveform Generator

class pymeasure.instruments.agilent.Agilent33521A(adapter, **kwargs)

Bases: Agilent33500

Represents the Agilent 33521A Function/Arbitrary Waveform Generator.

This documentation page shows only methods different from the parent class Agilent33500.

ch_1
Channel:

Agilent33500Channel

ch_2
Channel:

Agilent33500Channel

property arb_srate: Any

An floating point property that sets the sample rate of the currently selected arbitrary signal. Valid values are 1 µSa/s to 250 MSa/s. This can be set.

property frequency: Any

A floating point property that controls the frequency of the output waveform in Hz, from 1 uHz to 30 MHz, depending on the specified function. Can be set.

class pymeasure.instruments.agilent.agilent33500.Agilent33500Channel(parent, id, **kwargs)

Bases: Channel

Implementation of a base Agilent 33500 channel

property amplitude: Any

Control the voltage amplitude in Volts (float).(dynamic)

property amplitude_unit: Any

Control the amplitude units (string, strictly ‘VPP’, ‘VRMS’, or ‘DBM’).(dynamic)

property arb_advance: Any

Control how the device advances from data point to data point (str). Can be set to ‘TRIG<GER>’ or ‘SRAT<E>’ (default).

property arb_file: Any

Control the arbitrary signal to use from the volatile memory of the device.(dynamic)

property arb_filter: Any

Control the filter setting for arbitrary signals (str). Can be set to ‘NORM<AL>’, ‘STEP’ and ‘OFF’.

property arb_srate: Any

Control the sample rate of the currently selected arbitrary signal in Sa/s (float). Valid values range from 1 µSa/s to 250 MSa/s (maximum range, device-dependent).

property burst_mode: Any

Control the burst mode type (str, strictly ‘TRIG<GERED>’ or ‘GAT<ED>’).(dynamic)

property burst_ncycles: Any

Control the number of cycles to be output when a burst is triggered (int).(dynamic)

property burst_period: Any

Control the period of subsequent bursts in seconds (float).(dynamic)

property burst_state: Any

Control the burst mode state (bool).(dynamic)

data_arb(arb_name, data_points, data_format='DAC')

Uploads an arbitrary trace into the volatile memory of the device for a given channel.

The data_points can be given as: comma separated 16 bit DAC values (ranging from -32767 to +32767), as comma separated floating point values (ranging from -1.0 to +1.0), or as a binary data stream. Check the manual for more information. The storage depends on the device type and ranges from 8 Sa to 16 MSa (maximum).

Parameters:
  • arb_name – The name of the trace in the volatile memory. This is used to access the trace.

  • data_points

    Individual points of the trace. The format depends on the format parameter.

    format = ‘DAC’ (default): Accepts list of integer values ranging from -32767 to +32767. Minimum of 8 a maximum of 65536 points.

    format = ‘float’: Accepts list of floating point values ranging from -1.0 to +1.0. Minimum of 8 a maximum of 65536 points.

    format = ‘binary’: Accepts a binary stream of 8 bit data.

  • data_format – Defines the format of data_points. Can be ‘DAC’ (default), ‘float’ or ‘binary’. See documentation on parameter data_points above. (default: 'DAC')

data_volatile_clear()

Clear all arbitrary signals from volatile memory for a given channel.

This should be done if the same name is used continuously to load different arbitrary signals into the memory, since an error will occur if a trace is loaded which already exists in memory.

property frequency: Any

Control the waveform frequency in Hz (float). Depends on the specified shape.(dynamic)

property offset: Any

Control the voltage offset in Volts (float).(dynamic)

property output: Any

Control the output state (bool).(dynamic)

property output_load: Any

Control the expected load resistance in Ohms (str or float). The output impedance is always 50 Ohm, this setting can be used to correct the displayed voltage for loads unmatched to 50 Ohm.(dynamic)

property phase: Any

Control the waveform phase in degrees (float, from -360 to 360).

property pulse_dutycycle: Any

Control the pulse duty cycle in percent (float, from 0 to 100).(dynamic)

property pulse_hold: Any

Control whether pulse width or duty cycle is maintained when the period or frequency of the waveform is changed (str).(dynamic)

property pulse_period: Any

Control the pulse period in seconds (float). Overwrites frequency. If the period is shorter than the pulse width + the edge time, the edge time and pulse width are adjusted.(dynamic)

property pulse_transition: Any

Control the pulse edge time (both rising and falling) in seconds (float).(dynamic)

property pulse_width: Any

Control the pulse width in seconds (float).(dynamic)

property ramp_symmetry: Any

Control the ramp waveform symmetry in percent (float, from 0 to 100).(dynamic)

property shape: Any

Control the output waveform shape (str).(dynamic)

property square_dutycycle: Any

Control the square wave duty cycle in percent (float).(dynamic)

property voltage_high: Any

Control the upper voltage level in Volts (float).(dynamic)

property voltage_low: Any

Control the lower voltage level in Volts (float).(dynamic)