pysigrok  0.4.0
Python bindings for libsigrok
Public Member Functions | Static Public Attributes | Properties | List of all members
sigrok.core.classes.Device Class Reference

A generic device, either hardware or virtual. More...

+ Inheritance diagram for sigrok.core.classes.Device:

Public Member Functions

def serial_number (self)
 Serial number for this device. More...
 
def connection_id (self)
 Connection ID for this device. More...
 
def open (self)
 Open device. More...
 
def close (self)
 Close device. More...
 
- Public Member Functions inherited from sigrok.core.classes.Configurable
def config_keys (self)
 Supported configuration keys. More...
 
def config_get (self, key)
 Read configuration for the given key. More...
 
def config_list (self, key)
 Enumerate available values for the given configuration key. More...
 
def config_capabilities (self, key)
 Enumerate configuration capabilities for the given configuration key. More...
 
def config_check (self, key, capability)
 Check whether a configuration capability is supported for a given key. More...
 
def config_set (self, args)
 Set configuration for the given key to a specified value. More...
 

Static Public Attributes

tuple vendor
 
tuple model
 
tuple version
 

Properties

 channels
 
 channel_groups
 

Detailed Description

A generic device, either hardware or virtual.

Member Function Documentation

def sigrok.core.classes.Device.serial_number (   self)

Serial number for this device.

def sigrok.core.classes.Device.connection_id (   self)

Connection ID for this device.

def sigrok.core.classes.Device.open (   self)

Open device.

def sigrok.core.classes.Device.close (   self)

Close device.


The documentation for this class was generated from the following file: