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 Connectionopen(Address address)Attempts to open a connection to the instrument at the given address.voidreset()java.util.List<? extends Address>search()Use this driver to find instruments.booleanworksWith(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
-
-