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

A stage in a trigger configuration. More...

Public Member Functions

int number ()
 Index number of this stage. More...
 
TriggerMatchVector matches ()
 List of match conditions on this stage. More...
 
void add_match (Channel channel, TriggerMatchType type)
 Add a new match condition to this stage. More...
 
void add_match (Channel channel, TriggerMatchType type, float value)
 Add a new match condition to this stage. More...
 

Detailed Description

A stage in a trigger configuration.

Member Function Documentation

int org.sigrok.core.classes.TriggerStage.number ( )

Index number of this stage.

TriggerMatchVector org.sigrok.core.classes.TriggerStage.matches ( )

List of match conditions on this stage.

void org.sigrok.core.classes.TriggerStage.add_match ( Channel  channel,
TriggerMatchType  type 
)

Add a new match condition to this stage.

Parameters
typeTriggerMatchType to apply.
valueThreshold value.
channelChannel to match on.
void org.sigrok.core.classes.TriggerStage.add_match ( Channel  channel,
TriggerMatchType  type,
float  value 
)

Add a new match condition to this stage.

Parameters
typeTriggerMatchType to apply.
valueThreshold value.
channelChannel to match on.