public interface IHarcHardware extends Closeable
| Modifier and Type | Method and Description |
|---|---|
String |
getVersion()
Returns the hardware version (not the version of the driver software).
|
boolean |
isValid()
Tries to identify instances that are not valid.
|
void |
open()
Opens the device with previously set parameters.
|
void |
setDebug(int debug)
Sets a debug parameter.
|
void |
setTimeout(int timeout)
Set timeout in milliseconds.
|
void |
setVerbose(boolean verbose)
Sets a verbosity flag, causing commands to be executed verbosely.
|
String getVersion() throws IOException
IOExceptionvoid setVerbose(boolean verbose)
verbose - on or offvoid setDebug(int debug)
debug - void setTimeout(int timeout)
throws IOException
timeout - Timeout in milliseconds.IOExceptionboolean isValid()
void open() throws HarcHardwareException, IOException
HarcHardwareExceptionIOExceptionCopyright © 2020. All rights reserved.