public class InTESTChillerDevice
extends org.lsst.ccs.monitor.Device
| Constructor and Description |
|---|
InTESTChillerDevice() |
| 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.
|
protected void |
initDevice() |
protected void |
initialize()
Performs full initialization.
|
String |
listQueries()
List queries
|
String |
listStatusBits()
List status bits
|
String |
queryChiller(org.lsst.ccs.drivers.chiller.Chiller.Query quantity)
Send query to Chiller and show response
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup()
Reads the monitor channel group.
|
String |
readParameter(int index)
Read a specified Chiller setup parameter
|
void |
setParams(org.lsst.ccs.drivers.chiller.Chiller.SetParam setParam,
double... values)
Command to execute a parameter-setting command, enumerared in
Chiller.SetParam, checking that value gets set as requested.
|
String |
showChillerState()
Show current chiller state
|
String |
showErrorWords()
Show error and warning words in hex Ascii
|
String |
showEvtReg()
Show event register bits.
|
String |
showStatusReg()
Show status register bits
|
addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getGroupForChannel, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isEnabled, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, setDisabled, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, start, testOnline@ConfigurationParameter(isFinal=true,
description="IP host")
protected volatile String host
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.@Command(type=QUERY, level=0, name="listQueries", description="List available queries") public String listQueries()
@Command(type=QUERY, level=0, name="listStatusBits", description="List status register bits") public String listStatusBits()
@Command(type=QUERY, level=0, name="queryChiller", description="send specified query to chiller") public String queryChiller(@Argument(description="Read Enumerated quantity from Chiller") org.lsst.ccs.drivers.chiller.Chiller.Query quantity) throws org.lsst.ccs.drivers.commons.DriverException
quantity - (enumerated Query)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, level=0, name="readParameter", description="Read value of specified parameter") public String readParameter(@Argument(description="index of parameter") int index) throws org.lsst.ccs.drivers.commons.DriverException
index - of setup parameterorg.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="showEvtReg", description="Show decoded Event Register") public String showEvtReg() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, level=0, name="showStatusReg", description="Show decoded Event Register") public String showStatusReg() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, level=0, name="showErrorWords", description="Show error and warning words in hex") public String showErrorWords() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY, level=0, name="showChillerState", description="Show ChillerState") public String showChillerState()
@Command(type=ACTION, level=1, name="setParams", description="Invoke Chiller command tp set parameter(s)") public void setParams(@Argument(description="enumerated command") org.lsst.ccs.drivers.chiller.Chiller.SetParam setParam, @Argument(description="parameter value(s)") double... values) throws org.lsst.ccs.drivers.commons.DriverException
Chiller.SetParam - (specifies command to Chiller controller)Arguments - to send to Chillerorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2022 LSST. All rights reserved.