BowlerKernel
Public Member Functions | List of all members
com.neuronrobotics.sdk.dyio.IDyIOChannel Interface Reference
Inheritance diagram for com.neuronrobotics.sdk.dyio.IDyIOChannel:
Inheritance graph
[legend]

Public Member Functions

DyIOChannel getChannel ()
 
DyIOChannelMode getMode ()
 
int getValue ()
 
boolean setMode (DyIOChannelMode mode, boolean async)
 
boolean setValue (int value)
 
boolean setValue (ByteList value)
 

Detailed Description

The Interface IDyIOChannel.

Definition at line 23 of file IDyIOChannel.java.

Member Function Documentation

◆ getChannel()

DyIOChannel com.neuronrobotics.sdk.dyio.IDyIOChannel.getChannel ( )

This method returns the channel object when requested.

Returns
the DyIOChannel object

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.

◆ getMode()

DyIOChannelMode com.neuronrobotics.sdk.dyio.IDyIOChannel.getMode ( )

Gets the channel's current mode.

Returns
the mode

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.

◆ getValue()

int com.neuronrobotics.sdk.dyio.IDyIOChannel.getValue ( )

Get the current value of a channel.

Returns
the current value

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.

◆ setMode()

boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setMode ( DyIOChannelMode  mode,
boolean  async 
)

Set the mode of a channel.

Parameters
modethe mode to set the channel to
asyncif it should be async or not
Returns
if the action was successful

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.

◆ setValue() [1/2]

boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setValue ( ByteList  value)

Set the value of a channel. Channels may not be able to be set to certain or potentially any values depending on the mode that a channel is in.

Parameters
valuethe value
Returns
true if successful

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, and com.neuronrobotics.sdk.dyio.DyIOChannel.

◆ setValue() [2/2]

boolean com.neuronrobotics.sdk.dyio.IDyIOChannel.setValue ( int  value)

Set the value of a channel. Channels may not be able to be set to certain or potentially any values depending on the mode that a channel is in.

Parameters
valuethe value to set
Returns
if the action was successful

Implemented in com.neuronrobotics.sdk.dyio.peripherals.DyIOAbstractPeripheral, com.neuronrobotics.sdk.dyio.peripherals.CounterOutputChannel, com.neuronrobotics.sdk.dyio.peripherals.CounterInputChannel, and com.neuronrobotics.sdk.dyio.DyIOChannel.


The documentation for this interface was generated from the following file: