public class SerialPortDriver extends InstrumentDriver
encoding, name, responseTermination, responseTimeout| Constructor and Description |
|---|
SerialPortDriver(String name,
Map<String,Object> args) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
int |
getBaudrate() |
int |
getDataBits() |
String |
getParity() |
String |
getPath() |
String |
read() |
void |
write(String cmd) |
command, getName, getResponseTermination, getResponseTimeoutpublic int getBaudrate()
public int getDataBits()
public String getParity()
public String getPath()
public void connect()
connect in class InstrumentDriverpublic void write(String cmd)
write in class InstrumentDriverpublic String read() throws IOException, TimeoutException
read in class InstrumentDriverIOExceptionTimeoutExceptionpublic void disconnect()
disconnect in class InstrumentDriverCopyright © 2018 Space Applications Services. All rights reserved.