public class OrielShutter
extends org.lsst.ccs.drivers.ascii.Ascii
| Modifier and Type | Class and Description |
|---|---|
static class |
OrielShutter.onOff
Public constants *
|
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 |
|---|
OrielShutter() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
void |
closeShutter() |
String |
getIdent()
Gets the OrielShutter identity.
|
void |
init()
Initializes device.
|
void |
open(String serialname,
int port,
int addr)
Opens a connection.
|
void |
openftdi(String serialname,
int baud,
int addr)
Opens an FTDI connection.
|
void |
openShutter() |
String |
readOrielShutter()
Reads a response.
|
String |
readOrielShutter(String command)
Reads a response after writing a command.
|
void |
reset()
reset to factory defaults
|
void |
setTimeout(int timeout)
Sets the receive timeout.
|
void |
writeOrielShutter(String command)
Writes a command.
|
closeSilent, flush, makeDataCharacteristics, open, open, open, open, openFtdi, openFtdi, openNet, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setResponseTerm, setTerminator, setTerminator, setTimeout, write, writeBytes, writeBytespublic OrielShutter()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String serialname, int port, int addr) 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, int addr) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic 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 openShutter()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void closeShutter()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setTimeout(int timeout)
throws org.lsst.ccs.drivers.commons.DriverException
setTimeout in class org.lsst.ccs.drivers.ascii.Asciiorg.lsst.ccs.drivers.commons.DriverExceptionpublic void writeOrielShutter(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String readOrielShutter() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionpublic String readOrielShutter(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.