
public class RaftsConsole extends Object implements org.lsst.ccs.messaging.StatusMessageListener
| Modifier and Type | Class and Description |
|---|---|
static class |
RaftsConsole.Trigger |
| Constructor and Description |
|---|
RaftsConsole() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAspic() |
void |
checkCabac() |
void |
checkXml(String file) |
void |
dumpImage(int offset,
int size) |
void |
dumpImage(int offset,
int size,
String file) |
void |
dumpXml(String file) |
void |
loadAspic() |
void |
loadBias() |
void |
loadCabac() |
void |
loadDac() |
void |
loadSif(String file) |
void |
onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s) |
void |
saveConfiguration() |
void |
saveFitsImage(String file) |
void |
saveImage() |
void |
saveImage(String dir) |
void |
setReb(int index) |
void |
setRegister(int address,
int value) |
void |
setRegister(int index,
int address,
int value) |
void |
setSource(int value) |
void |
setTime() |
void |
setValue(String chan,
String value) |
void |
showDevices() |
void |
showImageStats() |
void |
showReb() |
void |
showRebStats() |
void |
showRegister(int address,
int count) |
void |
showRegister(int index,
int address,
int count) |
void |
showTime() |
void |
showTime(int index) |
void |
showTime(int index,
RaftsConsole.Trigger trigger) |
void |
showValue() |
void |
showValue(String chan) |
void |
startSequencer() |
void |
stepSequencer() |
void |
stopSequencer() |
@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="loaddac", description="Load all configured global DAC values") public void loadDac() throws Exception
Exception@Command(name="loadbias", description="Load all configured bias DAC values") public void loadBias() throws Exception
Exception@Command(name="loadaspic", description="Load all configured ASPIC values") public void loadAspic() throws Exception
Exception@Command(name="checkaspic", description="Check all configured ASPIC values") public void checkAspic() 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="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 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
Exceptionpublic void onStatusMessage(org.lsst.ccs.bus.messages.StatusMessage s)
onStatusMessage in interface org.lsst.ccs.messaging.StatusMessageListenerCopyright © 2016 LSST. All rights reserved.