Package jisa.visa.drivers
Class USBDriver
- java.lang.Object
-
- jisa.visa.drivers.USBDriver
-
-
Constructor Summary
Constructors Constructor Description USBDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connectionopen(Address address)Attempts to open a connection to the instrument at the given address.voidreset()java.util.List<Address>search()Use this driver to find instruments.booleanworksWith(Address address)
-
-
-
Method Detail
-
open
public Connection open(Address address) throws VISAException
Description copied from interface:DriverAttempts to open a connection to the instrument at the given address. Returns a Connection object if successful.- Specified by:
openin interfaceDriver- Parameters:
address- Address of the instrument to open- Returns:
- Connection object representing newly opened connection
- Throws:
VISAException- If it goes wrong
-
search
public java.util.List<Address> search() throws VISAException
Description copied from interface:DriverUse this driver to find instruments.- Specified by:
searchin interfaceDriver- Returns:
- Array of found instrument addresses.
- Throws:
VISAException- If it goes wrong
-
reset
public void reset() throws VISAException- Specified by:
resetin interfaceDriver- Throws:
VISAException
-
-