
| Constructor and Description |
|---|
GPVacMon835Device()
GP835Device constructor
**************************************************************************
|
GPVacMon835Device(String serialdev,
int baud)
GP835Device constructor with connection opening
|
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
protected void |
close()
Closes the connection.
|
void |
connect(String serialdev,
int baud) |
void |
disconnect() |
String |
getIdent()
returns the ident read from the GP835 device *
**************************************************************************
|
double |
getLastPres() |
double |
getRunVac(int cfgstate)
Returns the vac value for acquisition *
**************************************************************************
|
int |
getState() |
StringBuilder |
getString(double[] values)
Converts an array of numbers to a string.
|
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isVacuumGaugeOn()
isVacuumGaugeOn - Is the GP835 Device on? *
**************************************************************************
|
double[][] |
readAMU()
Read buffer *
**************************************************************************
|
double[][] |
readAMU(String filename)
Read buffer and dump it to a file
|
String |
readAMUStr() |
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
double |
readPressure()
returns the pressure read from the GP835 device *
**************************************************************************
|
String |
readReport()
returns the test report from the GP835 device *
**************************************************************************
|
void |
reconnect() |
void |
setGaugeOff() |
void |
setGaugeOn() |
void |
setRunVac(double runVac,
int cfgstate)
Sets the vac value for acquisition *
**************************************************************************
|
void |
setState(int istate) |
void |
Sleep(double secs)
Sleep - what a waste
**************************************************************************
|
addChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkStarted, checkStopped, checkTimeout, configure, disable, dropChannel, enable, getFullName, getOutputLines, init, initChannel, initDevice, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic GPVacMon835Device()
public GPVacMon835Device(String serialdev, int baud) throws org.lsst.ccs.drivers.commons.DriverException
itype - host - port - addr - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************@Command(name="reconnect", description="reconnect to the port") public void reconnect() throws org.lsst.ccs.drivers.commons.DriverException
@Command(name="connect", description="connect to the port") public void connect(String serialdev, int baud) throws org.lsst.ccs.drivers.commons.DriverException
@Command(name="isVacuumGaugeOn", description="returns whether the GP835 device is active") public boolean isVacuumGaugeOn()
isVacuumGaugeOn in interface VQMDevice@Command(name="setGaugeOn", description="turn on power to the vacuum gauge filament") public void setGaugeOn()
setGaugeOn in interface VQMDevice@Command(name="setGaugeOff", description="turn off power to the vacuum gauge filament") public void setGaugeOff()
setGaugeOff in interface VQMDevice@Command(type=QUERY, name="readPressure", description="returns the pressure read from the GP835 device") public double readPressure()
readPressure in interface VQMDevice@Command(name="disconnect", description="disconnect from the port") public void disconnect() throws org.lsst.ccs.drivers.commons.DriverException
disconnect in interface VQMDeviceorg.lsst.ccs.drivers.commons.DriverExceptionpublic void Sleep(double secs)
@Command(type=QUERY, name="getIdent", description="returns the ident read from the GP835 device") public String getIdent()
@Command(type=QUERY, name="readReport", description="returns the test report from the GP835 device") public String readReport()
readReport in interface VQMDevicepublic double getLastPres()
getLastPres in interface VQMDevice@Command(type=QUERY, name="readAMU", description="read the buffer") public double[][] readAMU()
@Command(type=QUERY, name="readAMU", description="read the buffer and dump to file") public double[][] readAMU(@Argument(name="filename",description="output filename for the VQM buffered values") String filename)
filename - **************************************************************************@Command(name="readAMUStr", description="read the buffer and returns as a string") public String readAMUStr() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionprotected void close()
close in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.monitor.Device@Command(name="setRunVac", description="Sets the vac value for acquisition") public void setRunVac(double runVac, int cfgstate)
@Command(name="getRunVac", description="Returns the vac value for acquisition") public double getRunVac(int cfgstate)
@Command(name="setstate", description="set vacuum device status") public void setState(int istate)
@Command(name="getState", description="get vacuum device status") public int getState()
public StringBuilder getString(double[] values)
Copyright © 2017 LSST. All rights reserved.