msl.equipment.resources.picotech.picoscope.ps4000a module
A wrapper around the PicoScope ps4000a SDK.
- class msl.equipment.resources.picotech.picoscope.ps4000a.PicoScope4000A(record)[source]
Bases:
PicoScopeApi
A wrapper around the PicoScope ps4000a 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 = 32767
- MIN_VALUE = -32767
- LOST_DATA = -32768
- EXT_MAX_VALUE = 32767
- EXT_MIN_VALUE = -32767
- MAX_PULSE_WIDTH_QUALIFIER_COUNT = 16777215
- MAX_DELAY_COUNT = 8388607
- MAX_SIG_GEN_BUFFER_SIZE = 16384
- MIN_SIG_GEN_BUFFER_SIZE = 10
- MIN_DWELL_COUNT = 10
- MAX_SWEEPS_SHOTS = 1073741823
- AWG_DAC_FREQUENCY = 80000000.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
- 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
- MIN_FREQUENCY = 0.03
- apply_resistance_scaling(channel, range_, buffer_length)[source]
This function is in the header file, but it is not in the manual.
- device_meta_data(meta_type, operation, format_)[source]
This function is in the header file, but it is not in the manual.
- get_common_mode_overflow()[source]
This function is in the header file, but it is not in the manual.
- set_channel_led(led_states)[source]
This function is in the header file, but it is not in the manual.
- set_pulse_width_qualifier_conditions(conditions, info)[source]
This function sets up the conditions for pulse width qualification, which can be used on its own for pulse width triggering or combined with window triggering to produce more complex triggers. Each call to this function creates a pulse width qualifier equal to the logical AND of the elements of the
conditions
array. Calling this function multiple times creates the logical OR of multiple AND operations. This AND-OR logic allows you to create any possible Boolean function of the scope’s inputs.Other settings of the pulse width qualifier are configured by calling
set_pulse_width_qualifier_properties()
.