sigrok-java
0.4.0
Java bindings for libsigrok
|
A virtual device, created by the user. More...
Public Member Functions | |
Channel | add_channel (long index, ChannelType type, String name) |
Add a new channel to this device. More... | |
Public Member Functions inherited from org.sigrok.core.classes.Device | |
String | vendor () |
Vendor name for this device. More... | |
String | model () |
Model name for this device. More... | |
String | version () |
Version string for this device. More... | |
String | serial_number () |
Serial number for this device. More... | |
String | connection_id () |
Connection ID for this device. More... | |
java.util.Vector< Channel > | channels () |
List of the channels available on this device. More... | |
ChannelGroupMap | channel_groups () |
Channel groups available on this device, indexed by name. More... | |
void | open () |
Open device. More... | |
void | close () |
Close device. More... | |
Public Member Functions inherited from org.sigrok.core.classes.Configurable | |
ConfigSet | config_keys () |
Supported configuration keys. More... | |
Variant | config_get (ConfigKey key) |
Read configuration for the given key. More... | |
void | config_set (ConfigKey key, Variant value) |
Set configuration for the given key to a specified value. More... | |
SWIGTYPE_p_Glib__VariantContainerBase | config_list (ConfigKey key) |
Enumerate available values for the given configuration key. More... | |
CapabilitySet | config_capabilities (ConfigKey key) |
Enumerate configuration capabilities for the given configuration key. More... | |
boolean | config_check (ConfigKey key, Capability capability) |
Check whether a configuration capability is supported for a given key. More... | |
A virtual device, created by the user.
Channel org.sigrok.core.classes.UserDevice.add_channel | ( | long | index, |
ChannelType | type, | ||
String | name | ||
) |
Add a new channel to this device.