
public class TSSubSys
extends org.lsst.ccs.framework.Module
implements org.lsst.ccs.subsystem.monitor.Monitor.AlarmHandler
| Constructor and Description |
|---|
TSSubSys(String stype,
Integer parm)
This gets called on an alarm *
**************************************************************************
|
TSSubSys(String name,
int tickMillis,
String configName)
Main constructor.
|
| Modifier and Type | Method and Description |
|---|---|
TSFullState |
getFullState()
Gets the full state of the test stand module.
|
int |
getState()
Gets the operating state word.
|
void |
goTestStand()
put system in mode for acquisition
**************************************************************************
|
void |
initModule()
Initializes the test stand subsystem.
|
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 |
resetTrip() |
void |
saveConfiguration()
Saves the configuration data.
|
void |
setState(int state)
Sets the TS state word.
|
void |
setTickMillis(int value)
Sets the tick period.
|
void |
setTSAcq1()
Set the subsystem to the acquisition 1 state *
**************************************************************************
|
void |
setTSAcq2()
Set the subsystem to the acquisition 2 state *
**************************************************************************
|
void |
setTSEXPERT()
Set the subsystem to the EXPERT state *
**************************************************************************
|
void |
setTSIdle()
Set the subsystem to the idle state *
**************************************************************************
|
void |
setTSReady()
Set the subsystem to the ready state *
**************************************************************************
|
void |
setTSTEST()
Set the subsystem to the TEST state *
**************************************************************************
|
double |
showBiasVAcq()
Returns the configured set point for the acquisition CCD bias voltage *
**************************************************************************
|
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.
|
void |
writeConfig()
Persists the configuration parameters *
**************************************************************************
|
alias, change, dropConfigurationContext, getCheckedValueFromConfiguration, getChildren, getComponentByName, getComponentDictionariesTree, getComponentTree, getContext, getDictionary, getEnvironment, getMainDictionary, getModule, getName, getNObserverThreads, getObservables, getParent, getSubsystem, getTickMillis, init, injectResources, listens, newConfigurationContext, notifyChange, notifyChangeWithoutPreliminaryChecks, percolateSignal, processUpdate, publish, publish, publish, publish, publish, publish, publishData, publishData, publishData, publishData, publishData, publishData, publishData, register, sendSignal, sendSignal, sendToReply, sendToStatus, setBeanName, setContext, setEnvironment, setName, setNObserverThreads, setObservables, setStateModularSubsystem, setStateModularSubsystem, shutdownCommand, shutdownNow, signal, start, startTicking, updateaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic TSSubSys(String name, int tickMillis, String configName)
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.Modulepublic 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="istsready", 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 void goTestStand() throws Exception
Exception@Command(name="settsidle", description="set TS subsystem to the idle state") public void setTSIdle() throws Exception
Exception@Command(name="settsready", description="set TS subsystem to the ready state") public void setTSReady() throws Exception
Exception@Command(name="settsacq1", description="set TS subsystem to the ACQ1 state") public void setTSAcq1() throws Exception
Exception@Command(name="settsacq2", description="set TS subsystem to the ACQ2 state") public void setTSAcq2() throws Exception
Exception@Command(name="settstest", description="set TS subsystem to the TEST state") public void setTSTEST() throws Exception
Exception@Command(name="settsexpert", description="EXPERTS ONLY!!") public void setTSEXPERT() throws Exception
Exception@Command(name="writeconfig", description="persist config") public void writeConfig()
@Command(name="getbiasvacq", description="returns the acquisition bias voltage set point") public double showBiasVAcq()
@Command(name="stopsubsys", type=ACTION, description="Stop 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()
@Command(name="setstate", type=QUERY, description="sets the current value of the TS state") public void setState(int state)
Copyright © 2014 LSST. All rights reserved.