com.kuka.roboticsAPI.ioModel
Class AnalogOutput

java.lang.Object
  extended by java.util.Observable
      extended by com.kuka.roboticsAPI.ioModel.AbstractIO
          extended by com.kuka.roboticsAPI.ioModel.Output
              extended by com.kuka.roboticsAPI.ioModel.AnalogOutput
Direct Known Subclasses:
MockedAnalogOutput

public class AnalogOutput
extends Output

Class for analog outputs. Adds validation of analog values.


Constructor Summary
AnalogOutput(Controller controller, String ioGroupName, String ioName, com.kuka.roboticsAPI.ioModel.IOTypes ioDataType, int bitSize, double rangeStart, double rangeEnd)
          creates a new analog output.
 
Method Summary
 void validateValue(Number value)
          Validates the specified value.
 
Methods inherited from class com.kuka.roboticsAPI.ioModel.Output
getReadIORequest, getWriteIORequest, setBooleanValue, setByteValue, setIntValue, setIOValue, setLongValue
 
Methods inherited from class com.kuka.roboticsAPI.ioModel.AbstractIO
getBitSize, getBooleanIOValue, getByteIOValue, getController, getDataType, getIntIOValue, getIOGroupName, getIOName, getIOValue, getLongIOValue, isBoolean, isByte, isInteger, isLong
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalogOutput

public AnalogOutput(Controller controller,
                    String ioGroupName,
                    String ioName,
                    com.kuka.roboticsAPI.ioModel.IOTypes ioDataType,
                    int bitSize,
                    double rangeStart,
                    double rangeEnd)
creates a new analog output.

Parameters:
controller - controller that handles the output.
ioGroupName - name of the output group
ioName - name of the output
ioDataType - type of the output
bitSize - bit size of the output
rangeStart - start of the analog range
rangeEnd - end of the analog range
This element is not in its final state and might change in future versions.
Method Detail

validateValue

public void validateValue(Number value)
Description copied from class: Output
Validates the specified value.

Overrides:
validateValue in class Output
Parameters:
value - the output value to set.


Copyright © 2019. All rights reserved.