public class TestRebPS extends TestSrp
TestSrp.ConsThread, TestSrp.OnOffconsThread, srp| Constructor and Description |
|---|
TestRebPS()
Constructor
|
connect, connect, connectIp, connectIp, contRead, disconnect, formatHex, formatRate, read, read, setDebug, setSrpVersion, setTimeout, setWarnTime, showBoardType, showBuildStamp, showNumSeqErr, showNumTimeout, showTimeout, showWarnTime, update, write@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="showfailstring",
description="Show the failure detail string")
public String showFailString(@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.DriverException@Command(name="fpgatemp",
description="Read the FPGA temperature and extremas")
public String fpgaTemp()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2021 LSST. All rights reserved.