|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.moos.deployed.SidearmPowerPort
public class SidearmPowerPort
| Constructor Summary | |
|---|---|
SidearmPowerPort(java.lang.String name)
|
|
SidearmPowerPort(java.lang.String name,
DpaBoard.DpaChannel c)
|
|
| Method Summary | |
|---|---|
protected void |
commPowerOff()
Turn off communications to instrument. |
protected void |
commPowerOn()
Turn on communications to instrument. |
protected void |
commTxHiPower()
Set communications TX to high power |
protected void |
commTxLoPower()
Set communications TX to low power |
protected void |
connectCommGround()
Connect communications ground. |
protected void |
connectInstrumentPower()
Connect instrument power. |
void |
connectPower()
Connect instrument to power. |
void |
disableCommunications()
Disable communications |
void |
disconnectPower()
Disconnect instrument from power. |
void |
enableCommunications()
Enable communications |
int |
getChannelControlReg()
Read channel control register |
void |
getCommsState()
Read comms state (relay=CON|ISO,power=ON|OFF) |
float |
getCurrentLevel()
Get the current level of the DpaChannel in amps. |
int |
getCurrentLimit()
Get current limit on port. |
int |
getInterruptControlReg()
Read interrupt register |
java.lang.String |
getName()
Return name. |
void |
getPowerState()
Read power state (relay=CON|ISO,power=ON|OFF) |
int |
getRelayReg()
Read relay register |
java.lang.String |
getStatusMessage()
Get status message. |
java.lang.String |
getStatusSummaryMessage()
Get status summary message. |
float |
getTemperature()
Get heatsink temperature (deg C). |
java.lang.String |
getTerseStatus()
Get a terse status message |
float |
getVoltageLevel()
Get the voltage level of the DpaChannel in volts. |
void |
initialize()
Initialize the port. |
protected void |
instrumentPowerOff()
Turn off power to instrument. |
protected void |
instrumentPowerOn()
Turn on power to instrument. |
boolean |
isLeftChannel()
If left-side channel, return true. |
protected void |
isolateCommGround()
Isolate communications ground. |
protected void |
isolateInstrumentPower()
Isolate instrument power. |
void |
isolatePort()
Isolate comms and power from port. |
void |
resetStatus()
Reset status. |
void |
setCommsMode(CommsMode commsMode)
Set communications mode (RS422,RS485,RS232) satisfies InstrumentPort interface |
void |
setCurrentLimit(int currentLimit)
Set current limit on port. |
void |
setDpaChannel(DpaBoard.DpaChannel c)
Set DpaChannel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SidearmPowerPort(java.lang.String name,
DpaBoard.DpaChannel c)
public SidearmPowerPort(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
getName in interface PowerPortpublic void setDpaChannel(DpaBoard.DpaChannel c)
public void initialize()
initialize in interface PowerPort
public int getCurrentLimit()
throws NotSupportedException
getCurrentLimit in interface PowerPortNotSupportedExceptionpublic float getVoltageLevel()
getVoltageLevel in interface PowerPortpublic int getRelayReg()
public int getChannelControlReg()
public int getInterruptControlReg()
public void getPowerState()
public void getCommsState()
public float getCurrentLevel()
getCurrentLevel in interface PowerPort
public void setCurrentLimit(int currentLimit)
throws RangeException
setCurrentLimit in interface PowerPortRangeExceptionpublic void enableCommunications()
enableCommunications in interface PowerPortpublic void disableCommunications()
disableCommunications in interface PowerPortpublic void connectPower()
connectPower in interface PowerPortpublic void disconnectPower()
disconnectPower in interface PowerPortpublic void isolatePort()
isolatePort in interface PowerPortprotected void instrumentPowerOn()
protected void instrumentPowerOff()
protected void commPowerOn()
protected void commPowerOff()
protected void commTxHiPower()
protected void commTxLoPower()
protected void isolateInstrumentPower()
protected void connectInstrumentPower()
protected void isolateCommGround()
protected void connectCommGround()
public float getTemperature()
getTemperature in interface PowerPortpublic java.lang.String getStatusMessage()
getStatusMessage in interface PowerPortpublic java.lang.String getStatusSummaryMessage()
getStatusSummaryMessage in interface PowerPortpublic java.lang.String getTerseStatus()
getTerseStatus in interface PowerPortpublic void resetStatus()
resetStatus in interface PowerPortpublic boolean isLeftChannel()
public void setCommsMode(CommsMode commsMode)
setCommsMode in interface PowerPort
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||