public class Archon
extends org.lsst.ccs.framework.Module
| Constructor and Description |
|---|
Archon(String name,
int tickMillis,
String ip) |
alias, getComponentDictionariesTree, getComponentTree, getContext, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, percolateSignal, postStart, processUpdate, publishData, publishData, publishData, publishData, publishData, publishData, publishData, sendSignal, sendSignal, sendSignalWithTimeLimit, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, setTickMillis, signal, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getDictionary, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, proceduralWalk, publish, publish, publish, publish, publish, publish, start, treeWalkpublic void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void shutdownNow()
shutdownNow in interface org.lsst.ccs.framework.ConfigurableshutdownNow in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.Module@Command public void setConfigFromFile(String fn)
@Command public void setAndApplyConfig(ArchonConfiguration c)
@Command public void setAndApplyParams(ArchonConfiguration c)
@Command public org.lsst.ccs.utilities.ccd.CCDType getDefaultCCDType()
@Command public void setDefaultCCDType(org.lsst.ccs.utilities.ccd.CCDType ccdType)
@Command public void setDefaultCCDTypeName(String ccdType)
@Command public org.lsst.ccs.utilities.ccd.CCDType getCCDType()
@Command public void setConfig(ArchonConfiguration c)
@Command public void addBinaryTable(String pddatfile, String fitsfile, String extnam, String c1name, String c2name, double tstart) throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command public double getFluxStats(String fitsfile) throws nom.tam.fits.FitsException, IOException
nom.tam.fits.FitsExceptionIOException@Command public void setAcqParam(String acqParam)
public String getAcqParam()
@Command(description="Get the archon controller status") public ArchonControllerStatus getControllerStatus()
@Command(description="Test if images will be sent to DS9 automatically") public boolean isSendImagesToDS9()
@Command(description="Set if images should be sent to DS9 automatically") public void setSendImagesToDS9(boolean sendImagesToDS9)
@Command(description="Set an archon configuration parameter. Requires applyParams of applyConfig after.") public void setParameter(String name, String value)
@Command(description="Set an archon configuration parameter and applies the one line change.") public void setAndApplyParam(String name, String value) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get an archon configuration parameter") public String getParameter(String name)
@Command(description="Set an archon configuration constant. Requires applyTiming of applyConfig after.") public void setConstant(String name, String value)
@Command(description="Get an archon configuration constant") public String getConstant(String name)
@Command(description="Set an archon configuration labeled value. Requires applyLabed or applyConfig after.") public void setLabeled(String name, String value)
@Command(description="Updates archon configuration with new labeled values") public void applyLabeled()
@Command(description="Override a FITS header")
public void setHeader(@Argument(name="name")
String name,
@Argument(name="value",defaultValue="")
Object value)
@Command(description="Set the directory into which FITS file will be stored") public void setFitsDirectory(String dir)
@Command(type=QUERY,
description="retrieve the last acq test type")
public String getLastTestType()
@Command(description="Set the file name into which FITS file will be stored") public void setFitsFilename(String fileName)
fileName - The file name, including escape sequences.@Command(description="Set the file name into which FITS file will be stored") public void setCCDnum(String ccdnum)
@Command(description="Send archon configuration to controller and apply all. Resets timing core and powers off the ccd.") public void applyConfig()
@ConfigChanger @Command(description="Send archon configuration to controller and apply params") public void applyParams()
@Command(description="Send archon configuration to controller and reload timing scripts. Resets timing core.") public void applyTiming()
@Command(description="Turn on the CCD") public void powerOnCCD()
@Command(description="Turn off the CCD") public void powerOffCCD()
public org.lsst.ccs.drivers.archon.RawImageData acquireImage()
@Command(description="trigger image exposure and readout, and acquire the image w/o applying the whole config") public String exposeAcquireAndSaveWithoutApply() throws IOException, nom.tam.fits.FitsException, org.lsst.ccs.drivers.commons.DriverException
IOExceptionnom.tam.fits.FitsExceptionorg.lsst.ccs.drivers.commons.DriverException@Command(description="trigger image exposure and readout, and acquire the image") public String exposeAcquireAndSave() throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="snap an image (filename, exptime (ms)") public String snap(@Argument(name="filename",description="filename with or without the full path") String fln, @Argument(name="exptime",description="exposure time in an integer number of msec") int exptime) throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="snap an image (filename, exptime (ms), light(1)/dark(0)") public String snap(@Argument(name="filename",description="filename with or without the full path") String fln, @Argument(name="exptime",description="exposure time in an integer number of msec") int exptime, @Argument(name="light",description="light(=1) or dark(=0) exposure") int light) throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="snap an image (filename, exptime (ms), light(1)/dark(0), fe55(1),no fe55(0)") public String snap(@Argument(name="filename",description="filename with or without the full path") String fln, @Argument(name="exptime",description="exposure time in an integer number of msec") int exptime, @Argument(name="light",description="light(=1) or dark(=0) exposure") int light, @Argument(name="fe55",description="XED actuated(=1) or XED inactive(=0)") int fe55) throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="perform setup for acquisitions")
public int eoSetup(@Argument(name="acffile",description="filename of acf file")
String acffile,
@Argument(name="ccdtype",description="filename of acf file")
String ccdtype)
throws IOException,
nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="trigger image exposure and readout, for a series of images")
public void exposeAcquireAndSaveSeveral(int n)
throws IOException,
nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="acquire an image and save it to the default location") public String acquireAndSaveImage() throws IOException, nom.tam.fits.FitsException
IOExceptionnom.tam.fits.FitsException@Command(description="get the average signal of the last image") public double getImageAverageSignal()
@Command(description="Send a set command to DS9") public void ds9Set(String cmd, @Argument(name="url",defaultValue="") String arg) throws URISyntaxException, org.astrogrid.samp.client.SampException
URISyntaxExceptionorg.astrogrid.samp.client.SampException@Command(description="Send a get command to DS9") public List<String> ds9Get(String cmd) throws org.astrogrid.samp.client.SampException
org.astrogrid.samp.client.SampExceptionpublic List<String> ds9Versions() throws org.astrogrid.samp.client.SampException
org.astrogrid.samp.client.SampException@Command(description="get the timeout for fetching images in millisecs") public long getFetch_timeout()
@Command(description="set the timeout for fetching images in millisecs") public void setFetch_timeout(long fetch_timeout)
@Command(description="is an exposure occuring") public boolean isInExposure()
@Command(description="wait for an exposure to end") public int waitForExpoEnd()
Copyright © 2015 LSST. All rights reserved.