public class TestTPG361
extends org.lsst.ccs.drivers.ascii.TestAscii
| Constructor and Description |
|---|
TestTPG361() |
| Modifier and Type | Method and Description |
|---|---|
void |
gaugeOff() |
void |
gaugeOn() |
String |
getDeviceInfo() |
String |
getError() |
String |
getGaugeID() |
TPG361.GaugeStatus |
getGaugeStatus() |
int |
getHours() |
TPG361.Unit |
getUnit() |
String |
readPressure() |
String |
readResponse() |
String |
readString(String command) |
double |
readTemperature() |
void |
setUnit(TPG361.Unit unit) |
void |
writeCommand(String command) |
@Command(name="getdeviceinfo",
description="Get info about the device")
public String getDeviceInfo()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getgaugeid",
description="Get ID of the vacuum gauge")
public String getGaugeID()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setunit",
description="Set the pressure unit")
public void setUnit(@Argument(description="The unit")
TPG361.Unit unit)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getunit",
description="Get the pressure unit")
public TPG361.Unit getUnit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="geterror",
description="Get the error status")
public String getError()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="gaugeon",
description="Turn the vacuum gauge on")
public void gaugeOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="gaugeoff",
description="Turn the vacuum gauge off")
public void gaugeOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getgaugestatus",
description="Get status of the vacuum gauge")
public TPG361.GaugeStatus getGaugeStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readpressure",
description="Read pressure ")
public String readPressure()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readtemperature",
description="Read the temperature")
public double readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="gethours",
description="Get the operating hours")
public int getHours()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="writecommand",
description="Write a command")
public void writeCommand(@Argument(description="The commmand to send")
String command)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readresponse",
description="Read a response")
public String readResponse()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.