
public class TPG261Device extends org.lsst.ccs.subsystem.monitor.Device implements VacuumGaugeDevice
| Constructor and Description |
|---|
TPG261Device()
TPG261 Device constructor
**************************************************************************
|
TPG261Device(int itype,
String host,
int port)
TPG261Device 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.
|
double |
getLastPres() |
double |
getRunVac(int cfgstate)
Returns the vac value for acquisition *
**************************************************************************
|
int |
getState() |
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isVacuumGaugeOn()
isVacuumGaugeOn - Is the TPG261 Device on? *
**************************************************************************
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
double |
readPressure()
returns the pressure read from the TPG261 device *
**************************************************************************
|
void |
setGaugeOff() |
void |
setGaugeOn() |
void |
setRunVac(double runVac,
int cfgstate)
Sets the vac value for acquisition *
**************************************************************************
|
void |
setState(int istate) |
addChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitalias, change, getCheckedValueFromConfiguration, getComponentByName, getFullPath, getName, getParent, getParentObject, getSubsystem, init, injectResources, listChildren, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, proceduralWalk, setBulkParameter, shutdownNow, start, submitChange, submitChanges, treeWalk, validateBulkChangepublic TPG261Device()
public TPG261Device(int itype,
String host,
int port)
throws org.lsst.ccs.drivers.commons.DriverException
itype - host - port - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************@Command(name="isVacuumGaugeOn", description="returns whether the TPG261 device is active") public boolean isVacuumGaugeOn()
isVacuumGaugeOn in interface VacuumGaugeDevicepublic void setGaugeOn()
setGaugeOn in interface VacuumGaugeDevicepublic void setGaugeOff()
setGaugeOff in interface VacuumGaugeDevice@Command(name="readPressure", description="returns the pressure read from the TPG261 device") public double readPressure()
readPressure in interface VacuumGaugeDevice@Command(name="getLastPressure", description="returns the last successful pressure read from the TPG261 device") public double getLastPres()
getLastPres in interface VacuumGaugeDeviceprotected void close()
close in class org.lsst.ccs.subsystem.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.Device@Command(name="setrunvac", description="Sets the vac value for acquisition") public void setRunVac(double runVac, int cfgstate)
setRunVac in interface VacuumGaugeDevice@Command(name="getrunvac", description="Returns the vac value for acquisition") public double getRunVac(int cfgstate)
getRunVac in interface VacuumGaugeDevice@Command(name="setState", description="set vacuum device status") public void setState(int istate)
setState in interface VacuumGaugeDevice@Command(name="getState", description="get vacuum device status") public int getState()
getState in interface VacuumGaugeDeviceCopyright © 2015 LSST. All rights reserved.