public class MicroIon
extends org.lsst.ccs.drivers.scpi.Scpi
| Modifier and Type | Class and Description |
|---|---|
static class |
MicroIon.onOff
Public constants *
**************************************************************************
|
CHECK_CONTAINS, CHECK_ENDS_WITH, CHECK_EQUALS, CHECK_MATCHES, CHECK_STARTS_WITH, ESR_ANY_ERROR, ESR_COMMAND_ERROR, ESR_DEVICE_ERROR, ESR_EXECUTION_ERROR, ESR_QUERY_ERROR, IDENT_FW_VERSION, IDENT_MANUFACTURER, IDENT_MODEL_NAME, IDENT_SERIAL_NUMBER, SB_ERROR_QUEUE, SB_EVENT_STATUS, SB_MASTER_STATUS, SB_MESSAGE_AVAILABLE, SB_OPERATION_STATUS, SB_QUESTIONABLE_STATUS| Constructor and Description |
|---|
MicroIon()
Constructor * *
**************************************************************************
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPressure()
Gets the MicroIon pressure reading *
**************************************************************************
|
MicroIon.onOff |
getState()
Gets the MicroIon power state.
|
void |
init() |
void |
open(String serialname,
int port,
int addr)
Opens a connection.
|
void |
openftdi(String serialname,
int port,
int addr)
Opens an FTDI connection.
|
String |
printdevid()
Prints device ID
|
String |
readMicroIon()
Reads a response.
|
String |
readMicroIon(String command)
Reads a response after writing a command.
|
void |
setTimeout(int timeout)
Sets the receive timeout.
|
void |
writeMicroIon(String command)
Writes a command.
|
checkIdentification, clearStatus, enableOperationComplete, getError, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, reset, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandpublic MicroIon()
public 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 port, int addr) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void init()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String printdevid() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic MicroIon.onOff getState() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPressure()
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 writeMicroIon(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String readMicroIon() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *
*************************************************************************org.lsst.ccs.drivers.commons.DriverExceptionpublic String readMicroIon(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *
*************************************************************************org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2014 LSST. All rights reserved.