
public class CanOpenSensor14bits extends Sensor14bits
| Modifier and Type | Field and Description |
|---|---|
protected CanOpenADC |
adc
The ADC on which this sensor is plugged.
|
protected int |
numOfAnalogInput
The numero of analog input where the sensor is plugged.
|
value| Constructor and Description |
|---|
CanOpenSensor14bits(String adcName,
int numOfAnalogInput)
Build a CanOpenSensor14bits with an ADC name a numero of input and a tickMillis of 1000.
|
| Modifier and Type | Method and Description |
|---|---|
void |
initModule() |
int |
readNewValue()
Read a new value of this sensor on the ADC by sending a readSDO request.
|
String |
toString() |
int |
updateValue(PDOStorage pdoStorage)
Update the value of the sensor by retrieving it in a PDOStorage given as argument.
|
getValue, printValue, updateValuegetNObserverThreads, getObservables, getTickMillis, init, listens, processUpdate, sendSignal, sendSignalWithTimeLimit, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitchange, dropSubmittedChanges, getChildren, getComponentByName, getEnvironment, getParent, getParentObject, getSubmittedChanges, isParameterConfigurable, postStart, printConfigurableParameters, setBulkParameter, start, submitChange, submitChanges, validateBulkChangeprotected CanOpenADC adc
@ConfigurationParameter(range="1..25",
description="The numero of the input of ADC where this sensor is plugged on.")
protected int numOfAnalogInput
public CanOpenSensor14bits(String adcName, int numOfAnalogInput)
adcName - numOfAnalogInput - public void initModule()
initModule in class Sensor14bitspublic int readNewValue()
FcsHardwareExceptionpublic int updateValue(PDOStorage pdoStorage)
updateValue in class Sensor14bitspdoStorage - public String toString()
toString in class Sensor14bitsCopyright © 2017 LSST. All rights reserved.