public class ArchonControllerDriver extends Object implements ArchonController
| Modifier and Type | Class and Description |
|---|---|
static class |
ArchonControllerDriver.FrameStatus |
| Constructor and Description |
|---|
ArchonControllerDriver() |
ArchonControllerDriver(String ip) |
ArchonControllerDriver(String ip,
int port) |
public ArchonControllerDriver()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic ArchonControllerDriver(String ip) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic ArchonControllerDriver(String ip, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic byte[] sendBinCommand(String cmd, int nBlocks) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void sendBinCommand(String cmd, int nBlocks, byte[] rep) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void readConfig()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void readStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic ArchonStatus getStatus() throws org.lsst.ccs.drivers.commons.DriverException
getStatus in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionpublic ArchonControllerDriver.FrameStatus getFrameStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String fetchLog() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void lock(int n)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void reboot()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic byte[] fetch(int startAddr,
int nBlocks)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void fetch(int startAddr,
byte[] rep)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String readConfigLine(int i) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeConfigLine(int i,
String line)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void clearConfig()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void pollOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void pollOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String[] readConfigLines() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeConfigLines(String[] lines) throws org.lsst.ccs.drivers.commons.DriverException
writeConfigLines in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionpublic void applyAll()
throws org.lsst.ccs.drivers.commons.DriverException
applyAll in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionpublic void powerOn()
throws org.lsst.ccs.drivers.commons.DriverException
powerOn in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionpublic void powerOff()
throws org.lsst.ccs.drivers.commons.DriverException
powerOff in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionpublic void loadTiming()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void loadParams()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void loadParam(String p) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void resetTiming()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void applyMod(int module)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic RawImageData fetchLastImage() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic RawImageData fetchNewImage(long timeout) throws org.lsst.ccs.drivers.commons.DriverException, TimeoutException
fetchNewImage in interface ArchonControllerorg.lsst.ccs.drivers.commons.DriverExceptionTimeoutExceptionpublic RawImageData fetchCurrentLockedFrame() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic static String[] getConfigFromACF(BufferedReader rdr) throws IOException
IOExceptionpublic static void main(String[] args) throws org.lsst.ccs.drivers.commons.DriverException, IOException
org.lsst.ccs.drivers.commons.DriverExceptionIOExceptionCopyright © 2014 LSST. All rights reserved.