
public class RaftsConsole
extends org.lsst.ccs.BusMaster
implements org.lsst.ccs.bus.DataStatusListener
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftsConsole.Trigger
Trigger enumeration.
|
actionMonitor, ancillaryGroup, closing, commandBuilder, commandBusSelector, commandGroup, commandMonitor, configurationProxy, currentSubsystem, fac, forceShutdown, initializing, initThread, innerState, inTestContext, LOCAL_EXECUTION_INFO, locks, log, logBusHandler, signalsMonitor, startInEngineeringMode, statusBroadcasterLock, statusBroadcasterThread, statusBusSelector, waitingForCommandTermination| Constructor and Description |
|---|
RaftsConsole()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
checkCabac()
Checks CABACs on a REB.
|
void |
checkXml(String file)
Checks the sequencer code compiled from a local XML file.
|
void |
dumpImage(int offset,
int size)
Dumps the contents of the current image.
|
void |
dumpImage(int offset,
int size,
String file)
Dumps the contents of a raw image file.
|
void |
dumpXml(String file)
Dumps the sequencer code compiled from a local XML file.
|
void |
loadCabac()
Loads CABACs on a REB.
|
void |
loadSif(String file)
Loads the sequencer from a remote SIF file.
|
void |
loadXml(String file)
Loads the sequencer from a local XML file.
|
void |
onDataArrival(String source,
long time,
String key,
Object d)
Receives status messages.
|
void |
saveConfiguration()
Saves the current configuration.
|
void |
saveFitsImage(String file)
Saves the image in FITS format.
|
void |
saveImage()
Saves the raw image to the current directory.
|
void |
saveImage(String dir)
Saves the raw image to a directory.
|
void |
setReb(int index)
Sets the default REB.
|
void |
setRegister(int address,
int value)
Sets the value of a register.
|
void |
setRegister(int index,
int address,
int value)
Sets the value of a register.
|
void |
setSource(int value)
Sets the sequencer data source.
|
void |
setTime()
Sets the time on all REBs to the Unix system time.
|
void |
setValue(String chan,
String value)
Sets a configured value.
|
void |
showDevices()
Shows all devices.
|
void |
showImageStats()
Shows the metadata for the current image.
|
void |
showReb()
Shows the default REB.
|
void |
showRebStats()
Shows the REB statistics data.
|
void |
showRegister(int address,
int count)
Shows the values of registers.
|
void |
showRegister(int index,
int address,
int count)
Shows the values of registers.
|
void |
showTime()
Shows the current times on all REBs.
|
void |
showTime(int index)
Shows the current time on a REB.
|
void |
showTime(int index,
RaftsConsole.Trigger trigger)
Shows a trigger time on an REB.
|
void |
showValue()
Shows all configured values.
|
void |
showValue(String chan)
Shows one or more configured values.
|
void |
startSequencer()
Starts the sequencer.
|
void |
stepSequencer()
Steps a sequencer loop.
|
void |
stopSequencer()
Stops a sequencer loop.
|
doStart, isMaster, lockSubsystem, unlockSubsystemabort, abort, addLock, broadcastAlarm, broadcastAlarm, broadcastAlarmClear, broadcastStatus, broadcastStatus, checkAllHardwareStarted, checkAllHardwareStopped, checkHardware, clearAlarms, completeInitialization, createState, doShutdown, executeCommandSingleThread, fillStatus, forceShutdown, getAgentPresenceManager, getAncillaryGroup, getCCSVersions, getCommandBuilder, getCommandBusSelector, getConfiguration, getConfigurationProxy, getCurrentActionThread, getCurrentSubsystemName, getDefaultSelector, getEthHardAddress, getInnerState, getLogger, getMessagingAccess, getName, getNumberCommandThreads, getSoftwareRevision, getStateForPublication, getStatus, getStatusBroadcastPeriod, getStatusBusSelector, getSystemDictionary, getTag, initialisationEndPhase, initLogBusHandler, interruptActionThread, interruptAllRunningCommands, interruptAllSignalThreads, interruptAncillaryThreads, interruptInitThread, isInEngineeringMode, isInTestContext, isListenToStatus, isMultithreaded, isSlave, isStartedInEngineeringMode, lockUpdate, onAck, onCommand, onReply, onStatus, ping, postStart, printRunningCommands, publishData, publishData, publishData, publishData, publishData, publishData, publishData, publishMetaData, publishReply, publishStateChange, publishStatus, publishStatus, publishStatus, publishStatus, publishStatus, publishStatus, publishStatusData, publishTrendingStatus, raiseAlarm, rawCommandExecution, registerAsBusMaster, removeLock, removeLogPanicState, searchForDictionary, searchForDictionary, sendRawStatus, setBusLogHandlerLevel, setCommandBusSelector, setConfigurationProxy, setListenToStatus, setLogFormat, setLogHandlerLevel, setLogLevel, setMultithreaded, setName, setStackTraceDepth, setStatusBroadcastPeriod, setStatusBusSelector, shutdown, start, startStatusBroadcasting, stayAlive, stop, stopStatusBroadcasting, switchToEngineeringMode, switchToErrorState, switchToNormalMode, switchToShutdownState, tryReadyState, updateCurrentSubsystem, updateState, updateState, waitForCommandExecution, waitForReadyState, warning@Command(name="setreb", description="Set the default REB") public void setReb(@Argument(name="index",description="The index of the REB") int index) throws Exception
Exception@Command(name="showreb", description="Show the default REB") public void showReb() throws Exception
Exception@Command(name="setregister", description="Set the value of a register") public void setRegister(@Argument(name="address",description="The register address") int address, @Argument(name="value",description="The value to set") int value) throws Exception
Exception@Command(name="setregister", description="Set the value of a register") public void setRegister(@Argument(name="index",description="The index of the REB") int index, @Argument(name="address",description="The register address") int address, @Argument(name="value",description="The value to set") int value) throws Exception
Exception@Command(name="showregister", description="Show the values of registers") public void showRegister(@Argument(name="address",description="The first register address") int address, @Argument(name="count",description="The numberof registers to show") int count) throws Exception
Exception@Command(name="showregister", description="Show the values of registers") public void showRegister(@Argument(name="index",description="The index of the REB") int index, @Argument(name="address",description="The first register address") int address, @Argument(name="count",description="The numberof registers to show") int count) throws Exception
Exception@Command(name="showdevices", description="Show all devices") public void showDevices() throws Exception
Exception@Command(name="setvalue", description="Set a configured value") public void setValue(@Argument(name="chan",description="The qualified name of the channel") String chan, @Argument(name="value",description="The value to set") String value) throws Exception
Exception@Command(name="showvalue", description="Show one or more configured values") public void showValue(@Argument(name="chan",description="The name of the device or channel") String chan) throws Exception
Exception@Command(name="showvalue", description="Show all configured values") public void showValue() throws Exception
Exception@Command(name="loadcabac", description="Load all configured CABAC values") public void loadCabac() throws Exception
Exception@Command(name="checkcabac", description="Check all configured CABAC values") public void checkCabac() throws Exception
Exception@Command(name="settime", description="Set the time to the Unix system time") public void setTime() throws Exception
Exception@Command(name="showtime", description="Show the current time on an REB") public void showTime(@Argument(name="index",description="The index of the REB") int index) throws Exception
Exception@Command(name="showtime", description="Show the current times on all REBs") public void showTime() throws Exception
Exception@Command(name="showtime", description="Show a trigger time on a REB") public void showTime(@Argument(name="index",description="The index of the REB") int index, @Argument(name="trigger",description="The name of the trigger") RaftsConsole.Trigger trigger) throws Exception
Exception@Command(name="loadxml", description="Load the sequencer from a local XML file") public void loadXml(@Argument(name="file",description="The name of the file") String file) throws Throwable
Throwable@Command(name="checkxml", description="Check the sequencer code from a local XML file") public void checkXml(@Argument(name="file",description="The name of the file") String file) throws Throwable
Throwable@Command(name="dumpxml", description="Dump the sequencer code from a local XML file") public void dumpXml(@Argument(name="file",description="The name of the file") String file) throws Throwable
Throwable@Command(name="loadsif", description="Load the sequencer from a remote SIF file") public void loadSif(@Argument(name="file",description="The name of the file") String file) throws Exception
Exception@Command(name="setsource", description="Set the sequencer data source") public void setSource(@Argument(name="value",description="The value to set") int value) throws Exception
Exception@Command(name="startsequencer", description="Start the sequencer") public void startSequencer() throws Exception
Exception@Command(name="stopsequencer", description="Stop a sequencer loop") public void stopSequencer() throws Exception
Exception@Command(name="stepsequencer", description="Step a sequencer loop") public void stepSequencer() throws Exception
Exception@Command(name="saveimage", description="Save the raw image to a directory") public void saveImage(@Argument(name="dir",description="The name of the directory") String dir) throws Exception
Exception@Command(name="saveimage", description="Save the raw image to the current directory") public void saveImage() throws Exception
Exception@Command(name="savefitsimage", description="Save the image in FITS format") public void saveFitsImage(@Argument(name="file",description="The name of the file") String file) throws Exception
Exception@Command(name="dumpimage", description="Dump the contents of the current image") public void dumpImage(@Argument(name="offset",description="The offset to the first pixel") int offset, @Argument(name="size",description="The number of pixels") int size) throws Exception
Exception@Command(name="dumpimage", description="Dump the contents of a raw image file") public void dumpImage(@Argument(name="offset",description="The offset to the first pixel") int offset, @Argument(name="size",description="The number of pixels") int size, @Argument(name="file",description="The name of the file") String file) throws Exception
Exception@Command(name="showimagestats", description="Show the metadata for the current image") public void showImageStats() throws Exception
Exception@Command(name="showrebstats", description="Show the REB statistics data") public void showRebStats() throws Exception
Exception@Command(name="saveconfig", description="Save the current configuration") public void saveConfiguration() throws Exception
ExceptionCopyright © 2015 LSST. All rights reserved.