public class VacPlutoDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_SWITCHES
Constants.
|
static int |
SW_BLOCK_CVPUMP
Constants.
|
static int |
SW_BLOCK_CVSTAT
Constants.
|
static int |
SW_BLOCK_HVPUMP
Constants.
|
static int |
SW_BLOCK_HVSTAT
Constants.
|
static int |
SW_OPEN_VCR00
Constants.
|
static int |
SW_OPEN_VCR01
Constants.
|
static int |
SW_OPEN_VCR02
Constants.
|
static int |
SW_OPEN_VCR03
Constants.
|
static int |
SW_OPEN_VCR04
Constants.
|
static int |
SW_OPEN_VHX00
Constants.
|
| Constructor and Description |
|---|
VacPlutoDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(String name,
int hwChan,
String type,
String subtype)
Checks a channel's parameters for validity.
|
void |
clearCondition(int cond)
Clears a condition.
|
protected void |
close()
Closes the connection.
|
List<Integer> |
getConditionIds()
Gets the list of conditions in use.
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
Boolean |
isConditionActive(int cond)
Gets whether a condition is active.
|
Boolean |
isConditionLatched(int cond)
Gets whether a condition is latched.
|
Boolean |
isSwitchOn(int sw)
Gets the on state of a switch.
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup()
Reads all referenced channels.
|
void |
setSwitchOn(int sw,
boolean on)
Sets a switch on or off.
|
addChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int SW_BLOCK_HVSTAT
public static final int SW_BLOCK_CVSTAT
public static final int SW_OPEN_VHX00
public static final int SW_OPEN_VCR00
public static final int SW_OPEN_VCR01
public static final int SW_OPEN_VCR02
public static final int SW_OPEN_VCR03
public static final int SW_OPEN_VCR04
public static final int SW_BLOCK_HVPUMP
public static final int SW_BLOCK_CVPUMP
public static final int NUM_SWITCHES
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Deviceprotected void close()
close 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.Devicename - The channel namehwChan - The hardware channel numbertype - The channel type stringsubtype - The channel subtype stringException - if any errors found in the parameters.protected void readChannelGroup()
readChannelGroup in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int hwChan,
int type)
readChannel in class org.lsst.ccs.monitor.DevicehwChan - The hardware channel number.type - The encoded channel type returned by checkChannel.public void setSwitchOn(int sw,
boolean on)
sw - The switch number.on - The on state to set: true or falsepublic Boolean isSwitchOn(int sw)
sw - The switch number.public List<Integer> getConditionIds()
public Boolean isConditionActive(int cond)
cond - The condition numberpublic Boolean isConditionLatched(int cond)
cond - The condition numberpublic void clearCondition(int cond)
cond - The condition numberCopyright © 2018 LSST. All rights reserved.