msl.equipment.resources.picotech.picoscope.ps6000 module

A wrapper around the PicoScope ps6000 SDK.

class msl.equipment.resources.picotech.picoscope.ps6000.PicoScope6000(record)[source]

Bases: PicoScopeApi

A wrapper around the PicoScope ps6000 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_OVERSAMPLE_8BIT = 256
MAX_VALUE = 32512
MIN_VALUE = -32512
MAX_PULSE_WIDTH_QUALIFIER_COUNT = 16777215
MAX_SIG_GEN_BUFFER_SIZE = 16384
PS640X_C_D_MAX_SIG_GEN_BUFFER_SIZE = 65536
MIN_SIG_GEN_BUFFER_SIZE = 1
MIN_DWELL_COUNT = 3
MAX_SWEEPS_SHOTS = 1073741823
MAX_WAVEFORMS_PER_SECOND = 1000000
MAX_ANALOGUE_OFFSET_50MV_200MV = 0.5
MIN_ANALOGUE_OFFSET_50MV_200MV = -0.5
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
MAX_ETS_CYCLES = 250
MAX_INTERLEAVE = 50
PRBS_MAX_FREQUENCY = 20000000.0
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
get_values_bulk_asyc(start_index, down_sample_ratio, down_sample_ratio_mode, from_segment_index, to_segment_index)[source]

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

set_data_buffers_bulk(channel, buffer_length, waveform, down_sample_ratio_mode)[source]

This function tells the driver where to find the buffers for aggregated data for each waveform in rapid block mode. The number of waveforms captured is determined by the nCaptures argument sent to set_no_of_captures(). Call one of the GetValues functions to retrieve the data after capture. If you do not need two buffers, because you are not using aggregate mode, then you can optionally use set_data_buffer_bulk() instead.

set_external_clock(frequency, threshold)[source]

This function tells the scope whether or not to use an external clock signal fed into the AUX input. The external clock can be used to synchronise one or more PicoScope 6000 units to an external source.

When the external clock input is enabled, the oscilloscope relies on the clock signal for all of its timing. The driver checks that the clock is running before starting a capture, but if the clock signal stops after the initial check, the oscilloscope will not respond to any further commands until it is powered down and back up again.

Note: if the AUX input is set as an external clock input then it cannot also be used as an external trigger input.

set_waveform_limiter(n_waveforms_per_second)[source]

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