pypicosdk.constants
Classes:
Name | Description |
---|---|
ACTION |
Action codes used to manage and clear data buffers. |
AUXIO_MODE |
Operating modes for the AUX IO connector. |
BANDWIDTH_CH |
Class for different bandwidth configurations. |
CHANNEL |
Constants representing PicoScope trigger and input channels. |
COUPLING |
Enum class representing different types of coupling used in signal processing. |
DATA_TYPE |
Class for different data types. |
DIGITAL_PORT |
Digital port identifiers for the 6000A series. |
DIGITAL_PORT_HYSTERESIS |
Hysteresis options for digital ports. |
PICO_CHANNEL_FLAGS |
Bit flags for enabled channels used by |
PICO_CHANNEL_OVERVOLTAGE_TRIPPED |
Status flag indicating whether a channel's input protection tripped. |
PICO_CONDITION |
Trigger condition used by |
PICO_CONNECT_PROBE_RANGE |
Input range identifiers for |
PICO_DIGITAL_CHANNEL_DIRECTIONS |
Structure describing a digital channel direction. |
PICO_DIGITAL_DIRECTION |
Digital trigger direction settings. |
PICO_DIRECTION |
Direction descriptor for |
PICO_FIRMWARE_INFO |
Information describing firmware versions and updates. |
PICO_LED_COLOUR_PROPERTIES |
This structure is used with psospaSetLedColours() to define |
PICO_LED_STATE_PROPERTIES |
This structure is used with set_led_states() to define the |
PICO_PORT_DIGITAL_CHANNEL |
Digital channel identifiers within a port. |
PICO_PROBE_RANGE_INFO |
Probe attenuation identifiers for |
PICO_SCALING_FACTORS_FOR_RANGE_TYPES_VALUES |
Scaling factors for a probe range type. |
PICO_SCALING_FACTORS_VALUES |
Scaling factors for a channel and range. |
PICO_SIGGEN_TRIG_SOURCE |
Signal generator trigger source options. |
PICO_SIGGEN_TRIG_TYPE |
Trigger type for the signal generator. |
PICO_STREAMING_DATA_INFO |
Structure describing streaming data buffer information. |
PICO_STREAMING_DATA_TRIGGER_INFO |
Structure describing trigger information for streaming. |
PICO_TRIGGER_CHANNEL_PROPERTIES |
Trigger threshold configuration for a single channel. |
PICO_TRIGGER_INFO |
Structure describing trigger timing information. |
PICO_USB_POWER_DELIVERY |
Structure representing USB Power Delivery status information for a single USB port. |
PICO_USB_POWER_DETAILS |
Structure describing USB power details for a PicoScope device. |
PICO_VERSION |
Firmware or driver version information. |
POWER_SOURCE |
Defines different power source connection statuses. |
PULSE_WIDTH_TYPE |
Pulse width qualifier comparison types. |
RANGE |
Enum class representing different voltage ranges used in signal processing. |
RATIO_MODE |
Defines various ratio modes for signal processing. |
RESOLUTION |
Resolution constants for PicoScope devices. |
SIGGEN_FILTER_STATE |
Output filter state for the signal generator. |
SIGGEN_PARAMETER |
Parameters that can be queried with :func: |
SWEEP_TYPE |
Sweep direction for signal generator. |
THRESHOLD_DIRECTION |
Enumerates trigger threshold directions used with :class: |
THRESHOLD_MODE |
Threshold operation mode values used in :class: |
TRIGGER_DIR |
Trigger direction constants for configuring PicoScope triggers. |
TRIGGER_STATE |
Trigger state values used in :class: |
TRIGGER_WITHIN_PRE_TRIGGER |
Control for :func: |
UNIT_INFO |
Unit information identifiers for querying PicoScope device details. |
WAVEFORM |
Waveform type constants for PicoScope signal generator configuration. |
Attributes: |
|
---|
TIMESTAMP_COUNTER_MASK = (1 << 56) - 1
module-attribute
Mask for the 56-bit timeStampCounter
field.
ACTION
Action codes used to manage and clear data buffers.
These action codes are used with functions like setDataBuffer
to specify
the type of operation to perform on data buffers.
Attributes: |
|
---|
AUXIO_MODE
Operating modes for the AUX IO connector.
BANDWIDTH_CH
Class for different bandwidth configurations.
Attributes: |
|
---|
CHANNEL
Constants representing PicoScope trigger and input channels.
Attributes: |
|
---|
COUPLING
Enum class representing different types of coupling used in signal processing.
Attributes: |
|
---|
DATA_TYPE
Class for different data types.
Attributes: |
|
---|
DIGITAL_PORT
Digital port identifiers for the 6000A series.
DIGITAL_PORT_HYSTERESIS
Hysteresis options for digital ports.
PICO_CHANNEL_FLAGS
Bit flags for enabled channels used by ps6000aChannelCombinationsStateless
.
PICO_CHANNEL_OVERVOLTAGE_TRIPPED
Status flag indicating whether a channel's input protection tripped.
Attributes:
channel_: Channel identifier as a :class:CHANNEL
value.
tripped_: 1
if the channel has tripped due to overvoltage.
PICO_CONDITION
Trigger condition used by SetTriggerChannelConditions
.
Each instance defines the state that a particular input source must meet for the overall trigger to occur.
Attributes: |
|
---|
PICO_CONNECT_PROBE_RANGE
Input range identifiers for get_analogue_offset_limits
.
PICO_DIGITAL_CHANNEL_DIRECTIONS
Structure describing a digital channel direction.
PICO_DIGITAL_DIRECTION
Digital trigger direction settings.
PICO_DIRECTION
Direction descriptor for SetTriggerChannelDirections
.
Attributes: |
|
---|
PICO_FIRMWARE_INFO
Information describing firmware versions and updates.
Attributes:
firmwareType_: Firmware identifier as a :class:UNIT_INFO
value.
currentVersion_: Currently installed :class:PICO_VERSION
.
updateVersion_: Available update :class:PICO_VERSION
.
updateRequired_: 1
if an update is required, otherwise 0
.
PICO_LED_COLOUR_PROPERTIES
This structure is used with psospaSetLedColours() to define the color for one LED using hue and saturation (HSV) values for the color.
PICO_LED_STATE_PROPERTIES
This structure is used with set_led_states() to define the state for one LED.
PICO_PORT_DIGITAL_CHANNEL
Digital channel identifiers within a port.
PICO_PROBE_RANGE_INFO
Probe attenuation identifiers for get_scaling_values
.
PICO_SCALING_FACTORS_FOR_RANGE_TYPES_VALUES
Scaling factors for a probe range type.
PICO_SCALING_FACTORS_VALUES
Scaling factors for a channel and range.
PICO_SIGGEN_TRIG_SOURCE
Signal generator trigger source options.
PICO_SIGGEN_TRIG_TYPE
Trigger type for the signal generator.
PICO_STREAMING_DATA_INFO
Structure describing streaming data buffer information.
PICO_STREAMING_DATA_TRIGGER_INFO
Structure describing trigger information for streaming.
All field names in this structure are defined with a trailing underscore so they match the C structure exactly.
PICO_TRIGGER_CHANNEL_PROPERTIES
Trigger threshold configuration for a single channel.
The fields of this structure mirror the PICO_TRIGGER_CHANNEL_PROPERTIES
definition in the PicoSDK headers. Each attribute name ends with an
underscore so that the names match the underlying C struct when accessed
from Python.
Attributes: |
|
---|
PICO_TRIGGER_INFO
Structure describing trigger timing information.
All fields of this ctypes
structure include a trailing underscore in
their names. When you receive a :class:PICO_TRIGGER_INFO
instance from
:meth:~pypicosdk.pypicosdk.PicoScopeBase.get_trigger_info
or other
functions, access the attributes using these exact names, for example
info.triggerTime_
.
Attributes: |
|
---|
PICO_USB_POWER_DELIVERY
Structure representing USB Power Delivery status information for a single USB port.
This structure provides detailed information about the USB Power Delivery contract and status for a USB port, including voltage, current limits, connection state, and attached device type.
Attributes: |
|
---|
PICO_USB_POWER_DETAILS
Structure describing USB power details for a PicoScope device.
Attributes: |
|
---|
PICO_VERSION
Firmware or driver version information. Attributes: major_: Major version number. minor_: Minor version number. revision_: Revision number. build_: Build number.
POWER_SOURCE
Defines different power source connection statuses.
These values represent the connection status of a power supply or USB device.
Attributes: |
|
---|
PULSE_WIDTH_TYPE
Pulse width qualifier comparison types.
RANGE
Enum class representing different voltage ranges used in signal processing.
Attributes: |
|
---|
RATIO_MODE
Defines various ratio modes for signal processing.
Attributes: |
|
---|
RESOLUTION
Resolution constants for PicoScope devices.
WARNING: Not all devices support all resolutions.
Attributes: |
|
---|
Examples:
>>> scope.open_unit(resolution=RESOLUTION._16BIT)
SIGGEN_FILTER_STATE
Output filter state for the signal generator.
SIGGEN_PARAMETER
Parameters that can be queried with :func:siggen_limits
.
Attributes: |
|
---|
SWEEP_TYPE
Sweep direction for signal generator.
THRESHOLD_DIRECTION
Enumerates trigger threshold directions used with :class:PICO_DIRECTION
.
THRESHOLD_MODE
Threshold operation mode values used in :class:PICO_DIRECTION
.
TRIGGER_DIR
Trigger direction constants for configuring PicoScope triggers.
Attributes: |
|
---|
TRIGGER_STATE
Trigger state values used in :class:PICO_CONDITION
.
TRIGGER_WITHIN_PRE_TRIGGER
Control for :func:trigger_within_pre_trigger_samples
.
UNIT_INFO
Unit information identifiers for querying PicoScope device details.
Attributes: |
|
---|
Examples:
>>> scope.get_unit_info(picosdk.UNIT_INFO.PICO_BATCH_AND_SERIAL)
"JM115/0007"
WAVEFORM
Waveform type constants for PicoScope signal generator configuration.
Attributes: |
|
---|