msl.equipment.resources.picotech.picoscope.ps5000a module

A wrapper around the PicoScope ps5000a SDK.

class msl.equipment.resources.picotech.picoscope.ps5000a.PicoScope5000A(record)[source]

Bases: PicoScopeApi

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

MAX_VALUE_8BIT = 32512
MIN_VALUE_8BIT = -32512
MAX_VALUE_16BIT = 32767
MIN_VALUE_16BIT = -32767
LOST_DATA = -32768
EXT_MAX_VALUE = 32767
EXT_MIN_VALUE = -32767
MAX_PULSE_WIDTH_QUALIFIER_COUNT = 16777215
MAX_DELAY_COUNT = 8388607
PS5X42A_MAX_SIG_GEN_BUFFER_SIZE = 16384
PS5X43A_MAX_SIG_GEN_BUFFER_SIZE = 32768
PS5X44A_MAX_SIG_GEN_BUFFER_SIZE = 49152
MIN_SIG_GEN_BUFFER_SIZE = 1
MIN_DWELL_COUNT = 3
MAX_SWEEPS_SHOTS = 1073741823
AWG_DAC_FREQUENCY = 200000000.0
AWG_PHASE_ACCUMULATOR = 4294967296.0
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
PS5244A_MAX_ETS_CYCLES = 500
PS5244A_MAX_ETS_INTERLEAVE = 40
PS5243A_MAX_ETS_CYCLES = 250
PS5243A_MAX_ETS_INTERLEAVE = 20
PS5242A_MAX_ETS_CYCLES = 125
PS5242A_MAX_ETS_INTERLEAVE = 10
SHOT_SWEEP_TRIGGER_CONTINUOUS_RUN = 4294967295
SINE_MAX_FREQUENCY = 20000000.0
SQUARE_MAX_FREQUENCY = 20000000.0
TRIANGLE_MAX_FREQUENCY = 20000000.0
SINC_MAX_FREQUENCY = 20000000.0
RAMP_MAX_FREQUENCY = 20000000.0
HALF_SINE_MAX_FREQUENCY = 20000000.0
GAUSSIAN_MAX_FREQUENCY = 20000000.0
MIN_FREQUENCY = 0.03
EXT_MAX_VOLTAGE = 5.0
get_device_resolution()[source]
Returns

PS5000ADeviceResolution – This function retrieves the resolution the specified device will run in.

get_trigger_info_bulk(from_segment_index, to_segment_index)[source]

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

Populates the PS5000ATriggerInfo structure.

set_device_resolution(resolution)[source]

This function sets the new resolution. When using 12 bits or more the memory is halved. When using 15-bit resolution only 2 channels can be enabled to capture data, and when using 16-bit resolution only one channel is available. If resolution is changed, any data captured that has not been saved will be lost. If set_channel() is not called, run_block() and run_streaming() may fail.