public class TestGP835
extends org.lsst.ccs.drivers.scpi.TestScpi
| Constructor and Description |
|---|
TestGP835() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignRelay(int relay,
int assign) |
void |
enableRelay(int relay,
boolean enable) |
double |
getFilamentPower() |
String |
getInstrument() |
String |
getMSP() |
double |
getPressure() |
double |
getPressureGP390() |
int |
getRelayAssignment(int relay) |
double |
getRelayTrip(int relay,
int type) |
String |
getTestReport() |
boolean |
isFilamentOn() |
boolean |
isGaugeOn() |
boolean |
isRelayActive(int relay) |
boolean |
isRelayEnabled(int relay) |
void |
monPressure() |
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String devId) |
String |
readGP390(String command,
String... args) |
void |
setFilamentOff() |
void |
setFilamentOn() |
void |
setGaugeOff() |
void |
setGaugeOn() |
void |
setRelayTrip(int relay,
int type,
double value) |
clear, enableOpc, readDouble, readFloat, readInteger, readString, reset, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommandprotected GP835 mydev
@Command(description="Open a connection to the device")
public void open(@Argument(description="Type of connection")
org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
@Argument(description="The ID of the device to open")
String devId)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the pressure")
public double getPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the pressure directly")
public double getPressureGP390()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Monitor the pressure")
public void monPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the filament power")
public double getFilamentPower()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the test report") public String getTestReport() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the mass spectrometer scan results") public String getMSP() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the gauge on")
public void setGaugeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the gauge off")
public void setGaugeOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether the gauge is on")
public boolean isGaugeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the filament on")
public void setFilamentOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the filement off")
public void setFilamentOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether the filament is on")
public boolean isFilamentOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the selected instrument") public String getInstrument() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set a relay trip point")
public void setRelayTrip(@Argument(description="Relay number (1-3)")
int relay,
@Argument(description="Trip point type: 1=activate, 0=deactivate")
int type,
@Argument(description="Trip point value")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get a relay trip point")
public double getRelayTrip(@Argument(description="Relay number (1-3)")
int relay,
@Argument(description="Trip point type: 1=activate, 0=deactivate")
int type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Assign a relay to vacuum type")
public void assignRelay(@Argument(description="Relay number (1-3)")
int relay,
@Argument(description="Vacuum type: 0=absolute, 1=differential")
int assign)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get a relay assignment")
public int getRelayAssignment(@Argument(description="Relay number (1-3)")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Enable a relay")
public void enableRelay(@Argument(description="Relay number (1-3)")
int relay,
@Argument(description="Whether to enable")
boolean enable)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether relay is enabled")
public boolean isRelayEnabled(@Argument(description="Relay number (1-3)")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether relay is active")
public boolean isRelayActive(@Argument(description="Relay number (1-3)")
int relay)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2017 LSST. All rights reserved.