|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.lsst.ccs.framework.Module
org.lsst.ccs.subsystems.shutter.ShutterModule
public class ShutterModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.lsst.ccs.framework.Module |
|---|
org.lsst.ccs.framework.Module.ValueUpdate |
| Nested classes/interfaces inherited from interface org.lsst.ccs.framework.Configurable |
|---|
org.lsst.ccs.framework.Configurable.Environment |
| Field Summary |
|---|
| Fields inherited from class org.lsst.ccs.framework.Module |
|---|
environment, log, name, nObserverThreads, registry, tickMillis |
| Constructor Summary | |
|---|---|
ShutterModule()
|
|
| Method Summary | |
|---|---|
void |
closeShutter()
|
BladeSet |
getBladeSet(int index)
|
double |
getBladeSetPosition(int index)
|
double |
getExposureTimeSeconds()
This time should on average be equal to the effective exposure time Any asymmetry, offset, should be calibrated and handled by the implementation |
double |
getMoveTimeSeconds()
|
void |
initModule()
|
void |
moveToPosition(int index,
float targetPosition,
float moveTimeSeconds)
|
void |
moveToPosition(int index,
float targetPosition,
float moveTimeSeconds,
boolean initialize)
|
void |
setBladeSets(List<BladeSet> bladeSets)
|
void |
setExposureTimeSeconds(double exposureTimeSeconds)
|
void |
setMoveTimeSeconds(float moveTimeSeconds)
|
void |
takeExposure(float exposureTimeSeconds)
|
void |
takeImage()
|
void |
takeImage(float moveTimeSeconds,
float exposureTimeSeconds)
|
void |
takeImage(int firstBladeSetIndex,
float moveTimeSeconds,
float exposureTimeSeconds)
Takes a single exposure |
void |
tick()
What has to be done for each tick of the timer. |
| Methods inherited from class org.lsst.ccs.framework.Module |
|---|
alias, change, checkHardware, dropConfigurationContext, getAvailableCommands, getCheckedValueFromConfiguration, getChildren, getContext, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, register, removeLogPanicState, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setHandlerLevel, setLogLevel, 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 |
|---|
public ShutterModule()
| Method Detail |
|---|
public void setBladeSets(List<BladeSet> bladeSets)
public BladeSet getBladeSet(int index)
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.Modulepublic double getExposureTimeSeconds()
public void setExposureTimeSeconds(double exposureTimeSeconds)
public double getMoveTimeSeconds()
public void setMoveTimeSeconds(float moveTimeSeconds)
public double getBladeSetPosition(int index)
public void moveToPosition(int index,
float targetPosition,
float moveTimeSeconds,
boolean initialize)
public void moveToPosition(int index,
float targetPosition,
float moveTimeSeconds)
public void takeImage()
throws InterruptedException,
IllegalArgumentException
InterruptedException
IllegalArgumentException
public void takeExposure(float exposureTimeSeconds)
throws InterruptedException,
IllegalArgumentException
InterruptedException
IllegalArgumentException
public void takeImage(int firstBladeSetIndex,
float moveTimeSeconds,
float exposureTimeSeconds)
throws InterruptedException,
IllegalArgumentException
firstBladeSetIndex - index of the bladeSet to move firstexposureTimeSeconds - exposure time, on average is equal to the effective exposure timemoveTimeSeconds - time to open or close.
InterruptedException
IllegalArgumentException
public void takeImage(float moveTimeSeconds,
float exposureTimeSeconds)
throws InterruptedException,
IllegalArgumentException
InterruptedException
IllegalArgumentException
public void closeShutter()
throws InterruptedException
InterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||