TestSrp.ConsThread, TestSrp.OnOff| Modifier and Type | Field and Description |
|---|---|
protected PduCommon |
pdu
Fields
|
consThread, srp| Constructor and Description |
|---|
TestPduCommon(PduCommon pdu)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
channelOff(int chan) |
void |
channelOffN(String chan) |
void |
channelOn(int chan) |
void |
channelOnN(String chan) |
void |
mainOff() |
void |
mainOn() |
double |
readCurrent(int chan) |
double |
readVoltage(int chan) |
String |
showAlertStatus() |
String |
showChannel(int chan) |
String |
showChannelN(String chan) |
String |
showChannelNames() |
int |
showLinkFault() |
String |
showMain() |
String |
showMainStatus() |
String |
showPower() |
String |
showSwitchStatus() |
String |
showValidChannels() |
connect, connect, connectIp, connectIp, contRead, disconnect, formatHex, formatRate, read, read, setDebug, setSrpVersion, setTimeout, setWarnTime, showBoardType, showBuildStamp, showNumSeqErr, showNumTimeout, showTimeout, showWarnTime, update, writeprotected final PduCommon pdu
public TestPduCommon(PduCommon pdu)
pdu - The PDU object to use@Command(description="Turn on the main power")
public void mainOn()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off the main power")
public void mainOff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Get the main power state") public String showMain() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the main power status") public String showMainStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on a channel")
public void channelOn(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn on a named channel")
public void channelOnN(@Argument(description="Channel name")
String chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off a channel")
public void channelOff(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Turn off a named channel")
public void channelOffN(@Argument(description="Channel name")
String chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the state of a channel") public String showChannel(@Argument(description="Channel number") int chan) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the state of a named channel") public String showChannelN(@Argument(description="Channel name") String chan) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the valid channel mask") public String showValidChannels() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the channel switch status") public String showSwitchStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the channel alert status") public String showAlertStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the link fault word")
public int showLinkFault()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a channel\'s voltage")
public double readVoltage(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a channel\'s current")
public double readCurrent(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the channel names") public String showChannelNames() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the complete power state") public String showPower() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2022 LSST. All rights reserved.