Package jisa.visa.drivers
Class SerialDriver
- java.lang.Object
-
- jisa.visa.drivers.SerialDriver
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SerialDriver.JSSCConnection
-
Constructor Summary
Constructors Constructor Description SerialDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
open(Address address)
Attempts to open a connection to the instrument at the given address.void
reset()
java.util.List<SerialAddress>
search()
Use this driver to find instruments.boolean
worksWith(Address address)
-
-
-
Method Detail
-
search
public java.util.List<SerialAddress> search()
Description copied from interface:Driver
Use this driver to find instruments.
-
open
public Connection open(Address address) throws VISAException
Description copied from interface:Driver
Attempts to open a connection to the instrument at the given address. Returns a Connection object if successful.- Specified by:
open
in interfaceDriver
- Parameters:
address
- Address of the instrument to open- Returns:
- Connection object representing newly opened connection
- Throws:
VISAException
- If it goes wrong
-
-