org.mbari.siam.core
Class AnalogDevicePort
java.lang.Object
org.mbari.siam.core.DevicePort
org.mbari.siam.core.AnalogDevicePort
public class AnalogDevicePort
- extends DevicePort
AnalogDevicePort implements DevicePort for an A/D port.
| 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 |
_analogBoard
protected AnalogBoard _analogBoard
_channels
protected ChannelRange[] _channels
AnalogDevicePort
public AnalogDevicePort(int index,
java.lang.String portName,
AnalogBoard analogBoard,
PowerPort powerPort,
java.lang.String jar,
DeviceService service,
ChannelParameters portParams)
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.