pysigrok
0.4.0
Python bindings for libsigrok
|
A virtual device, created by the user. More...
Public Member Functions | |
def | add_channel (self, index, type, name) |
Add a new channel to this device. More... | |
Public Member Functions inherited from sigrok.core.classes.Device | |
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... | |
Additional Inherited Members | |
Static Public Attributes inherited from sigrok.core.classes.Device | |
tuple | vendor |
tuple | model |
tuple | version |
Properties inherited from sigrok.core.classes.Device | |
channels | |
channel_groups | |
A virtual device, created by the user.
def sigrok.core.classes.UserDevice.add_channel | ( | self, | |
index, | |||
type, | |||
name | |||
) |
Add a new channel to this device.