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) |
double |
getHeaterPower(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 |
setHeaterPower(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, writeCommandclose, makeCommandString, open, open, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, read, read, setCmndTerm, setConnTimeout, setDefaultParm, setOptions, setRespTerm, setTerminator, setTimeout, showConnTimeout, showTimeout, write@Command(description="Open network connection to Model 24C")
public void open(@Argument(description="Host name")
String host)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Open connection to Model 24C")
public void open(@Argument(description="Communications type")
org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
@Argument(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(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(description="Retrieve MaxSetPoint for loop")
public double getMaxSetPoint(@Argument(description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="setMaxSetPoint for loop")
public void setMaxSetPoint(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="temperature")
double temp)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve setPoint for loop")
public double getSetPoint(@Argument(description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="setSetPoint for loop")
public void setSetPoint(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="temperature")
double temp)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve source channel for loop")
public char getLoopSource(@Argument(description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set source channel for loop")
public void setLoopSource(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="channel [A-D]")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve heater range for loop") public String getHeaterRange(@Argument(description="loop number [1-4]") int loop) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set heater range for loop")
public void setHeaterRange(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="range (lo, mid or hi)")
String range)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve maximum heater power for loop")
public double getHeaterMax(@Argument(description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set maximum heater power for loop")
public void setHeaterMax(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="maximum power (%)")
double power)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve manual heater power for loop")
public double getHeaterPower(@Argument(description="loop number [1-4]")
int loop)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set manual heater power for loop")
public void setHeaterPower(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="manual power (%)")
double power)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve control type for loop") public String getControlType(@Argument(description="loop number [1-4]") int loop) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set control type for loop")
public void setControlType(@Argument(description="loop number [1-4]")
int loop,
@Argument(description="control type string")
String type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve temperature")
public double getTemp(@Argument(description="Temp Channel to read")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Retrieve temperature units")
public char getUnit(@Argument(description="Temp Channel to read")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set temperature units")
public void setUnit(@Argument(description="Temp Channel to set")
String channel,
@Argument(description="Units in [K|C|F|S]")
String unit)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get sensor type") public String getType(@Argument(description="Channel ID") String channel) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set sensor type")
public void setType(@Argument(description="Channel ID")
String channel,
@Argument(description="Sensor type")
String type)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether OTD system enabled")
public boolean isOtdEnabled()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set OTD system enabled state")
public void enableOtd(@Argument(description="Whether to enable OTD system")
boolean enab)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(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(description="Set source channel for the OTD system")
public void setOtdSource(@Argument(description="channel [A-D]")
String channel)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(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(description="Set temperature limit for the OTD system")
public void setOtdTemp(@Argument(description="Temperature")
double temp)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get whether control is on")
public boolean isInControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get control state") public String getControl() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set control on")
public void setToControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set control off")
public void stopControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2020 LSST. All rights reserved.