public class CryoCon24cMonDevice
extends org.lsst.ccs.monitor.Device
| Modifier and Type | Field and Description |
|---|---|
static int |
CHAN_CURR_TEMP |
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_RUN_TEMP |
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_CHNG |
static int |
CHAN_TEMP_D |
static int |
CHAN_TEMP_STDDEV |
protected Map<String,String> |
channelTypes |
protected Map<String,String> |
channelUnits |
String |
current_channel |
String |
current_channel2 |
int |
current_loop |
static int |
NUM_CHANS |
| Constructor and Description |
|---|
CryoCon24cMonDevice()
No-argument constructor.
|
| 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 |
getCurrent_channel() |
String |
getCurrent_channel2() |
int |
getCurrent_loop() |
double |
getHeaterMax(int loop)
Get maximum heater power for Loop [1-4]
|
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 |
getPID_D(int loop)
Get PI[D] parameter for specified loop
|
double |
getPID_I(int loop)
Get P[I]D parameter for specified loop
|
double |
getPID_P(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
|
double |
getTempChange()
Return the rate of change in T/min of the temperature values
|
double |
getTempStdDev()
Return the standard deviation of the temperature values
|
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.
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic static final int CHAN_CURR_TEMP
public static final int CHAN_RUN_TEMP
public static final int CHAN_TEMP_STDDEV
public 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_TEMP_CHNG
public static final int CHAN_SETPOINT_1
public static final int CHAN_SETPOINT_2
public static final int NUM_CHANS
public String current_channel
public String current_channel2
public int current_loop
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(name="showident",
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,
name="getMaxSetPoint",
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(name="getSetPoint",
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(name="getHtrRead",
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(name="getPID_P",
description="Retrieve PID parameter P for loop")
public double getPID_P(@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(name="getPID_I",
description="Retrieve PID parameter I for loop")
public double getPID_I(@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(name="getPID_D",
description="Retrieve PID parameter D for loop")
public double getPID_D(@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,
name="getLoopSource",
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(name="getHeaterRange",
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(name="getHeaterMax",
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,
name="getTemp",
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="Return the standard deviation of the temperature values")
public double getTempStdDev()
@Command(type=QUERY,
description="Return the temperature change over the sample period in degrees/minute")
public double getTempChange()
@Command(type=QUERY,
name="getUnit",
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(name="getType",
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(name="isOtdEnabled",
description="Get whether OTD system enabled")
public boolean isOtdEnabled()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getOtdSource",
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(name="getOtdTemp",
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(name="isInControl",
description="is the CryoCon24c in control mode")
public boolean isInControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command public String getCurrent_channel()
@Command public String getCurrent_channel2()
@Command public int getCurrent_loop()
Copyright © 2019 LSST. All rights reserved.