
public class TSSubSys
extends org.lsst.ccs.framework.Module
implements org.lsst.ccs.subsystem.monitor.Monitor.AlarmHandler
| Constructor and Description |
|---|
TSSubSys(String name,
int tickMillis,
String configName)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
eoSetupPostCfg(int vac_outlet)
Perform setup actions needed after powering on the CCD
**************************************************************************
|
int |
eoSetupPostCfg(int vac_outlet,
String state2)
Perform setup actions needed after powering on the CCD
**************************************************************************
|
int |
eoSetupPreCfg()
Perform setup actions needed before powering on the CCD
**************************************************************************
|
int |
eoSetupPreCfg(String state1)
Perform setup actions needed before powering on the CCD
**************************************************************************
|
TSFullState |
getFullState()
Gets the full state of the test stand module.
|
int |
getReqSlitWidth(double wl)
Returns the required slit width for a given wavelength *
**************************************************************************
|
int |
getState()
Gets the operating state word.
|
TSConfig |
getTeststandc() |
int |
goTestStand()
put system in mode for acquisition
|
void |
initModule()
Initializes the test stand subsystem.
|
boolean |
isDoTestStandReadyCheck() |
int |
isTestStandReady()
Tells if the subsystem is ready for acquisition go step
**************************************************************************
|
String |
printFullState()
Prints the full state of test stand * *
**************************************************************************
|
void |
processAlarm(int event,
int parm)
Handles alarm events.
|
void |
publishState()
Publishes the state of the test stand This is intended to be called
whenever any element of the state is * changed.
|
void |
reinit()
reinit devices
|
void |
resetTrip() |
void |
saveConfiguration()
Saves the configuration data.
|
protected Object |
sendSyncArchonCommand(String name,
Object... params) |
protected Object |
sendSyncTSCommand(String name,
Object... params) |
void |
setDoTestStandReadyCheck(boolean doTestStandReadyCheck) |
void |
setSlitWidthFile(String fl)
set the source file path for the slit width data
**************************************************************************
|
void |
setState(int state)
Sets the TS state word.
|
void |
setTickMillis(int value)
Sets the tick period.
|
int |
setTSAcq1()
Set the subsystem to the acquisition 1 state *
**************************************************************************
|
int |
setTSEXPERT()
Set the subsystem to the EXPERT state *
**************************************************************************
|
int |
setTSIdle()
Set the subsystem to the idle state *
**************************************************************************
|
int |
setTSReady()
Set the subsystem to the ready state *
**************************************************************************
|
int |
setTSStateByName(String statename)
Set the subsystem to the idle state *
**************************************************************************
|
int |
setTSTEST()
Set the subsystem to the TEST state *
**************************************************************************
|
int |
setTSWarm()
Set the subsystem to the acquisition 2 state *
**************************************************************************
|
double |
showBiasVAcq()
Returns the configured set point for the acquisition CCD bias voltage *
**************************************************************************
|
void |
Sleep(double secs)
Sleep - what a waste
**************************************************************************
|
void |
soundAlarm() |
void |
soundBleep() |
void |
startSubSys()
startSubSys: put TS sub system into the ready state * * @param value
The enabled state value to set: 0 = off, ~0 = on.
|
void |
stopSubSys()
stopSubSys: put TS sub system into the ready state * * @param value The
enabled state value to set: 0 = off, ~0 = on.
|
void |
tick()
Performs periodic trending data broadcast.
|
getComponentTree, getEnvironment, getModule, getName, getNObserverThreads, getObservables, getSubsystem, getTickMillis, init, listens, postStart, processUpdate, sendSignal, sendSignalWithTimeLimit, setEnvironment, setName, setNObserverThreads, setObservables, shutdownNow, signal, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchange, getCheckedValueFromConfiguration, getChildren, getComponentByName, getFullPath, getParent, getParentObject, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, setBulkParameter, start, submitChange, submitChanges, validateBulkChange@Command(type=ACTION, description="reinit devices") public void reinit()
public void initModule()
initModule in class org.lsst.ccs.framework.Modulepublic void tick()
tick in class org.lsst.ccs.framework.Module@Command(type=ACTION, description="Sets the tick interval") public void setTickMillis(int value)
setTickMillis in class org.lsst.ccs.framework.Modulevalue - public void processAlarm(int event,
int parm)
processAlarm in interface org.lsst.ccs.subsystem.monitor.Monitor.AlarmHandler@Command(name="resetTrip", description="reset trips etc...") public void resetTrip()
@Command(type=ACTION, description="Start the TS sub system into the ready state") public void startSubSys() throws Exception
Exception@Command(name="isTestStandReady", description="returns 1 if the teststand subsystem is ready for acquisition") public int isTestStandReady() throws Exception
Exception@Command(name="goTestStand", description="put in mode for acquisition") public int goTestStand() throws Exception
Exception - **************************************************************************@Command(name="setTSStateByName", description="set TS subsystem to state indicated by the string") public int setTSStateByName(String statename)
@Command(name="setTSIdle", description="set TS subsystem to the idle state") public int setTSIdle() throws Exception
Exception@Command(name="setTSReady", description="set TS subsystem to the ready state") public int setTSReady() throws Exception
Exception@Command(name="setTSAcq1", description="set TS subsystem to the ACQ1 state") public int setTSAcq1() throws Exception
Exception@Command(name="setTSWarm", description="set TS subsystem to the WARM state") public int setTSWarm() throws Exception
Exception@Command(name="setTSTEST", description="set TS subsystem to the TEST state") public int setTSTEST() throws Exception
Exception@Command(name="setTSEXPERT", description="EXPERTS ONLY!!") public int setTSEXPERT() throws Exception
Exception@Command(name="eoSetupPreCfg", description="prepare for eo acquisition") public int eoSetupPreCfg()
@Command(name="eoSetupPreCfg", description="prepare for eo acquisition") public int eoSetupPreCfg(@Argument(name="state1",description="IDLE,WARM,READY,TEST,ACQ1") String state1)
@Command(name="eoSetupPostCfg", description="prepare for eo acquisition") public int eoSetupPostCfg(@Argument(name="vac_outlet",description="PDU outlet number for the vacuum gauge") int vac_outlet) throws Exception
Exception@Command(name="eoSetupPostCfg", description="prepare for eo acquisition") public int eoSetupPostCfg(@Argument(name="vac_outlet",description="PDU outlet number for the vacuum gauge") int vac_outlet, @Argument(name="state2",description="IDLE,WARM,READY,TEST,ACQ1") String state2) throws Exception
vac_outlet - Exception@Command(name="showBiasVAcq", description="returns the acquisition bias voltage set point") public double showBiasVAcq()
@Command(name="getReqSlitWidth", description="returns the req. slit width for a given wl") public int getReqSlitWidth(double wl)
@Command(name="setSlitWidthFile", description="sets the slit width data file") public void setSlitWidthFile(String fl)
@Command(name="stopsubsys", type=ACTION, description="Stop and set the TS sub system into the ready state") public void stopSubSys()
@Command(name="saveconfig", type=ACTION, description="Saves the current configuration") public void saveConfiguration() throws IOException
IOException@Command(type=QUERY, description="Gets the full test stand state") public TSFullState getFullState()
@Command(name="printfullstate", type=QUERY, description="Prints the full test stand state") public String printFullState()
@Command(name="getstate", type=QUERY, description="Returns the current value of the TS state") public int getState()
public TSConfig getTeststandc()
@Command(name="setstate", type=QUERY, description="sets the current value of the TS state") public void setState(int state)
public void Sleep(double secs)
@Command(name="publishState", type=QUERY, description="publishes the TS state") public void publishState()
@Command(name="isDoTestStandReadyCheck", type=QUERY, description="check whether the test stand ready check is being done") public boolean isDoTestStandReadyCheck()
@Command(name="setDoTestStandReadyCheck", type=QUERY, description="set the test stand ready check on(true)/off(false)") public void setDoTestStandReadyCheck(boolean doTestStandReadyCheck)
Copyright © 2016 LSST. All rights reserved.