msl.equipment.resources.picotech.picoscope.ps2000 module

A wrapper around the PicoScope ps2000 SDK.

class msl.equipment.resources.picotech.picoscope.ps2000.PicoScope2000(record)[source]

Bases: PicoScope2k3k

A wrapper around the PicoScope ps2000 SDK.

Do not instantiate this class directly. Use the connect() method to connect to the equipment.

Parameters

record (EquipmentRecord) – A record from an Equipment-Register Database.

FIRST_USB = 1
LAST_USB = 127
MAX_UNITS = 127
MAX_TIMEBASE = 19
PS2105_MAX_TIMEBASE = 20
PS2104_MAX_TIMEBASE = 19
PS2200_MAX_TIMEBASE = 23
MAX_OVERSAMPLE = 256
PS2105_MAX_ETS_CYCLES = 250
PS2105_MAX_ETS_INTERLEAVE = 50
PS2104_MAX_ETS_CYCLES = 125
PS2104_MAX_ETS_INTERLEAVE = 25
PS2203_MAX_ETS_CYCLES = 250
PS2203_MAX_ETS_INTERLEAVE = 50
PS2204_MAX_ETS_CYCLES = 250
PS2204_MAX_ETS_INTERLEAVE = 40
PS2205_MAX_ETS_CYCLES = 250
PS2205_MAX_ETS_INTERLEAVE = 40
MIN_ETS_CYCLES_INTERLEAVE_RATIO = 1
MAX_ETS_CYCLES_INTERLEAVE_RATIO = 10
MIN_SIGGEN_FREQ = 0.0
MAX_SIGGEN_FREQ = 100000.0
MAX_VALUE = 32767
MIN_VALUE = -32767
LOST_DATA = -32768
last_button_press()[source]

This function returns the last registered state of the pushbutton on the PicoScope 2104 or 2105 PC Oscilloscope and then resets the status to zero.

set_led(state)[source]

This function turns the LED on the oscilloscope on and off, and controls its colour.

set_light(state)[source]

This function controls the white light that illuminates the probe tip on a handheld oscilloscope.

set_sig_gen_arbitrary(offset_voltage, pk_to_pk, start_delta_phase, stop_delta_phase, delta_phase_increment, dwell_count, arbitrary_waveform_size, sweep_type, sweeps)[source]

This function programs the signal generator to produce an arbitrary waveform.

set_sig_gen_built_in(offset_voltage, pk_to_pk, wave_type, start_frequency, stop_frequency, increment, dwell_time, sweep_type, sweeps)[source]

This function sets up the signal generator to produce a signal from a list of built-in waveforms. If different start and stop frequencies are specified, the oscilloscope will sweep either up, down or up and down.