org.mbari.siam.core
Class DigitalInputDevicePort

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

public class DigitalInputDevicePort
extends DevicePort

DigitalInputDevicePort implements DevicePort for Digital Input bits on an AnalogBoard


Field Summary
protected  DigitalInputBoard _dioBoard
           
protected  int[] _params
           
 
Fields inherited from class org.mbari.siam.core.DevicePort
_service
 
Constructor Summary
DigitalInputDevicePort(int index, java.lang.String portName, DigitalInputBoard dioBoard, PowerPort powerPort, java.lang.String jar, DeviceService service, int[] parms)
           
 
Method Summary
 void closeComms()
          closeComms() is null
 void createInstrumentPort()
          Create the DigitalInputInstrumentPort
 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

_dioBoard

protected DigitalInputBoard _dioBoard

_params

protected int[] _params
Constructor Detail

DigitalInputDevicePort

public DigitalInputDevicePort(int index,
                              java.lang.String portName,
                              DigitalInputBoard dioBoard,
                              PowerPort powerPort,
                              java.lang.String jar,
                              DeviceService service,
                              int[] parms)
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 DigitalInputInstrumentPort

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.