org.lsst.ccs.subsystems.fcs.drivers
Class CanOpenFilterClampModule

java.lang.Object
  extended by java.util.Observable
      extended by org.lsst.ccs.framework.Module
          extended by org.lsst.ccs.subsystems.fcs.FilterClampModule
              extended by org.lsst.ccs.subsystems.fcs.drivers.CanOpenFilterClampModule
All Implemented Interfaces:
Serializable, Observer

public class CanOpenFilterClampModule
extends FilterClampModule

This is a Filter Clamp Module that is drived by a Can Open bus.

Author:
virieux
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module
org.lsst.ccs.framework.Module.ValueUpdate
 
Field Summary
 
Fields inherited from class org.lsst.ccs.subsystems.fcs.FilterClampModule
clampState, filterPresenceStatus, publishedByClampOutputName, temperature, updatingState
 
Fields inherited from class org.lsst.ccs.framework.Module
configMethods, log, name, nObserverThreads, registry, tickMillis
 
Constructor Summary
CanOpenFilterClampModule()
           
 
Method Summary
 CanOpenADC getAdc()
           
 int getNumOfAnalogInputForTemp()
           
 double readTemperature()
          Read the temperature, for each clamp, a thermometer is plugged on the input number numOfAnalogInputForTemp of the ADC AI814.
 void setAdc(CanOpenADC adc)
           
 void setNumOfAnalogInputForTemp(int numOfAnalogInputForTemp)
           
 
Methods inherited from class org.lsst.ccs.subsystems.fcs.FilterClampModule
computeClampState, getActuator, getClampState, getFilterPositionMaxValue, getFilterPositionMinValue, getFilterPositionValueA, getFilterPositionValueB, getFilterPositionValueC, getFilterPresenceSensor, getFilterPresenceStatus, getLockSensor, getLockSensorMaxValue, getLockSensorMinValue, getLockSensorValueA, getLockSensorValueB, getLockSensorValueC, getLockStatus, getStatusData, getTemperature, initModule, isFilterEngaged, isLocked, release, setActuator, setFilterPositionMaxValue, setFilterPositionMinValue, setFilterPositionValueA, setFilterPositionValueB, setFilterPositionValueC, setFilterPresenceSensor, setLockSensor, setLockSensorMaxValue, setLockSensorMinValue, setLockSensorValueA, setLockSensorValueB, setLockSensorValueC, setLockStatus, tick, unlock, updateStateWithSensors
 
Methods inherited from class org.lsst.ccs.framework.Module
change, checkHardware, dropConfigurationContext, getCheckedValueFromConfiguration, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, register, register, sendToReply, sendToStatus, setBeanName, setContext, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, shutdownCommand, shutdownNow, start, startTicking, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CanOpenFilterClampModule

public CanOpenFilterClampModule()
Method Detail

getAdc

public CanOpenADC getAdc()

setAdc

public void setAdc(CanOpenADC adc)

getNumOfAnalogInputForTemp

public int getNumOfAnalogInputForTemp()

setNumOfAnalogInputForTemp

public void setNumOfAnalogInputForTemp(int numOfAnalogInputForTemp)

readTemperature

public double readTemperature()
Read the temperature, for each clamp, a thermometer is plugged on the input number numOfAnalogInputForTemp of the ADC AI814.

Specified by:
readTemperature in class FilterClampModule
Returns:
Throws:
ReadingADCError


Copyright © 2012 LSST. All Rights Reserved.