org.mbari.siam.core
Class AnalogDevicePort

java.lang.Object
  extended by org.mbari.siam.core.DevicePort
      extended by org.mbari.siam.core.AnalogDevicePort

public class AnalogDevicePort
extends DevicePort

AnalogDevicePort implements DevicePort for an A/D port.


Field Summary
protected  AnalogBoard _analogBoard
           
protected  ChannelRange[] _channels
           
 
Fields inherited from class org.mbari.siam.core.DevicePort
_service
 
Constructor Summary
AnalogDevicePort(int index, java.lang.String portName, AnalogBoard analogBoard, PowerPort powerPort, java.lang.String jar, DeviceService service, ChannelParameters portParams)
           
 
Method Summary
 void closeComms()
          closeComms() is null
 void createInstrumentPort()
          Create the AnalogInstrumentPort
 void openComms()
          openComms() is null
 
Methods inherited from class org.mbari.siam.core.DevicePort
addCommPortListener, equals, getCommsMode, getDeviceService, getIndex, getPortName, getPowerPort, hashCode, hasPowerPort, hasPuck, powerDownPort, powerUpPort, setCommsMode, setPowerPort, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_analogBoard

protected AnalogBoard _analogBoard

_channels

protected ChannelRange[] _channels
Constructor Detail

AnalogDevicePort

public AnalogDevicePort(int index,
                        java.lang.String portName,
                        AnalogBoard analogBoard,
                        PowerPort powerPort,
                        java.lang.String jar,
                        DeviceService service,
                        ChannelParameters portParams)
Method Detail

openComms

public void openComms()
               throws gnu.io.NoSuchPortException,
                      gnu.io.PortInUseException,
                      gnu.io.UnsupportedCommOperationException,
                      java.lang.Exception
openComms() is null

Specified by:
openComms in class DevicePort
Throws:
gnu.io.NoSuchPortException
gnu.io.PortInUseException
gnu.io.UnsupportedCommOperationException
java.lang.Exception

closeComms

public void closeComms()
closeComms() is null

Specified by:
closeComms in class DevicePort

createInstrumentPort

public void createInstrumentPort()
                          throws InitializeException
Create the AnalogInstrumentPort

Specified by:
createInstrumentPort in class DevicePort
Throws:
InitializeException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.