public class MCMSubsystem
extends org.lsst.ccs.Subsystem
implements org.lsst.ccs.framework.HasLifecycle, org.lsst.ccs.services.HasDataProviderInfos
| Constructor and Description |
|---|
MCMSubsystem() |
| Modifier and Type | Method and Description |
|---|---|
org.lsst.ccs.imagenaming.ImageName |
allocateImageName() |
void |
clear(int nClears) |
void |
clearAndStartNamedIntegration(org.lsst.ccs.imagenaming.ImageName imageName,
boolean shutter,
int clears,
String annotation,
Set sensors,
Map<String,Serializable> headersMap)
Starts an integration, and returns immediately.The exposure is to be finished
by explicitly calling endIntegration.
|
void |
closeShutter() |
void |
definePlaylist(String playlist,
String daqFolder,
String... images) |
void |
disableCalibration() |
void |
discardRows(int nRows) |
void |
enableCalibration() |
void |
endImage() |
void |
endIntegration()
Ends a previous clearAndStartNamedIntegration.
|
void |
init() |
void |
initGuiders(String roiSpec) |
void |
initImage(double delta) |
void |
openShutter() |
void |
play(String playlist,
boolean repeat) |
void |
postInit() |
void |
postStart() |
void |
publishDataProviderCurrentData(org.lsst.ccs.bus.data.AgentInfo... agents) |
void |
setFilter(String name) |
void |
setHeaderKeywords(Map<String,Serializable> headersMap) |
void |
standby() |
void |
start(String configuration) |
void |
startImage(boolean shutter,
String sensors,
String keyValueData,
String annotation,
double timeout) |
void |
takeImage(org.lsst.ccs.imagenaming.ImageName imageName,
boolean shutter,
double expTime,
int clears,
String annotation,
Set sensors,
Map<String,Serializable> headersMap)
Unlike takeImages, this method will return immediately.Use waitForImageCompletion to block
until image is complete.
|
void |
takeImages(double expTime,
int numImages,
boolean shutter,
String sensors,
String keyValueData,
String annotation) |
void |
waitForImage()
Block until the image is complete
|
getLogHandler, getLogHandlerLevel, getLogLevel, getNumberCommandThreads, isLogLevelInherited, ping, printLoggersLevel, printLogHandlersLevel, printRunningCommands, setLogFormat, setLogHandlerLevel, setLogLevel, setStackTraceDepthcreateHelper, executeCommandRequest, getAgentInfo, getAgentPersistenceService, getAgentService, getAgentServices, getCommandCount, getComponentConfigurationEnvironment, getComponentConfigurationEnvironmentByName, getComponentLookup, getCurrentAction, getDescription, getEnvironmentLockService, getEnvironmentMessagingAccess, getLogger, getMessagingAccess, getName, getScheduler, helper, initAgent, initLogBusHandler, isInEngineeringMode, populateComponentLookup, preInit, preStart, printComponentNodeTree, publishMonitoringDataOnStatusBus, publishSubsystemDataOnStatusBus, sendAck, sendNack, sendStatusMessage, setAgentName, shutdownAgent, shutdownAgent, startAgent, vetoTransitionToNormalModeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, postBuild, postShutdown, shutdown, startpublic void init()
init in interface org.lsst.ccs.framework.HasLifecyclepublic void postInit()
postInit in interface org.lsst.ccs.framework.HasLifecyclepublic void postStart()
postStart in interface org.lsst.ccs.framework.HasLifecycle@Command(type=ACTION, autoAck=false, level=0) public void initImage(@Argument(description="Time in seconds") double delta) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void startImage(boolean shutter, String sensors, String keyValueData, String annotation, double timeout) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void takeImages(double expTime, int numImages, boolean shutter, String sensors, String keyValueData, String annotation) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void setFilter(String name) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void initGuiders(String roiSpec) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void endImage() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void clear(int nClears) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void play(String playlist, @Argument(defaultValue="false") boolean repeat) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void definePlaylist(String playlist, String daqFolder, String... images) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void discardRows(int nRows) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void setHeaderKeywords(Map<String,Serializable> headersMap) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public org.lsst.ccs.imagenaming.ImageName allocateImageName() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void clearAndStartNamedIntegration(org.lsst.ccs.imagenaming.ImageName imageName, boolean shutter, int clears, String annotation, Set sensors, Map<String,Serializable> headersMap) throws Exception
imageName - The image name to useshutter - Whether to open/close the shutterclears - The number of clears to performannotation - The image annotationsensors - The set of sensors to readoutheadersMap - The set of headers to pass to focal-planeException@Command(type=ACTION, autoAck=false, level=0) public void endIntegration() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void takeImage(org.lsst.ccs.imagenaming.ImageName imageName, boolean shutter, double expTime, int clears, String annotation, Set sensors, Map<String,Serializable> headersMap) throws Exception
imageName - The image name to use (previously allocated?)shutter - Whether or not to open the shutterexpTime - The exposure timeclears - The number of clearsannotation - The image annotationsensors - The set of sensors to readoutheadersMap - Exception@Command(type=ACTION, autoAck=false, level=0) public void waitForImage() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void openShutter() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void closeShutter() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void start(String configuration) throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void standby() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void enableCalibration() throws Exception
Exception@Command(type=ACTION, autoAck=false, level=0) public void disableCalibration() throws Exception
Exceptionpublic void publishDataProviderCurrentData(org.lsst.ccs.bus.data.AgentInfo... agents)
publishDataProviderCurrentData in interface org.lsst.ccs.services.HasDataProviderInfosCopyright © 2024 LSST. All rights reserved.