org.mbari.siam.core
Class DigitalInputDevicePort
java.lang.Object
org.mbari.siam.core.DevicePort
org.mbari.siam.core.DigitalInputDevicePort
public class DigitalInputDevicePort
- extends DevicePort
DigitalInputDevicePort implements DevicePort for Digital Input bits on an AnalogBoard
| 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 |
_dioBoard
protected DigitalInputBoard _dioBoard
_params
protected int[] _params
DigitalInputDevicePort
public DigitalInputDevicePort(int index,
java.lang.String portName,
DigitalInputBoard dioBoard,
PowerPort powerPort,
java.lang.String jar,
DeviceService service,
int[] parms)
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.