BakeoutController  0.1
A Controller for the Omicron vacuum chamber
Public Member Functions | List of all members
kernel.serial_ports.PortDriver Interface Reference
Inheritance diagram for kernel.serial_ports.PortDriver:
Inheritance graph
[legend]

Public Member Functions

List< String > getSerialPortNames ()
 
String getApplicationName ()
 
SerialPort getPortByName (String portName) throws NoSuchPortException, PortInUseException
 

Detailed Description

Gets the name of all serial ports on the system

Definition at line 11 of file main/java/kernel/serial_ports/PortDriver.java.

Member Function Documentation

String kernel.serial_ports.PortDriver.getApplicationName ( )
Returns
The name to use when signing out serial ports

Implemented in kernel.serial_ports.RXTXPortDriver.

SerialPort kernel.serial_ports.PortDriver.getPortByName ( String  portName) throws NoSuchPortException, PortInUseException
Parameters
portNameThe name of the port that needs to be retrieved. An example of a valid name is "/dev/ttyUSB0"
Returns
An open serial port
Exceptions
NoSuchPortExceptionif no port with that name is available to the application
PortInUseExceptionif the port exists, but is currently owned by another application.

Implemented in kernel.serial_ports.RXTXPortDriver.

List<String> kernel.serial_ports.PortDriver.getSerialPortNames ( )
Returns
The name of serial ports available to this machine

Implemented in kernel.serial_ports.RXTXPortDriver.


The documentation for this interface was generated from the following file:
Git Repo