public class TestM24C
extends org.lsst.ccs.drivers.scpi.TestScpi
| Constructor and Description |
|---|
TestM24C()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
control() |
char |
getLoopSource(int loop) |
double |
getMaxSetPoint(int loop) |
double |
getSetPoint(int loop) |
double |
getTemp(String channel) |
String |
getType(String channel) |
char |
getUnit(String channel) |
boolean |
isControl() |
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
String ident) |
void |
openDefault() |
void |
setLoopSource(int loop,
String channel) |
void |
setMaxSetPoint(int loop,
double temp) |
void |
setSetPoint(int loop,
double temp) |
void |
setType(String channel,
String type) |
void |
setUnit(String channel,
String unit) |
clear, enableOpc, readDouble, readFloat, readInteger, readString, reset, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommand@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
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="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="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="isControl",
description="Get whether control is on")
public boolean isControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="control",
description="Set control on")
public void control()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2017 LSST. All rights reserved.