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

A channel on a device. More...

Public Member Functions

String name ()
 Current name of this channel. More...
 
void set_name (String name)
 Set the name of this channel. More...
 
ChannelType type ()
 Type of this channel. More...
 
boolean enabled ()
 Enabled status of this channel. More...
 
void set_enabled (boolean value)
 Set the enabled status of this channel. More...
 
long index ()
 Get the index number of this channel. More...
 

Detailed Description

A channel on a device.

Member Function Documentation

String org.sigrok.core.classes.Channel.name ( )

Current name of this channel.

void org.sigrok.core.classes.Channel.set_name ( String  name)

Set the name of this channel.

ChannelType org.sigrok.core.classes.Channel.type ( )

Type of this channel.

boolean org.sigrok.core.classes.Channel.enabled ( )

Enabled status of this channel.

void org.sigrok.core.classes.Channel.set_enabled ( boolean  value)

Set the enabled status of this channel.

Parameters
valueBoolean value to set.
long org.sigrok.core.classes.Channel.index ( )

Get the index number of this channel.