public class InTESTChillerDevice
extends org.lsst.ccs.monitor.Device
implements org.lsst.ccs.services.HasDataProviderInfos
| Constructor and Description |
|---|
InTESTChillerDevice() |
| Modifier and Type | Method and Description |
|---|---|
protected int[] |
checkChannel(org.lsst.ccs.monitor.Channel ch)
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.]
|
ChillerState |
getChillerState()
Get the current ChillerState
|
List<org.lsst.ccs.bus.data.DataProviderInfo> |
getDataProviderInfos() |
double |
getDefaultRamp()
Gets the default ramp rate.
|
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
|
org.lsst.ccs.drivers.chiller.Chiller.ErrorWords |
getLastErrorWords()
Get last chiller error words
|
boolean |
getTempControlMode()
Get temperatire-control mode
|
protected void |
initDevice()
Performs basic initialization.
|
protected void |
initialize()
Performs full initialization.
|
String |
listError1Bits()
Commands to list bit assignments for chiller errors and warnings
|
String |
listError2Bits() |
String |
listQueries()
List queries
|
String |
listSettableParameters()
List settable (enumerated) Chiller parameters
|
String |
listStatusBits()
List status bits
|
String |
listWarning1Bits() |
String |
listWarning2Bits() |
void |
loadChillerParameters()
Command to load all Chiller parameters from active non-volatile memory
|
void |
publishParameters()
Publish chiller parameter values
|
String |
queryChiller(org.lsst.ccs.drivers.chiller.Chiller.Query quantity)
Send query to Chiller and show response
|
void |
quitControllingTemperature()
Quit controlling temperature
|
String |
readAnyParameter(int index)
Read a specified Chiller setup parameter
|
protected double |
readChannel(org.lsst.ccs.monitor.Channel ch)
Reads a channel.
|
protected void |
readChannelGroup(String group)
Reads the monitor channel group.
|
String |
readNamedParameter(org.lsst.ccs.drivers.chiller.Chiller.FParam param)
Read a Chiller parmeter specified by name
|
void |
saveChillerParameters()
Command to save current Chiller parameters to active non-volatile memory
|
void |
selectDUT(boolean dut)
Select DUT vs Normal temperature-control mode
|
void |
setFlow(double flow)
Set chiller flow rate
|
void |
setParam(org.lsst.ccs.drivers.chiller.Chiller.FParam param,
double value)
Command to execute a parameter-setting command, enumerared in
Chiller.FParam, 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, 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, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@ConfigurationParameter(isFinal=true,
description="IP host",
units="unitless")
protected volatile String host
public List<org.lsst.ccs.bus.data.DataProviderInfo> getDataProviderInfos()
getDataProviderInfos in interface org.lsst.ccs.services.HasDataProviderInfosprotected 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(org.lsst.ccs.monitor.Channel ch)
throws Exception
checkChannel in class org.lsst.ccs.monitor.DeviceChannel - ch The channelException - 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(org.lsst.ccs.monitor.Channel ch)
readChannel in class org.lsst.ccs.monitor.DeviceChannel - chpublic boolean getTempControlMode()
@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()
public org.lsst.ccs.drivers.chiller.Chiller.ErrorWords getLastErrorWords()
@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="readAnyParameter", description="Read value of specified parameter") public String readAnyParameter(@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=QUERY, level=0, name="listSettableParameters", description="List parameters available for public setting") public String listSettableParameters()
@Command(type=QUERY, level=0, name="readNamedParameter", description="Read value of named parameter") public String readNamedParameter(@Argument(description="enum of parameter") org.lsst.ccs.drivers.chiller.Chiller.FParam param) throws org.lsst.ccs.drivers.commons.DriverException
FParam - (parameter name)Driver - Exceptionorg.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.DriverExceptionpublic ChillerState getChillerState()
@Command(type=QUERY, level=0, name="showChillerState", description="Show ChillerState") public String showChillerState()
@Command(type=QUERY, level=0, name="listError1Bits") public String listError1Bits()
@Command(type=QUERY, level=0, name="listWarning1Bits") public String listWarning1Bits()
@Command(type=QUERY, level=0, name="listWarning2Bits") public String listWarning2Bits()
public double getDefaultRamp()
@Command(type=ACTION, level=1, name="setParam", description="Invoke Chiller command tp set named parameter") public void setParam(@Argument(description="enumerated parameter") org.lsst.ccs.drivers.chiller.Chiller.FParam param, @Argument(description="parameter value") double value) throws org.lsst.ccs.drivers.commons.DriverException
Chiller.FParam - (specifies parameter)double - (value to set)org.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="selectDUT", autoAck=false, description="Select DUT vs Normal temperature-control mode") public void selectDUT(@Argument(description="true for DUT") boolean dut) throws org.lsst.ccs.drivers.commons.DriverException
boolean - true for DUT, false for Normalorg.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.DriverExceptionpublic void setTemperature(@Argument(description="tempeature in degrees") double temperature) throws org.lsst.ccs.drivers.commons.DriverException
double - temperature in degreesorg.lsst.ccs.drivers.commons.DriverExceptionpublic 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="set flow rate (gpm) of chilled fluie") 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.DriverExceptionpublic void publishParameters()
Copyright © 2024 LSST. All rights reserved.