pysigrok
0.4.0
Python bindings for libsigrok
|
Configuration key. More...
Public Member Functions | |
def | data_type (self) |
Data type used for this configuration key. More... | |
def | description (self) |
Description of this configuration key. More... | |
def | parse_string (self, value) |
Parse a string argument into the appropriate type for this key. More... | |
Public Member Functions inherited from sigrok.core.classes.EnumValueConfigKey | |
def | id (self) |
The integer constant associated with this value. More... | |
def | name (self) |
The name associated with this value. More... | |
Static Public Attributes | |
tuple | get_by_identifier |
LOGIC_ANALYZER | |
OSCILLOSCOPE | |
The device can act as an oscilloscope. More... | |
MULTIMETER | |
The device can act as a multimeter. More... | |
DEMO_DEV | |
The device is a demo device. More... | |
SOUNDLEVELMETER | |
The device can act as a sound level meter. More... | |
THERMOMETER | |
The device can measure temperature. More... | |
HYGROMETER | |
The device can measure humidity. More... | |
ENERGYMETER | |
The device can measure energy consumption. More... | |
DEMODULATOR | |
The device can act as a signal demodulator. More... | |
POWER_SUPPLY | |
The device can act as a programmable power supply. More... | |
LCRMETER | |
The device can act as an LCR meter. More... | |
ELECTRONIC_LOAD | |
The device can act as an electronic load. More... | |
SCALE | |
The device can act as a scale. More... | |
CONN | |
Specification on how to connect to a device. More... | |
SERIALCOMM | |
Serial communication specification, in the form: More... | |
MODBUSADDR | |
Modbus slave address specification. More... | |
SAMPLERATE | |
The device supports setting its samplerate, in Hz. More... | |
CAPTURE_RATIO | |
The device supports setting a pre/post-trigger capture ratio. More... | |
PATTERN_MODE | |
The device supports setting a pattern (pattern generator mode). More... | |
RLE | |
The device supports run-length encoding (RLE). More... | |
TRIGGER_SLOPE | |
The device supports setting trigger slope. More... | |
AVERAGING | |
The device supports averaging. More... | |
AVG_SAMPLES | |
The device supports setting number of samples to be averaged over. More... | |
TRIGGER_SOURCE | |
Trigger source. More... | |
HORIZ_TRIGGERPOS | |
Horizontal trigger position. More... | |
BUFFERSIZE | |
Buffer size. More... | |
TIMEBASE | |
Time base. More... | |
FILTER | |
Filter. More... | |
VDIV | |
Volts/div. More... | |
COUPLING | |
Coupling. More... | |
TRIGGER_MATCH | |
Trigger matches. More... | |
SAMPLE_INTERVAL | |
The device supports setting its sample interval, in ms. More... | |
NUM_HDIV | |
Number of horizontal divisions, as related to SR_CONF_TIMEBASE. More... | |
NUM_VDIV | |
Number of vertical divisions, as related to SR_CONF_VDIV. More... | |
SPL_WEIGHT_FREQ | |
Sound pressure level frequency weighting. More... | |
SPL_WEIGHT_TIME | |
Sound pressure level time weighting. More... | |
SPL_MEASUREMENT_RANGE | |
Sound pressure level measurement range. More... | |
HOLD_MAX | |
Max hold mode. More... | |
HOLD_MIN | |
Min hold mode. More... | |
VOLTAGE_THRESHOLD | |
Logic low-high threshold range. More... | |
EXTERNAL_CLOCK | |
The device supports using an external clock. More... | |
SWAP | |
The device supports swapping channels. More... | |
CENTER_FREQUENCY | |
Center frequency. More... | |
NUM_LOGIC_CHANNELS | |
The device supports setting the number of logic channels. More... | |
NUM_ANALOG_CHANNELS | |
The device supports setting the number of analog channels. More... | |
VOLTAGE | |
Current voltage. More... | |
VOLTAGE_TARGET | |
Maximum target voltage. More... | |
CURRENT | |
Current current. More... | |
CURRENT_LIMIT | |
Current limit. More... | |
ENABLED | |
Enabling/disabling channel. More... | |
CHANNEL_CONFIG | |
Channel configuration. More... | |
OVER_VOLTAGE_PROTECTION_ENABLED | |
Over-voltage protection (OVP) feature. More... | |
OVER_VOLTAGE_PROTECTION_ACTIVE | |
Over-voltage protection (OVP) active. More... | |
OVER_VOLTAGE_PROTECTION_THRESHOLD | |
Over-voltage protection (OVP) threshold. More... | |
OVER_CURRENT_PROTECTION_ENABLED | |
Over-current protection (OCP) feature. More... | |
OVER_CURRENT_PROTECTION_ACTIVE | |
Over-current protection (OCP) active. More... | |
OVER_CURRENT_PROTECTION_THRESHOLD | |
Over-current protection (OCP) threshold. More... | |
CLOCK_EDGE | |
Choice of clock edge for external clock ("r" or "f"). More... | |
AMPLITUDE | |
Amplitude of a source without strictly-defined MQ. More... | |
REGULATION | |
Channel regulation get: "CV", "CC" or "UR", denoting constant voltage, constant current or unregulated. More... | |
OVER_TEMPERATURE_PROTECTION | |
Over-temperature protection (OTP) More... | |
OUTPUT_FREQUENCY | |
Output frequency in Hz. More... | |
OUTPUT_FREQUENCY_TARGET | |
Output frequency target in Hz. More... | |
MEASURED_QUANTITY | |
Measured quantity. More... | |
EQUIV_CIRCUIT_MODEL | |
Equivalent circuit model. More... | |
OVER_TEMPERATURE_PROTECTION_ACTIVE | |
Over-temperature protection (OTP) active. More... | |
SESSIONFILE | |
Session filename. More... | |
CAPTUREFILE | |
The device supports specifying a capturefile to inject. More... | |
CAPTURE_UNITSIZE | |
The device supports specifying the capturefile unit size. More... | |
POWER_OFF | |
Power off the device. More... | |
DATA_SOURCE | |
Data source for acquisition. More... | |
PROBE_FACTOR | |
The device supports setting a probe factor. More... | |
LIMIT_MSEC | |
The device supports setting a sample time limit (how long the sample acquisition should run, in ms). More... | |
LIMIT_SAMPLES | |
The device supports setting a sample number limit (how many samples should be acquired). More... | |
LIMIT_FRAMES | |
The device supports setting a frame limit (how many frames should be acquired). More... | |
CONTINUOUS | |
The device supports continuous sampling. More... | |
DATALOG | |
The device has internal storage, into which data is logged. More... | |
DEVICE_MODE | |
Device mode for multi-function devices. More... | |
TEST_MODE | |
Self test mode. More... | |
tuple | id |
tuple | name |
tuple | identifier |
Static Public Attributes inherited from sigrok.core.classes.EnumValueConfigKey | |
tuple | get |
Configuration key.
def sigrok.core.classes.ConfigKey.data_type | ( | self | ) |
Data type used for this configuration key.
def sigrok.core.classes.ConfigKey.description | ( | self | ) |
Description of this configuration key.
def sigrok.core.classes.ConfigKey.parse_string | ( | self, | |
value | |||
) |
Parse a string argument into the appropriate type for this key.
|
static |
The device can act as an oscilloscope.
|
static |
The device can act as a multimeter.
|
static |
The device is a demo device.
|
static |
The device can act as a sound level meter.
|
static |
The device can measure temperature.
|
static |
The device can measure humidity.
|
static |
The device can measure energy consumption.
|
static |
The device can act as a signal demodulator.
|
static |
The device can act as a programmable power supply.
|
static |
The device can act as an LCR meter.
|
static |
The device can act as an electronic load.
|
static |
The device can act as a scale.
|
static |
Specification on how to connect to a device.
|
static |
Serial communication specification, in the form:
|
static |
Modbus slave address specification.
|
static |
The device supports setting its samplerate, in Hz.
|
static |
The device supports setting a pre/post-trigger capture ratio.
|
static |
The device supports setting a pattern (pattern generator mode).
|
static |
The device supports run-length encoding (RLE).
|
static |
The device supports setting trigger slope.
|
static |
The device supports averaging.
|
static |
The device supports setting number of samples to be averaged over.
|
static |
Trigger source.
|
static |
Horizontal trigger position.
|
static |
Buffer size.
|
static |
Time base.
|
static |
Filter.
|
static |
Volts/div.
|
static |
Coupling.
|
static |
Trigger matches.
|
static |
The device supports setting its sample interval, in ms.
|
static |
Number of horizontal divisions, as related to SR_CONF_TIMEBASE.
|
static |
Number of vertical divisions, as related to SR_CONF_VDIV.
|
static |
Sound pressure level frequency weighting.
|
static |
Sound pressure level time weighting.
|
static |
Sound pressure level measurement range.
|
static |
Max hold mode.
|
static |
Min hold mode.
|
static |
Logic low-high threshold range.
|
static |
The device supports using an external clock.
|
static |
The device supports swapping channels.
|
static |
Center frequency.
|
static |
The device supports setting the number of logic channels.
|
static |
The device supports setting the number of analog channels.
|
static |
Current voltage.
|
static |
Maximum target voltage.
|
static |
Current current.
|
static |
Current limit.
|
static |
Enabling/disabling channel.
|
static |
Channel configuration.
|
static |
Over-voltage protection (OVP) feature.
|
static |
Over-voltage protection (OVP) active.
|
static |
Over-voltage protection (OVP) threshold.
|
static |
Over-current protection (OCP) feature.
|
static |
Over-current protection (OCP) active.
|
static |
Over-current protection (OCP) threshold.
|
static |
Choice of clock edge for external clock ("r" or "f").
|
static |
Amplitude of a source without strictly-defined MQ.
|
static |
Channel regulation get: "CV", "CC" or "UR", denoting constant voltage, constant current or unregulated.
|
static |
Over-temperature protection (OTP)
|
static |
Output frequency in Hz.
|
static |
Output frequency target in Hz.
|
static |
Measured quantity.
|
static |
Equivalent circuit model.
|
static |
Over-temperature protection (OTP) active.
|
static |
Session filename.
|
static |
The device supports specifying a capturefile to inject.
|
static |
The device supports specifying the capturefile unit size.
|
static |
Power off the device.
|
static |
Data source for acquisition.
|
static |
The device supports setting a probe factor.
|
static |
The device supports setting a sample time limit (how long the sample acquisition should run, in ms).
|
static |
The device supports setting a sample number limit (how many samples should be acquired).
|
static |
The device supports setting a frame limit (how many frames should be acquired).
|
static |
The device supports continuous sampling.
|
static |
The device has internal storage, into which data is logged.
|
static |
Device mode for multi-function devices.
|
static |
Self test mode.