sigrok-java  0.4.0
Java bindings for libsigrok
Public Member Functions | List of all members
org.sigrok.core.classes.UserDevice Class Reference

A virtual device, created by the user. More...

+ Inheritance diagram for org.sigrok.core.classes.UserDevice:

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< Channelchannels ()
 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...
 

Detailed Description

A virtual device, created by the user.

Member Function Documentation

Channel org.sigrok.core.classes.UserDevice.add_channel ( long  index,
ChannelType  type,
String  name 
)

Add a new channel to this device.