Package jisa.visa.drivers
Interface Driver
-
- All Known Implementing Classes:
AGVISADriver
,GPIBDriver
,LinuxGPIBDriver
,NIGPIBDriver
,NIVISADriver
,RSVISADriver
,SerialDriver
,TCPIPDriver
,USBDriver
,VISADriver
public interface Driver
-
-
Method Summary
All Methods Instance Methods Abstract 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<? extends Address>
search()
Use this driver to find instruments.boolean
worksWith(Address address)
-
-
-
Method Detail
-
open
Connection open(Address address) throws VISAException
Attempts to open a connection to the instrument at the given address. Returns a Connection object if successful.- Parameters:
address
- Address of the instrument to open- Returns:
- Connection object representing newly opened connection
- Throws:
VISAException
- If it goes wrong
-
search
java.util.List<? extends Address> search() throws VISAException
Use this driver to find instruments.- Returns:
- Array of found instrument addresses.
- Throws:
VISAException
- If it goes wrong
-
worksWith
boolean worksWith(Address address)
-
reset
void reset() throws VISAException
- Throws:
VISAException
-
-