public class TestM24C extends Object
| Constructor and Description |
|---|
TestM24C() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes connection to a device.
|
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 |
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
|
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
|
void |
setLoopSource(int loop,
String channel)
Set Source Channel for Loop
|
void |
setMaxSetPoint(int loop,
double temp)
Set MaxSetPoint for Loop [1-4]
|
void |
setSetPoint(int loop,
double temp)
Set SetPoint for Loop [1-4]
|
void |
setUnit(String channel,
String unit)
Set Temperature Units for Channels A through D
|
String |
showIdentification()
Displays Temp Control 24C identification.
|
@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="close",
description="Close connection to temp control 24C")
public void close()
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
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 info")
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.DriverExceptionCopyright © 2016 LSST. All rights reserved.