public class TestM24C
extends org.lsst.ccs.drivers.scpi.TestScpi
| Constructor and Description |
|---|
TestM24C()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
enableOtd(boolean enab) |
String |
getControl() |
String |
getControlType(int loop) |
double |
getHeaterMax(int loop) |
String |
getHeaterRange(int loop) |
char |
getLoopSource(int loop) |
double |
getMaxSetPoint(int loop) |
char |
getOtdSource() |
double |
getOtdTemp() |
double |
getSetPoint(int loop) |
double |
getTemp(String channel) |
String |
getType(String channel) |
char |
getUnit(String channel) |
boolean |
isInControl() |
boolean |
isOtdEnabled() |
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
String ident) |
void |
open(String host) |
void |
openBNLDefault() |
void |
setControlType(int loop,
String type) |
void |
setHeaterMax(int loop,
double power) |
void |
setHeaterRange(int loop,
String range) |
void |
setLoopSource(int loop,
String channel) |
void |
setMaxSetPoint(int loop,
double temp) |
void |
setOtdSource(String channel) |
void |
setOtdTemp(double temp) |
void |
setSetPoint(int loop,
double temp) |
void |
setToControl() |
void |
setType(String channel,
String type) |
void |
setUnit(String channel,
String unit) |
void |
stopControl() |
clear, enableOpc, readDouble, readFloat, readInteger, readString, reset, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommand@Command(name="open",
description="Open network connection to Model 24C")
public void open(@Argument(name="host",description="Host name")
String host)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="open",
description="Open connection to Model 24C")
public void open(@Argument(name="type",description="Communications type")
org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
@Argument(name="identity",description="Device identifier")
String ident)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.TestAsciiorg.lsst.ccs.drivers.commons.DriverException@Command(name="openDefault",
description="Open connection to BNL default Model 24C")
public void openBNLDefault()
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
org.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
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
org.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
org.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
org.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
org.lsst.ccs.drivers.commons.DriverException@Command(name="getHeaterRange",
description="Retrieve heater range for loop")
public String getHeaterRange(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setHeaterRange",
description="Set heater range for loop")
public void setHeaterRange(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(name="range",description="range (lo, mid or hi)")
String range)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getHeaterMax",
description="Retrieve 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
org.lsst.ccs.drivers.commons.DriverException@Command(name="setHeaterMax",
description="Set maximum heater power for loop")
public void setHeaterMax(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(name="power",description="maximum power (%)")
double power)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getControlType",
description="Retrieve control type for loop")
public String getControlType(@Argument(name="loop",description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setControlType",
description="Set control type for loop")
public void setControlType(@Argument(name="loop",description="loop number [1-4]")
int loop,
@Argument(name="type",description="control type string")
String type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getTemp",
description="Retrieve temperature")
public double getTemp(@Argument(name="channel",description="Temp Channel to read")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
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
org.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
org.lsst.ccs.drivers.commons.DriverException@Command(name="getType",
description="Get sensor type")
public String getType(@Argument(name="channel",description="Channel ID")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setType",
description="Set sensor type")
public void setType(@Argument(name="channel",description="Channel ID")
String channel,
@Argument(name="type",description="Sensor type")
String type)
throws org.lsst.ccs.drivers.commons.DriverException
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="enableOtd",
description="Set OTD system enabled state")
public void enableOtd(@Argument(name="enab",description="Whether to enable OTD system")
boolean enab)
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="setOtdSource",
description="Set source channel for the OTD system")
public void setOtdSource(@Argument(name="channel",description="channel [A-D]")
String channel)
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="setOtdTemp",
description="Set temperature limit for the OTD system")
public void setOtdTemp(@Argument(name="temp",description="Temperature")
double temp)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="isInControl",
description="Get whether control is on")
public boolean isInControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getControl",
description="Get control state")
public String getControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setToControl",
description="Set control on")
public void setToControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="stopControl",
description="Set control off")
public void stopControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.