public class CanOpenGaugeHD2001 extends CanOpenSensor14bits implements Thermometer, PressureGauge, HygrometryGauge
maxValue, minValue, value| Constructor and Description |
|---|
CanOpenGaugeHD2001(String moduleName,
int aTickMillis,
String adcName,
int numOfAnalogInput) |
| 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) |
initModule, readNewValue, setAdcName, setNumOfAnalogInput, toString, updateValuegetValue, 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 double readTemperature()
throws SDORequestException,
HardwareNotDetectedException
readTemperature in interface ThermometerSDORequestExceptionHardwareNotDetectedExceptionpublic double readTemperatureWithPDO(CanOpenProxy.PDOStorage pdo) throws org.lsst.ccs.bus.BadCommandException
readTemperatureWithPDO in interface Thermometerorg.lsst.ccs.bus.BadCommandExceptionpublic double readPressure()
throws HardwareException
readPressure in interface PressureGaugeHardwareExceptionpublic double readHygrometry()
throws HardwareException
readHygrometry in interface HygrometryGaugeHardwareExceptionCopyright © 2014 LSST. All Rights Reserved.