Channel Configuration

Bases: PicoScopeBase, shared_ps6000a_psospa

PicoScope OSP (A) API specific functions

Methods:

Name Description
get_adc_limits

Gets the ADC limits for specified devices.

get_analogue_offset_limits

Get the allowed analogue offset range for range and coupling.

report_all_channels_overvoltage_trip_status

Return the overvoltage trip status for each channel.

reset_channels_and_report_all_channels_overvoltage_trip_status

Reset channels and return overvoltage trip status for each.

set_all_channels_off

Turns all channels off, based on unit number of channels

set_channel

Enable/disable a channel and specify certain variables i.e. range, coupling, offset, etc.

set_channel_off

Sets a channel to OFF (6000E)

set_channel_on

Enable and configure a specific channel on the device with given parameters.

get_adc_limits()

Gets the ADC limits for specified devices.

Currently tested on: 6000a.

Returns:
  • tuple( tuple ) –

    (minimum value, maximum value)

Raises:
  • PicoSDKException

    If device hasn't been initialized.

get_analogue_offset_limits(range, coupling)

Get the allowed analogue offset range for range and coupling.

report_all_channels_overvoltage_trip_status()

Return the overvoltage trip status for each channel. This wraps ps6000aReportAllChannelsOvervoltageTripStatus to query whether any channel's 50 Ω input protection has tripped. Returns: list[PICO_CHANNEL_OVERVOLTAGE_TRIPPED]: Trip status for all channels.

reset_channels_and_report_all_channels_overvoltage_trip_status()

Reset channels and return overvoltage trip status for each. Wraps ps6000aResetChannelsAndReportAllChannelsOvervoltageTripStatus. Returns: list[PICO_CHANNEL_OVERVOLTAGE_TRIPPED]: Trip status for all channels.

set_all_channels_off()

Turns all channels off, based on unit number of channels

set_channel(channel, range=RANGE.V1, enabled=True, coupling=COUPLING.DC, offset=0.0, bandwidth=BANDWIDTH_CH.FULL, probe_scale=1.0)

Enable/disable a channel and specify certain variables i.e. range, coupling, offset, etc.

For the ps6000a drivers, this combines set_channel_on/off to a single function. Set channel on/off by adding enabled=True/False

Parameters:
  • channel (CHANNEL) –

    Channel to setup.

  • range (RANGE, default: V1 ) –

    Voltage range of channel.

  • enabled (bool, default: True ) –

    Enable or disable channel.

  • coupling (COUPLING, default: DC ) –

    AC/DC/DC 50 Ohm coupling of selected channel.

  • offset (int, default: 0.0 ) –

    Analog offset in volts (V) of selected channel.

  • bandwidth (BANDWIDTH_CH, default: FULL ) –

    Bandwidth of channel (selected models).

  • probe_scale (float, default: 1.0 ) –

    Probe attenuation factor such as 1 or 10.

set_channel_off(channel)

Sets a channel to OFF (6000E)

set_channel_on(channel, range, coupling=COUPLING.DC, offset=0, bandwidth=BANDWIDTH_CH.FULL, range_type=PICO_PROBE_RANGE_INFO.X1_PROBE_NV)

Enable and configure a specific channel on the device with given parameters.

Parameters:
  • channel (CHANNEL) –

    The channel to enable (e.g., CHANNEL.A, CHANNEL.B).

  • range (RANGE) –

    The input voltage range to set for the channel.

  • coupling (COUPLING, default: DC ) –

    The coupling mode to use (e.g., DC, AC). Defaults to DC.

  • offset (float, default: 0 ) –

    DC offset to apply to the channel input, in volts. Defaults to 0.

  • bandwidth (BANDWIDTH_CH, default: FULL ) –

    Bandwidth limit setting for the channel. Defaults to full bandwidth.

  • range_type (PICO_PROBE_RANGE_INFO, default: X1_PROBE_NV ) –

    Specifies the probe range type. Defaults to X1 probe (no attenuation).