public class XED
extends org.lsst.ccs.drivers.ascii.Ascii
| Constructor and Description |
|---|
XED() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
void |
extendFe55() |
String |
getIdent()
Gets the XED identity.
|
void |
init()
Initializes device.
|
void |
open(String serialname,
int baud)
Opens a connection.
|
void |
openftdi(String serialname,
int baud)
Opens an FTDI connection.
|
String |
readXED()
Reads a response.
|
String |
readXED(String command)
Reads a response after writing a command.
|
void |
reset()
reset to factory defaults
|
void |
retractFe55() |
void |
setTimeout(int timeout)
Sets the receive timeout.
|
void |
writeXED(String command)
Writes a command.
|
public XED()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String serialname, int baud) throws org.lsst.ccs.drivers.commons.DriverException
baud - The baud ratedummy - Dummy argument * * @throws DriverException *org.lsst.ccs.drivers.commons.DriverExceptionpublic void openftdi(String serialname, int baud)
public void init()
public void close()
throws org.lsst.ccs.drivers.commons.DriverException
close in class org.lsst.ccs.drivers.ascii.Asciiorg.lsst.ccs.drivers.commons.DriverExceptionpublic void reset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getIdent() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void extendFe55()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void retractFe55()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setTimeout(int timeout)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeXED(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String readXED() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionpublic String readXED(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.