public class CryoCon24cSimDevice extends CryoCon24cDevice implements CryoDevice
CHAN_CURR_TEMP, CHAN_HTR_1, CHAN_HTR_2, CHAN_PID_D_1, CHAN_PID_D_2, CHAN_PID_I_1, CHAN_PID_I_2, CHAN_PID_P_1, CHAN_PID_P_2, CHAN_RUN_TEMP, CHAN_SETPOINT_1, CHAN_SETPOINT_2, CHAN_TEMP_A, CHAN_TEMP_B, CHAN_TEMP_C, CHAN_TEMP_CHNG, CHAN_TEMP_D, CHAN_TEMP_STDDEV, channelTypes, channelUnits, current_channel, current_channel2, current_loop, d_gainLoop1, d_gainLoop2, i_gainLoop1, i_gainLoop2, maxSetPoints, NUM_CHANS, p_gainLoop1, p_gainLoop2| Constructor and Description |
|---|
CryoCon24cSimDevice() |
CryoCon24cSimDevice(int itype,
String host,
int port)
put CryoCon in initial subsystem state
|
| Modifier and Type | Method and Description |
|---|---|
char |
getLoopSource(int loop)
Get Source for Loop returns Channels A through D
|
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
|
char |
getUnit(String channel)
Get Temperature Units Channels A through D
|
protected void |
initDevice()
Performs configuration.
|
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
|
protected double |
readChannel(int chan,
int type)
Reads a channel.
|
void |
setLoopSource(int loop,
String channel)
Set Source Channel for Loop
|
void |
setSetPoint(int loop,
double temp)
Set SetPoint for Loop [1-4]
|
void |
setSimData(int indx,
double val)
Set simulated temperature.
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
checkChannel, close, enableOtd, get_init_temp, getCurrent_channel, getCurrent_channel2, getCurrent_loop, getHeaterMax, getHeaterRange, getHtrRead, getMaxSetPoint, getOtdSource, getOtdTemp, getPID_D, getPID_I, getPID_P, getRunTemp, getState, getTempChange, getTempStdDev, getType, initChannel, isInControl, isOtdEnabled, processAlarm, rampTemp, rampTemp, setChannelTypes, setChannelUnits, setCurrent_channel, setCurrent_channel2, setCurrent_loop, setHeaterMax, setHeaterRange, setMaxSetPoint, setMaxSetPoints, setOtdSource, setOtdTemp, setRunTemp, setState, setToControl, setType, setUnit, stopControladdLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannel, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget_init_temp, getCurrent_channel, getCurrent_channel2, getCurrent_loop, getHtrRead, getMaxSetPoint, getPID_D, getPID_I, getPID_P, getRunTemp, getState, getTempChange, getTempStdDev, isInControl, rampTemp, rampTemp, setCurrent_channel, setCurrent_channel2, setCurrent_loop, setHeaterRange, setMaxSetPoint, setRunTemp, setState, setToControl, setType, setUnitpublic CryoCon24cSimDevice()
public CryoCon24cSimDevice(int itype,
String host,
int port)
throws org.lsst.ccs.drivers.commons.DriverException
itype - host - port - org.lsst.ccs.drivers.commons.DriverExceptionprotected void initDevice()
CryoCon24cDeviceinitDevice in class 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
org.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
showIdentification in class CryoCon24cDeviceorg.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 CryoDevicegetSetPoint in class CryoCon24cDeviceorg.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 CryoDevicesetSetPoint in class CryoCon24cDeviceorg.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 CryoDevicegetLoopSource in class CryoCon24cDeviceorg.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 CryoDevicesetLoopSource in class CryoCon24cDeviceloop - The loop numberchannel - The temperature channel (A-D)org.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 CryoDevicegetTemp in class CryoCon24cDevicechannel - The channel (A-D)org.lsst.ccs.drivers.commons.DriverException@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 CryoDevicegetUnit in class CryoCon24cDeviceorg.lsst.ccs.drivers.commons.DriverExceptionprotected void initialize()
initialize in class CryoCon24cDeviceprotected double readChannel(int chan,
int type)
CryoCon24cDevicereadChannel in class CryoCon24cDevice@Command(name="setSimTemp",
description="Set Simulated Data value")
public void setSimData(@Argument(name="index",description="data index")
int indx,
@Argument(name="value",description="Simulated value")
double val)
Copyright © 2019 LSST. All rights reserved.