public class XED
extends org.lsst.ccs.drivers.ascii.Ascii
org.lsst.ccs.drivers.ascii.Ascii.DataBits, org.lsst.ccs.drivers.ascii.Ascii.FlowCtrl, org.lsst.ccs.drivers.ascii.Ascii.Option, org.lsst.ccs.drivers.ascii.Ascii.Parity, org.lsst.ccs.drivers.ascii.Ascii.StopBits, org.lsst.ccs.drivers.ascii.Ascii.Terminator| Constructor and Description |
|---|
XED()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
extendFe55() |
String |
getIdent()
Gets the XED identity.
|
void |
init()
Initializes device.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String serialName,
int baud,
int dataChar)
Opens a connection.
|
void |
open(String device,
int baud)
Deprecated.
|
void |
openftdi(String device,
int baud)
Deprecated.
|
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 |
writeXED(String command)
Writes a command.
|
close, closeSilent, flush, getTimeout, isOpen, makeDataCharacteristics, open, open, openFtdi, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setDefaultParm, setMultidrop, setOptions, setResponseTerm, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String serialName,
int baud,
int dataChar)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The connection typeserialName - The device name of the serial portbaud - The baud ratedataChar - The serial data characteristicsorg.lsst.ccs.drivers.commons.DriverException@Deprecated public void open(String device, int baud) throws org.lsst.ccs.drivers.commons.DriverException
device - The device name of the serial portbaud - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Deprecated public void openftdi(String device, int baud) throws org.lsst.ccs.drivers.commons.DriverException
device - The device name of the serial portbaud - The baud rateorg.lsst.ccs.drivers.commons.DriverExceptionpublic void init()
public 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 writeXED(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverException - *public String readXED() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.