
public class AtsCryoCon24cDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Class and Description |
|---|---|
static class |
AtsCryoCon24cDevice.ControlType |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_HTR_1 |
static int |
CHAN_HTR_2 |
static int |
CHAN_PID_D_1 |
static int |
CHAN_PID_D_2 |
static int |
CHAN_PID_I_1 |
static int |
CHAN_PID_I_2 |
static int |
CHAN_PID_P_1 |
static int |
CHAN_PID_P_2 |
static int |
CHAN_SETPOINT_1 |
static int |
CHAN_SETPOINT_2 |
static int |
CHAN_TEMP_A |
static int |
CHAN_TEMP_B |
static int |
CHAN_TEMP_C |
static int |
CHAN_TEMP_D |
static int |
NUM_CHANS |
| Constructor and Description |
|---|
AtsCryoCon24cDevice() |
| 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 |
close()
Closes the connection.
|
String |
getControlType(int loop)
Get the control type for specified loop
|
double |
getHeaterMax(int loop)
Get maximum heater power for Loop [1-4]
|
double |
getHeaterPower(int loop)
Get the manual heater power for specified loop
|
String |
getHeaterRange(int loop)
Get Heater Range for Loop [1-4]
|
double |
getHtrRead(int loop)
Get heater reading for specified loop
|
char |
getLoopSource(int loop)
Get Source for Loop returns Channels A through D
|
double |
getMaxSetPoint(int loop)
Get maximum set point for loop
|
char |
getOtdSource()
Gets OTD source channel
|
double |
getOtdTemp()
Gets OTD temperature limit
|
double |
getPidD(int loop)
Get PI[D] parameter for specified loop
|
double |
getPidI(int loop)
Get P[I]D parameter for specified loop
|
double |
getPidP(int loop)
Get [P]ID parameter for specified loop
|
double |
getSetPoint(int loop)
Get Source for Loop returns Channels A through D
|
double |
getTemp(String channel)
Get temperature reading for channels A through D
|
String |
getType(String channel)
Get sensor type for a temperature channel
|
char |
getUnit(String channel)
Get Temperature Units Channels A through D *
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Initializes the connection.
|
boolean |
isInControl()
Get control mode
|
boolean |
isOtdEnabled()
Gets whether OTD is enabled
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
setControlType(int loop,
AtsCryoCon24cDevice.ControlType type)
Set the control type for specified loop
|
void |
setHeaterPower(int loop,
double power)
Set the manual heater power for specified loop
|
void |
setToControl()
Set into control mode
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
void |
stopControl()
Stop control mode
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getGroupForChannel, getName, getOutputLines, getPath, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelGroup, readChannelNow, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic static final int CHAN_HTR_1
public static final int CHAN_HTR_2
public static final int CHAN_TEMP_A
public static final int CHAN_TEMP_B
public static final int CHAN_TEMP_C
public static final int CHAN_TEMP_D
public static final int CHAN_PID_P_1
public static final int CHAN_PID_I_1
public static final int CHAN_PID_D_1
public static final int CHAN_PID_P_2
public static final int CHAN_PID_I_2
public static final int CHAN_PID_D_2
public static final int CHAN_SETPOINT_1
public static final int CHAN_SETPOINT_2
public static final int NUM_CHANS
protected void initDevice()
initDevice in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.monitor.Devicepublic 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 - hwChan - type - subtype - Exceptionprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.monitor.Devicechan - type - @Command(type=QUERY,
description="Show Temp Control 24C identification")
public String showIdentification()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve MaxSetPoint for loop")
public double getMaxSetPoint(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve setPoint for loop")
public double getSetPoint(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve heater reading for loop")
public double getHtrRead(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve PID parameter P for loop")
public double getPidP(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve PID parameter I for loop")
public double getPidI(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve PID parameter D for loop")
public double getPidD(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve source channel for loop")
public char getLoopSource(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get heater range for loop")
public String getHeaterRange(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get maximum heater power for loop")
public double getHeaterMax(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve temperature info")
public double getTemp(@Argument(name="channel",description="Temp Channel to read")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
channel - The channel (A-D)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Retrieve temperature units")
public char getUnit(@Argument(name="channel",description="Temp Channel to read")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
channel - org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get sensor type")
public String getType(@Argument(name="channel",description="Temp Channel to set")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
channel - The temperature channel (A-D)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get whether OTD system enabled")
public boolean isOtdEnabled()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get source channel for the OTD system")
public char getOtdSource()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get temperature limit for the OTD system")
public double getOtdTemp()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
description="Set the CryoCon24c into control mode")
public void setToControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
description="Stop the CryoCon24c control mode")
public void stopControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Is the CryoCon24c in control mode")
public boolean isInControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
description="Set the control type for a loop")
public void setControlType(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(description="control type (OFF, MAN or PID)")
AtsCryoCon24cDevice.ControlType type)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numbertype - The control type (OFF, MAN or PID)org.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Set the control type for a loop")
public String getControlType(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberorg.lsst.ccs.drivers.commons.DriverException@Command(type=ACTION,
description="Set the manual heater power for a loop")
public void setHeaterPower(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(description="power as % of maximum")
double power)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberpower - The power as % of maximumorg.lsst.ccs.drivers.commons.DriverException@Command(type=QUERY,
description="Get the manual heater power for a loop")
public double getHeaterPower(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
loop - The loop numberorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2021 LSST. All rights reserved.