|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.core.BaseInstrumentPort
org.mbari.siam.core.SerialInstrumentPort
org.mbari.siam.core.NVTInstrumentPort
public class NVTInstrumentPort
Implements power control and communications to an instrument via ethernet-to-serial terminal server using RFC 2217. May have a power port. Put into core package because it inherits from core.SerialInstrumentPort
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
_log4j
Log4j logger |
protected NVTSerialPort |
_nvtSerialPort
|
| Fields inherited from class org.mbari.siam.core.SerialInstrumentPort |
|---|
_fromInstrument, _instrumentPortSuspeneded, _serialOpen, _serialPort, _serialPortName, _toInstrument |
| Fields inherited from class org.mbari.siam.core.BaseInstrumentPort |
|---|
_powerPort |
| Fields inherited from interface org.mbari.siam.core.InstrumentPort |
|---|
RTS_SENSE |
| Constructor Summary | |
|---|---|
NVTInstrumentPort(NVTSerialPort serial,
PowerPort power)
create an NVTInstrumentPort. |
|
| Method Summary | |
|---|---|
void |
initialize()
initialize the InstrumentPort |
void |
setCommsMode(CommsMode commsMode)
Set communications mode (RS422,RS485,RS232). |
| Methods inherited from class org.mbari.siam.core.SerialInstrumentPort |
|---|
getCarrierDetectStatus, getClearToSendStatus, getCommPortName, getInputStream, getInstrumentConsole, getOutputStream, getSerialPort, getSerialPortParams, isCTS, resume, sendBreak, setRTS, setSerialPortParams, shutDown, suspend |
| Methods inherited from class org.mbari.siam.core.BaseInstrumentPort |
|---|
connectPower, disableCommunications, disconnectPower, enableCommunications, getCurrentLevel, getCurrentLimit, getStatusMessage, getStatusSummaryMessage, getTemperature, getTerseStatus, getVoltageLevel, isolatePort, isSuspended, resetStatus, setCurrentLimit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mbari.siam.core.InstrumentPort |
|---|
connectPower, disableCommunications, disconnectPower, enableCommunications, getCommPortName, getCurrentLevel, getCurrentLimit, getInputStream, getInstrumentConsole, getOutputStream, getStatusMessage, getStatusSummaryMessage, getTerseStatus, getVoltageLevel, isolatePort, isSuspended, resetStatus, resume, setCurrentLimit, shutDown, suspend |
| Field Detail |
|---|
protected static org.apache.log4j.Logger _log4j
protected NVTSerialPort _nvtSerialPort
| Constructor Detail |
|---|
public NVTInstrumentPort(NVTSerialPort serial,
PowerPort power)
| Method Detail |
|---|
public void initialize()
throws InitializeException
initialize in interface InstrumentPortinitialize in class SerialInstrumentPortInitializeExceptionpublic void setCommsMode(CommsMode commsMode)
setCommsMode in interface InstrumentPortsetCommsMode in class SerialInstrumentPort
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||