
public class CryoCon24cDevice extends org.lsst.ccs.subsystem.monitor.Device implements CryoDevice
| Constructor and Description |
|---|
CryoCon24cDevice() |
CryoCon24cDevice(int itype,
String host,
int port)
put CryoCon device in initial subsystem state *
|
| 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.
|
double |
get_idle_temp() |
double |
get_init_temp(int cfgstate) |
char |
getLoopSource(int loop)
Get Source for Loop returns Channels A through D
|
double |
getMaxSetPoint(int loop)
Get Source for Loop returns Channels A through D
|
double |
getRunTemp(int cfgstate)
Return the temperature setting for acquisitions
|
double |
getSetPoint(int loop)
Get Source for Loop returns Channels A through D
|
int |
getState()
gets the device state
**************************************************************************
|
double |
getTemp(String channel)
Get Temperature Reading For Channels A through D
|
char |
getUnit(String channel)
Get Temperature Units Channels A through D *
|
protected void |
initChannel(int chan,
int type,
int subtype)
Initializes a channel.
|
protected void |
initialize()
Initializes the connection.
|
void |
open(int type,
String ident,
int param)
Opens connection to a device.
|
void |
openDefault()
Opens connection to a Default BNL Temp Control Model 24C
|
void |
processAlarm(int event,
int parm)
Handles alarm events.
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
setLoopSource(int loop,
String channel)
Set Source Channel for Loop
|
void |
setMaxSetPoint(int loop,
double temp)
Set MaxSetPoint for Loop [1-4]
|
void |
setRunTemp(double Temp,
int cfgstate)
Set the temperature setting for acquisitions
|
void |
setSetPoint(int loop,
double temp)
Set SetPoint for Loop [1-4]
|
void |
setState(int istate)
sets the device state
**************************************************************************
|
void |
setUnit(String channel,
String unit)
Set Temperature Units for Channels A through D
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
addChannel, addChildConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, configure, dropChannel, getConfigValues, getFullName, getOutputLines, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinepublic CryoCon24cDevice(int itype,
String host,
int port)
throws org.lsst.ccs.drivers.commons.DriverException
itype - host - port - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public CryoCon24cDevice()
@Command(name="open", description="Open connection to Model 24C") public void open(@Argument(name="type",description="Communications type") int type, @Argument(name="identity",description="Device identifier") String ident, @Argument(name="parameter",description="Device parameter") int param) throws org.lsst.ccs.drivers.commons.DriverException
open in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="openDefault", description="Open connection to Default Model 24C") public void openDefault() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@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(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
getMaxSetPoint in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setMaxSetPoint", description="setMaxSetPoint for loop") public void setMaxSetPoint(@Argument(name="loop",description="loop number [1-4]") int loop, @Argument(name="temp",description="temperature") double temp) throws org.lsst.ccs.drivers.commons.DriverException
setMaxSetPoint in interface CryoDeviceorg.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
getSetPoint in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setSetPoint", description="setSetPoint for loop") public void setSetPoint(@Argument(name="loop",description="loop number [1-4]") int loop, @Argument(name="temp",description="temperature") double temp) throws org.lsst.ccs.drivers.commons.DriverException
setSetPoint in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(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
getLoopSource in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setLoopSource", description="Set source channel for loop") public void setLoopSource(@Argument(name="loop",description="loop number [1-4]") int loop, @Argument(name="channel",description="channel [A-D]") String channel) throws org.lsst.ccs.drivers.commons.DriverException
setLoopSource in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(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
getTemp in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setruntemp", description="Sets the temp value for acquisition") public void setRunTemp(double Temp, int cfgstate)
setRunTemp in interface CryoDevice@Command(name="getruntemp", description="Returns the temp value for acquisition") public double getRunTemp(int cfgstate)
getRunTemp in interface CryoDevice@Command(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
getUnit in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setUnit", description="Set temperature units") public void setUnit(@Argument(name="channel",description="Temp Channel to set") String channel, @Argument(name="units",description="Units in [K|C|F|S]") String unit) throws org.lsst.ccs.drivers.commons.DriverException
setUnit in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
close in interface CryoDeviceclose in class org.lsst.ccs.subsystem.monitor.Deviceprotected void initialize()
initialize in class org.lsst.ccs.subsystem.monitor.Deviceprotected int[] checkChannel(String name, int hwChan, String type, String subtype) throws Exception
checkChannel in class org.lsst.ccs.subsystem.monitor.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.subsystem.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.subsystem.monitor.Devicepublic double get_init_temp(int cfgstate)
get_init_temp in interface CryoDevicepublic double get_idle_temp()
get_idle_temp in interface CryoDevicepublic void processAlarm(int event,
int parm)
@Command public int getState()
getState in interface CryoDevice@Command public void setState(int istate)
setState in interface CryoDeviceCopyright © 2014 LSST. All rights reserved.