public class TPG261Device extends org.lsst.ccs.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) |
addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initDevice, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnlinepublic 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.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)
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 © 2022 LSST. All rights reserved.