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.
|
void |
emergencyClearErrors()
Clear chiller errors and warnings (for emergency use only)
[Monitoring routinely clears errors, this might interfere.]
|
protected String |
getGroupForChannel(org.lsst.ccs.monitor.Channel ch)
Define Channel groups
|
org.lsst.ccs.bus.states.AlertState |
getLastErrorAlert()
Get last chiller alert (CHILLER_ERR) state
|
protected void |
initDevice() |
protected void |
initialize()
Performs full initialization.
|
String |
listQueries()
List queries
|
String |
listStatusBits()
List status bits
|
void |
loadChillerParameters()
Command to load all Chiller parameters from active non-volatile memory
|
String |
queryChiller(org.lsst.ccs.drivers.chiller.Chiller.Query quantity)
Send query to Chiller and show response
|
void |
quitControllingTemperature()
Quit controlling temperature
|
protected double |
readChannel(int hwChan,
int type)
Reads a channel.
|
protected void |
readChannelGroup(String group)
Reads the monitor channel group.
|
String |
readParameter(int index)
Read a specified Chiller setup parameter
|
void |
saveChillerParameters()
Command to save current Chiller parameters to active non-volatile memory
|
void |
setFlow(double flow)
Set chiller flow rate
|
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.
|
void |
setTankPressure(double value)
Command to set chiller tank pressure
|
void |
setTemperature(double temperature)
Set chiller temperature and go there using default ramp
|
void |
setTemperatureWithRamp(double temperature,
double ramp)
Set chiller temperature and go there using provided ramp rate
|
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, checkChannel, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, dropChannel, enable, getDeviceMonitorUpdateTasks, getFullName, getMonitorUpdateTasksForChannels, getName, getOutputLines, getPath, init, initChannel, 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 String getGroupForChannel(org.lsst.ccs.monitor.Channel ch)
getGroupForChannel in class org.lsst.ccs.monitor.Devicech - The Channel objectprotected 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(String group)
readChannelGroup in class org.lsst.ccs.monitor.Devicegroup - The group to be read;protected 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()
public org.lsst.ccs.bus.states.AlertState getLastErrorAlert()
@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.DriverException@Command(type=ACTION, level=1, name="setTankPressure", description="Set tank pressure in psig") public void setTankPressure(@Argument(description="Tank pressure set value in psig") double value) throws org.lsst.ccs.drivers.commons.DriverException
double - Tank pressure setting (psig)org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="saveChillerParameters", description="save all current chiller F# parameters to active NVM") public void saveChillerParameters() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="loadChillerParameters", description="load all chiller F# parameters from active NVM") public void loadChillerParameters() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="setTemperature", description="go to temperature setting using default ramp") public void setTemperature(@Argument(description="tempeature in degrees") double temperature) throws org.lsst.ccs.drivers.commons.DriverException
double - temperature in degreesorg.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="setTemperatureWithRamp", description="go to temperature setting using provided ramp") public void setTemperatureWithRamp(@Argument(description="tempeature in degrees") double temperature, @Argument(description="ramp in degrees/min") double ramp) throws org.lsst.ccs.drivers.commons.DriverException
double - temperature in degreesdouble - ramp in degrees/minuteorg.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="quitControllingTemperature", description="stop controlling temperature") public void quitControllingTemperature() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="setFlow", description="go to temperature setting using default ramp") public void setFlow(@Argument(description="flow rate in gpm") double flow) throws org.lsst.ccs.drivers.commons.DriverException
double - flow (e.g., gallons per monute)org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION, level=1, name="emergencyCleaErrors", description="clear chiller errors and warnings") public void emergencyClearErrors() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2022 LSST. All rights reserved.