public class CanOpenLPCGaugeHD2001 extends CanOpenSensor14bits implements Thermometer, PressureSensor, HygrometrySensor
fcslog, maxValue, minValue, value| Constructor and Description |
|---|
CanOpenLPCGaugeHD2001(String moduleName,
int aTickMillis,
String adcName,
int numOfAnalogInput,
int offsetTemp,
int offsetPressure) |
| Modifier and Type | Method and Description |
|---|---|
double |
readHygrometry()
Read the hygrometry with the sensor and returns the new value in %RH
|
double |
readPressure()
Read the pressure sensors and returns the new value in mbar
|
double |
readTemperature()
Read the temparature and returns the new value in degree celcius.
|
double |
readTemperatureWithPDO(CanOpenProxy.PDOStorage pdo) |
getAdc, getNumOfAnalogInput, initModule, readNewValue, setAdcName, setNumOfAnalogInput, toString, updateValuegetValue, printValue, setValue, updateValuealias, getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, setTickMillis, shutdownNow, signal, startTicking, tick, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic double readTemperature()
throws SDORequestException,
HardwareNotDetectedException
readTemperature in interface ThermometerSDORequestExceptionHardwareNotDetectedExceptionpublic double readTemperatureWithPDO(CanOpenProxy.PDOStorage pdo) throws org.lsst.ccs.messaging.BadCommandException
readTemperatureWithPDO in interface Thermometerorg.lsst.ccs.messaging.BadCommandExceptionpublic double readPressure()
throws FcsHardwareException
readPressure in interface PressureSensorFcsHardwareExceptionpublic double readHygrometry()
throws FcsHardwareException
readHygrometry in interface HygrometrySensorFcsHardwareExceptionCopyright © 2015 LSST. All rights reserved.