
public class MicroIonDevice extends org.lsst.ccs.monitor.Device implements VacuumGaugeDevice
| Constructor and Description |
|---|
MicroIonDevice()
MicroIonDevice constructor
**************************************************************************
|
MicroIonDevice(int itype,
String host,
int port,
int addr)
MicroIonDevice 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 MicroIon Device on? *
**************************************************************************
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
double |
readPressure()
returns the pressure read from the MicroIon device *
**************************************************************************
|
void |
setGaugeOff() |
void |
setGaugeOn() |
void |
setRunVac(double runVac,
int cfgstate)
Sets the vac value for acquisition *
**************************************************************************
|
void |
setState(int istate) |
addLine, checkHardware, 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, testOnlinepublic MicroIonDevice()
public MicroIonDevice(int itype,
String host,
int port,
int addr)
throws org.lsst.ccs.drivers.commons.DriverException
itype - host - port - addr - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************@Command(name="isVacuumGaugeOn", description="returns whether the MicroIon device is active") public boolean isVacuumGaugeOn()
isVacuumGaugeOn in interface VacuumGaugeDevice@Command(name="setGaugeOn", description="turn on power to the vacuum gauge filament") public void setGaugeOn()
setGaugeOn in interface VacuumGaugeDevice@Command(name="setGaugeOff", description="turn off power to the vacuum gauge filament") public void setGaugeOff()
setGaugeOff in interface VacuumGaugeDevice@Command(type=QUERY, name="readPressure", description="returns the pressure read from the MicroIon 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 © 2021 LSST. All rights reserved.