public class GP835
extends org.lsst.ccs.drivers.scpi.Scpi
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.TerminatorCHECK_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()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
assignRelay(int relay,
int assign)
Assigns a trip relay to a vacuum type.
|
void |
checkOpenGP390()
Checks that GP390 connection is open.
|
void |
enableRelay(int relay,
boolean enable)
Enables/disables a trip relay.
|
double |
getFilamentPower()
Returns the filament power
|
String |
getInstrument()
Gets the currently selected instrument
|
String |
getMSP()
Gets the mass spectrometer scan results
|
double |
getPressure()
Returns the pressure
|
double |
getPressureGP390()
Returns the pressure directly from the GP390
|
int |
getRelayAssignment(int relay)
Gets the assignment for a trip relay.
|
double |
getRelayTrip(int relay,
int type)
Gets a trip relay set point.
|
String |
getTestReport()
Gets the test report
|
boolean |
isFilamentOn()
Gets whether the vacuum gauge micro-ion filament is on
|
boolean |
isGaugeOn()
Gets whether the vacuum gauge is on
|
boolean |
isRelayActive(int relay)
Gets whether a trip relay is active.
|
boolean |
isRelayEnabled(int relay)
Gets whether a trip relay is enabled.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int parm1,
int parm2)
Opens a connection.
|
void |
open(String serialname)
Opens a serial connection.
|
void |
openftdi(String serialname)
Opens an FTDI connection.
|
double[][] |
readAMU()
Reads the AMU data
|
double[][] |
readDoublePairArray(String command)
Reads a double pair array with SCPI error checking after writing a
command.
|
String |
readGP390(String cmnd)
Sends a GP390 command and returns the result
|
void |
setFilamentOff()
Sets the vacuum gauge micro-ion filament off --- usually to avoid light
|
void |
setFilamentOn()
Sets the vacuum gauge micro-ion filament on.
|
void |
setGaugeOff()
Sets the whole vacuum gauge off --- usually to avoid light
|
void |
setGaugeOn()
Sets the whole vacuum gauge on.
|
void |
setMSPOff()
Sets the mass spectrometer off --- usually to avoid light
|
void |
setMSPOn()
Sets the mass spectrometer on.
|
void |
setRelayTrip(int relay,
int type,
double value)
Sets a trip relay set point.
|
checkError, 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, writeCommandclose, closeSilent, flush, getConnTimeout, getTimeout, isDropEcho, isOpen, makeDataCharacteristics, open, open, openFtdi, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setConnTimeout, setConnTimeout, setDefaultParm, setMultidrop, setOptions, setResponseTerm, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident,
int parm1,
int parm2)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.AsciiconnType - The connection type (FTDI or SERIAL)ident - The identification (USB S/N or port)parm1 - The first parameter (baud rate)parm2 - The second parameter (data characteristics)org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String serialname) throws org.lsst.ccs.drivers.commons.DriverException
serialname - The device name of the serial portorg.lsst.ccs.drivers.commons.DriverExceptionpublic void openftdi(String serialname) throws org.lsst.ccs.drivers.commons.DriverException
serialname - The device name of the serial portorg.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 getPressureGP390()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic 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 getInstrument() 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.DriverExceptionpublic void setGaugeOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *public boolean isGaugeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFilamentOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setFilamentOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *public boolean isFilamentOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setRelayTrip(int relay,
int type,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)type - The set point type (1 = activation, 0 = deactivation)value - The set point valueorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getRelayTrip(int relay,
int type)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)type - The set point type (1 = activation, 0 = deactivation)org.lsst.ccs.drivers.commons.DriverExceptionpublic void assignRelay(int relay,
int assign)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)assign - The assignment: 0 = absolute, 1 = differentialorg.lsst.ccs.drivers.commons.DriverExceptionpublic int getRelayAssignment(int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)org.lsst.ccs.drivers.commons.DriverExceptionpublic void enableRelay(int relay,
boolean enable)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)enable - Whether to enableorg.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isRelayEnabled(int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean isRelayActive(int relay)
throws org.lsst.ccs.drivers.commons.DriverException
relay - The relay number (1 - 3)org.lsst.ccs.drivers.commons.DriverExceptionpublic void setMSPOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setMSPOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *public 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
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverExceptionpublic void checkOpenGP390()
Copyright © 2021 LSST. All rights reserved.