msl.equipment.resources.picotech.picoscope.ps2000a module

A wrapper around the PicoScope ps2000a SDK.

class msl.equipment.resources.picotech.picoscope.ps2000a.PicoScope2000A(record)[source]

Bases: PicoScopeApi

A wrapper around the PicoScope ps2000a 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.

PS2208_MAX_ETS_CYCLES = 500
PS2208_MAX_INTERLEAVE = 20
PS2207_MAX_ETS_CYCLES = 500
PS2207_MAX_INTERLEAVE = 20
PS2206_MAX_ETS_CYCLES = 250
PS2206_MAX_INTERLEAVE = 10
EXT_MAX_VALUE = 32767
EXT_MIN_VALUE = -32767
MAX_LOGIC_LEVEL = 32767
MIN_LOGIC_LEVEL = -32767
MIN_SIG_GEN_FREQ = 0.0
MAX_SIG_GEN_FREQ = 20000000.0
MAX_SIG_GEN_BUFFER_SIZE = 8192
MIN_SIG_GEN_BUFFER_SIZE = 1
MIN_DWELL_COUNT = 3
MAX_SWEEPS_SHOTS = 1073741823
MAX_ANALOGUE_OFFSET_50MV_200MV = 0.25
MIN_ANALOGUE_OFFSET_50MV_200MV = -0.25
MAX_ANALOGUE_OFFSET_500MV_2V = 2.5
MIN_ANALOGUE_OFFSET_500MV_2V = -2.5
MAX_ANALOGUE_OFFSET_5V_20V = 20.0
MIN_ANALOGUE_OFFSET_5V_20V = -20.0
SHOT_SWEEP_TRIGGER_CONTINUOUS_RUN = 4294967295
SINE_MAX_FREQUENCY = 1000000.0
SQUARE_MAX_FREQUENCY = 1000000.0
TRIANGLE_MAX_FREQUENCY = 1000000.0
SINC_MAX_FREQUENCY = 1000000.0
RAMP_MAX_FREQUENCY = 1000000.0
HALF_SINE_MAX_FREQUENCY = 1000000.0
GAUSSIAN_MAX_FREQUENCY = 1000000.0
PRBS_MAX_FREQUENCY = 1000000.0
PRBS_MIN_FREQUENCY = 0.03
MIN_FREQUENCY = 0.03
set_digital_analog_trigger_operand(operand)[source]

This function is define in the header file, but it is not in the manual.

set_trigger_digital_port_properties(directions)[source]

This function will set the individual Digital channels trigger directions. Each trigger direction consists of a channel name and a direction. If the channel is not included in the array of PS2000ADigitalChannelDirections the driver assumes the digital channel’s trigger direction is PS2000A_DIGITAL_DONT_CARE.