public class GP835
extends org.lsst.ccs.drivers.scpi.Scpi
| Modifier and Type | Class and Description |
|---|---|
static class |
GP835.onOff
Public constants *
|
org.lsst.ccs.drivers.ascii.Ascii.ConnType, 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.StopBitsCHECK_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 |
|---|
GP835() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the connection.
|
String |
getError() |
double |
getFilamentPower()
return the power to the filament
|
String |
getIdent()
Gets the GP835 identity.
|
String |
getMSP()
return the mass spectrometer scan results
|
double |
getPressure()
return the pressure
|
String |
getReport()
Gets the GP835 report.
|
String |
getSelectedInstrument()
return the currently selected instrument
|
int |
getState()
Return the status response as an int
|
String |
getStatus()
Return the full Status byte *
|
String |
getTestReport()
return the test report
|
void |
init()
Initializes device.
|
void |
open(String serialname,
int baud)
Opens a connection.
|
void |
openftdi(String serialname,
int baud)
Opens an FTDI connection.
|
double[][] |
readAMU() |
double[][] |
readDoublePairArray(String command)
Reads a double pair array with SCPI error checking after writing a
command.
|
String |
readGP835()
Reads a response.
|
String |
readGP835(String command)
Reads a response after writing a command.
|
int |
readIntegerGP835(String command)
Reads a response after writing a command.
|
void |
reset()
reset to factory defaults *
|
void |
setGaugeOff()
Sets the gauge off --- usually to avoid light
|
void |
setGaugeOn()
Sets the gauge on
|
int |
stripError(String err)
Return the error register *
|
int |
stripStatus(String status)
Strips off "STB" if present and converts hex code to int *
|
void |
writeGP835(String command)
Writes a command.
|
checkIdentification, clearStatus, enableOperationComplete, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandpublic GP835()
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
serialname - The device name of the serial portbaud - The baud rateorg.lsst.ccs.drivers.commons.DriverExceptionpublic void openftdi(String serialname, int baud) 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
reset in class org.lsst.ccs.drivers.scpi.Scpiorg.lsst.ccs.drivers.commons.DriverExceptionpublic String getStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int stripStatus(String status) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int getState()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic int stripError(String err) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getError() throws org.lsst.ccs.drivers.commons.DriverException
getError in class org.lsst.ccs.drivers.scpi.Scpiorg.lsst.ccs.drivers.commons.DriverExceptionpublic String getIdent() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getReport() 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.DriverException - * 9.5.6 External Total Pressure To get the total
pressure from an external instrument: INST ETPR OUTP ON MEAS:PRES?public double getFilamentPower()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getMSP() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getTestReport() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getSelectedInstrument() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setGaugeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *public void setGaugeOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *public void writeGP835(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverException - *public String readGP835() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionpublic String readGP835(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionpublic int readIntegerGP835(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *org.lsst.ccs.drivers.commons.DriverExceptionpublic double[][] readAMU()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double[][] readDoublePairArray(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.