public class CanOpenSensor14bits extends Sensor14bits
maxValue, minValue, value| Constructor and Description |
|---|
CanOpenSensor14bits(String moduleName,
int aTickMillis,
String adcName,
int numOfAnalogInput) |
| Modifier and Type | Method and Description |
|---|---|
void |
initModule() |
int |
readNewValue()
This method reads the current value in decimal measured by the hardware
or compute a random value for the simulated sensor, and returns this
current value.
|
void |
setAdcName(String adcName) |
void |
setNumOfAnalogInput(int numOfAnalogInput) |
String |
toString() |
int |
updateValue(CanOpenProxy.PDOStorage pdoStorage)
This methods update the field value in extracting it from the parameter sensorsValues
which represents all the values read for an ADC.
|
getValue, setValue, updateValuealias, change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void setAdcName(String adcName)
public void setNumOfAnalogInput(int numOfAnalogInput)
public void initModule()
initModule in class Sensor14bitspublic int readNewValue()
throws HardwareException
SensorHardwareExceptionpublic int updateValue(CanOpenProxy.PDOStorage pdoStorage)
Sensor14bitsupdateValue in class Sensor14bitspublic String toString()
toString in class Sensor14bitsCopyright © 2013 LSST. All Rights Reserved.