public class OrielShutter
extends org.lsst.ccs.drivers.ascii.Ascii
| Modifier and Type | Class and Description |
|---|---|
static class |
OrielShutter.onOff
Public constants *
|
| 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.
|
public 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
org.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 © 2015 LSST. All rights reserved.