public class Lakeshore325Device extends org.lsst.ccs.monitor.Device implements CryoDevice
| Constructor and Description |
|---|
Lakeshore325Device() |
Lakeshore325Device(int dummy,
String host,
int baud)
put Lakeshore 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) |
String |
getCurrent_channel() |
String |
getCurrent_channel2() |
int |
getCurrent_loop() |
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 Source for Loop returns Channels A through D
|
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 |
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
|
double |
getTempChange()
Return the rate of change in T/min of the temperature values
|
double |
getTempStdDev()
Return the standard devation of the temperature values
|
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.
|
boolean |
isInControl()
Get control mode
|
void |
open(int type,
String ident,
int param)
Opens connection to a device.
|
int |
rampTemp(double duration,
double value,
int nsteps)
Ramps to the desired temperature over a given time and for nsteps
|
int |
rampTemp(double duration,
double t_target,
int nsteps,
int iwloop,
int ioloop,
String wchan,
String ochan,
double delta_warm)
Ramps to the desired temperature over a given time and for nsteps
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
setCurrent_channel(String current_channel) |
void |
setCurrent_channel2(String current_channel) |
void |
setCurrent_loop(int current_loop) |
void |
setHeaterRange(int loop,
String range)
Set Heater Range for Loop [1-4]
|
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 |
setToControl()
Put loops in control mode
|
void |
setType(String channel,
String typ)
Set calibration curve type for Channels A through D
|
void |
setUnit(String channel,
String unit)
Set Temperature Units for Channels A through D
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
addChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initDevice, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic Lakeshore325Device(int dummy,
String host,
int baud)
throws org.lsst.ccs.drivers.commons.DriverException
dummy - - unused parameter that exists in the CryoDevice interface's
open routine. Used to specify the type of connection which is unnecessary
in the Lakeshore driverhost - baud - org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public Lakeshore325Device()
@Command(name="open",
description="Open connection to Model LakeShore 325")
public void open(@Argument(name="dummy type",description="Dummy 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
dummy - - unused parameter that exists in the CryoDevice interface's
open routine. Used to specify the type of connection which is unnecessary
in the Lakeshore driverorg.lsst.ccs.drivers.commons.DriverException@Command(name="showident",
description="Show Temp Control Lakeshore 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="unused loop")
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="unused loop")
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="setHeaterRange",
description="setHeaterRange for loop")
public void setHeaterRange(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(name="range",description="hi,low,mid")
String range)
throws org.lsst.ccs.drivers.commons.DriverException
setHeaterRange in interface CryoDeviceorg.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
getHtrRead in interface CryoDeviceorg.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
getPID_P in interface CryoDeviceorg.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
getPID_I in interface CryoDeviceorg.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
getPID_D 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(type=QUERY,
description="Return the standard devation of the temperature values")
public double getTempStdDev()
getTempStdDev in interface CryoDevice@Command(type=QUERY,
description="Return the temperature change over the sample period in degrees/minute")
public double getTempChange()
getTempChange in interface CryoDevice@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="rampVolts",
description="ramp the voltage")
public int rampTemp(@Argument(name="duration",description="number of seconds to ramp from current voltage to desired voltage")
double duration,
@Argument(name="value",description="Temp to ramp to")
double value,
@Argument(name="nsteps",description="number of steps")
int nsteps)
rampTemp in interface CryoDeviceduration - value - nsteps - **************************************************************************@Command(type=QUERY,
name="rampTemp",
description="ramp the temperature to the desired point")
public int rampTemp(@Argument(name="duration",description="number of seconds to ramp from current voltage to desired voltage")
double duration,
@Argument(name="t_target",description="Temp to ramp to")
double t_target,
@Argument(name="nsteps",description="number of steps")
int nsteps,
@Argument(name="warmer_loop",description="number of steps")
int iwloop,
@Argument(name="other_loop",description="number of steps")
int ioloop,
@Argument(name="warm_temp_chan",description="number of steps")
String wchan,
@Argument(name="other_temp_chan",description="number of steps")
String ochan,
@Argument(name="delta_warm",description="Temp to ramp to")
double delta_warm)
rampTemp in interface CryoDeviceduration - t_target - nsteps - **************************************************************************iwloop - ioloop - wchan - ochan - delta_warm - @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.DriverException@Command(name="setType",
description="Set cal curve type : DIODE|ACR|PTC100|PTC1K|NTC10UA|ACR|TC70|NONE")
public void setType(@Argument(name="channel",description="Temp Channel to set")
String channel,
@Argument(name="type",description="Calib. curve type [DIODE|ACR|PTC100|PTC1K|NTC10UA|ACR|TC70|NONE]")
String typ)
throws org.lsst.ccs.drivers.commons.DriverException
setType in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="setToControl",
description="put loops in control mode")
public void setToControl()
throws org.lsst.ccs.drivers.commons.DriverException
setToControl in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="isInControl",
description="is the Lakeshore in control mode")
public boolean isInControl()
throws org.lsst.ccs.drivers.commons.DriverException
isInControl in interface CryoDeviceorg.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
close in class org.lsst.ccs.monitor.Deviceprotected void initialize()
initialize 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.DeviceExceptionprotected void initChannel(int chan,
int type,
int subtype)
initChannel in class org.lsst.ccs.monitor.Deviceprotected double readChannel(int chan,
int type)
readChannel in class org.lsst.ccs.monitor.Devicepublic double get_init_temp(int cfgstate)
get_init_temp in interface CryoDevicepublic double get_idle_temp()
@Command public int getState()
getState in interface CryoDevice@Command public void setState(int istate)
setState in interface CryoDevicepublic String getCurrent_channel()
getCurrent_channel in interface CryoDevicepublic void setCurrent_channel(String current_channel)
setCurrent_channel in interface CryoDevicepublic String getCurrent_channel2()
getCurrent_channel2 in interface CryoDevicepublic void setCurrent_channel2(String current_channel)
setCurrent_channel2 in interface CryoDevicepublic int getCurrent_loop()
getCurrent_loop in interface CryoDevicepublic void setCurrent_loop(int current_loop)
setCurrent_loop in interface CryoDeviceCopyright © 2018 LSST. All rights reserved.