public class TestRebPs
extends org.lsst.ccs.drivers.srp.TestSrp
| Constructor and Description |
|---|
TestRebPs()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
configTemperature() |
void |
configure(int rebNum) |
void |
configure(int rebNum,
int psNum) |
void |
configure(int rebNum,
int psNum,
int devc) |
void |
connect(String ipAddr) |
String |
contExtPower(int rebNum,
int psNum,
int chan) |
String |
contPower(int rebNum,
int psNum,
int chan) |
String |
contTemperature(int chan) |
void |
enablePower(boolean enable) |
void |
enableWrite(boolean enable) |
String |
readExtPower(int rebNum,
int psNum) |
String |
readExtPower(int rebNum,
int psNum,
int chan) |
String |
readPower(int rebNum) |
String |
readPower(int rebNum,
int psNum) |
String |
readPower(int rebNum,
int psNum,
int chan) |
void |
resetExtrema(int rebNum,
int psNum,
int chan) |
void |
setPower(int rebNum,
int action) |
void |
setTemperatureRes(int res) |
void |
setTemperatureRes(int sensor,
int res) |
String |
showEnablePower() |
String |
showEnableWrite() |
String |
showErrors() |
String |
showFailDetail(int rebNum) |
String |
showFailSummary() |
String |
showFirmware() |
String |
showGeogAddr() |
String |
showInitStatus() |
String |
showNumRebs() |
String |
showNumTemps() |
String |
showPower(int rebNum) |
String |
showSerial() |
String |
showTemperature() |
String |
showTemperature(int sensor) |
String |
showTemperatureRes() |
String |
showTemperatureRes(int sensor) |
String |
showTempError() |
String |
showTempWarn() |
String |
showType() |
String |
showVersion() |
void |
writeDac(int rebNum,
int psNum,
double value) |
@Command(name="connect",
description="Open connection to device")
public void connect(@Argument(description="IP address")
String ipAddr)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showserial",
description="Show the serial number")
public String showSerial()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showfirmware",
description="Show the firmware version")
public String showFirmware()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showgeogaddr",
description="Show the geographical address")
public String showGeogAddr()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showversion",
description="Show the power supply version")
public String showVersion()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="shownumrebs",
description="Show the number of REBs")
public String showNumRebs()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="shownumtemps",
description="Show the number of temperatures")
public String showNumTemps()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtype",
description="Show the PS type")
public String showType()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="configure",
description="Configure a device")
public void configure(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Device number")
int devc)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="configure",
description="Configure all devices in a PS")
public void configure(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="configure",
description="Configure all devices in a REB")
public void configure(@Argument(description="REB number")
int rebNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readpower",
description="Show a power value")
public String readPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readpower",
description="Show power values")
public String readPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readpower",
description="Show power values")
public String readPower(@Argument(description="REB number")
int rebNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readextpower",
description="Show extended power values")
public String readExtPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readextpower",
description="Show extended power values")
public String readExtPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="resetextrema",
description="Reset maximum and minimum power values")
public void resetExtrema(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="writedac",
description="Write to a DAC")
public void writeDac(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="DAC value")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="configtemp",
description="Configure the temperature system")
public void configTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="settempres",
description="Set a temperature resolution")
public void setTemperatureRes(@Argument(description="The sensor number (0 - 6)")
int sensor,
@Argument(description="Resolution value (0 - 3)")
int res)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="settempres",
description="Set all temperature resolutions")
public void setTemperatureRes(@Argument(description="Resolution value (0 - 3)")
int res)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtempres",
description="Show a temperature resolution")
public String showTemperatureRes(@Argument(description="The sensor number (0 - 6)")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtempres",
description="Show all temperature resolutions")
public String showTemperatureRes()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtemp",
description="Show a temperature")
public String showTemperature(@Argument(description="The sensor number (0 - 6)")
int sensor)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtemp",
description="Show all temperatures")
public String showTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtempwarn",
description="Show all warning temperature limits")
public String showTempWarn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showtemperror",
description="Show all error temperature limits")
public String showTempError()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setpower",
description="Sets the power")
public void setPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Action value")
int action)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showpower",
description="Show the power")
public String showPower(@Argument(description="REB number")
int rebNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showinitstatus",
description="Show the initialization status")
public String showInitStatus()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showfailsummary",
description="Show the failure summary word")
public String showFailSummary()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showfaildetail",
description="Show the failure detail")
public String showFailDetail(@Argument(description="REB number")
int rebNum)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="enablewrite",
description="Enable writing to all registers")
public void enableWrite(@Argument(description="Whether to enable (or not)")
boolean enable)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showenablewrite",
description="Show whether writing to all registers is enabled")
public String showEnableWrite()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="enablepower",
description="Enable leaving power on after error")
public void enablePower(@Argument(description="Whether to enable (or not)")
boolean enable)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showenablepower",
description="Show whether leaving power on is enabled")
public String showEnablePower()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showerrors",
description="Show the error counters")
public String showErrors()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="contpower",
description="Continuously read a power value")
public String contPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="contextpower",
description="Continuously read extended power values")
public String contExtPower(@Argument(description="REB number")
int rebNum,
@Argument(description="Power supply number")
int psNum,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="conttemp",
description="Continuously read a temperature value")
public String contTemperature(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2018 LSST. All rights reserved.