public interface Instrument
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getIdn() |
byte[] |
getResponseBytes(int timeout,
String command,
byte[] retval) |
byte[] |
getResponseBytes(int timeout,
String command,
int length) |
double |
getResponseDouble(int timeout,
String command) |
int |
getResponseInteger(int timeout,
String command) |
String |
getResponseString(int timeout,
String command) |
String |
getResponseStringTrimmed(int timeout,
String command) |
byte[] |
readBytes(int timeout,
byte[] retval) |
byte[] |
readBytes(int timeout,
int length) |
void |
send(byte[] data) |
void |
send(String command) |
String getIdn() throws IOException
IOExceptionvoid send(String command) throws IOException
IOExceptionvoid send(byte[] data)
throws IOException
IOExceptionString getResponseString(int timeout, String command) throws IOException
IOExceptionString getResponseStringTrimmed(int timeout, String command) throws IOException
IOExceptionint getResponseInteger(int timeout,
String command)
throws IOException
IOExceptiondouble getResponseDouble(int timeout,
String command)
throws IOException
IOExceptionbyte[] getResponseBytes(int timeout,
String command,
int length)
throws IOException
IOExceptionbyte[] getResponseBytes(int timeout,
String command,
byte[] retval)
throws IOException
IOExceptionbyte[] readBytes(int timeout,
int length)
throws IOException
IOExceptionbyte[] readBytes(int timeout,
byte[] retval)
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionCopyright © 2009-2013 jtstand.com. All Rights Reserved.