public class CanOpenLPCGaugeHD2001 extends CanOpenSensor14bits implements Thermometer, PressureSensor, HygrometrySensor
adc, numOfAnalogInputvalue| 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(PDOStorage pdo) |
getAdc, getNumOfAnalogInput, initModule, readNewValue, setAdcName, setNumOfAnalogInput, toString, updateValuegetValue, printValue, setValue, updateValuegetComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, 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, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, setBulkParameter, start, submitChange, submitChanges, validateBulkChangepublic double readTemperature()
throws SDORequestException,
HardwareNotDetectedException,
FcsHardwareException
readTemperature in interface ThermometerSDORequestExceptionHardwareNotDetectedExceptionFcsHardwareExceptionpublic double readTemperatureWithPDO(PDOStorage pdo) throws org.lsst.ccs.messaging.BadCommandException
org.lsst.ccs.messaging.BadCommandExceptionpublic double readPressure()
throws FcsHardwareException
readPressure in interface PressureSensorFcsHardwareExceptionpublic double readHygrometry()
throws FcsHardwareException
readHygrometry in interface HygrometrySensorFcsHardwareExceptionCopyright © 2016 LSST. All rights reserved.