Class TCPIPDriver

  • All Implemented Interfaces:
    Driver

    public class TCPIPDriver
    extends java.lang.Object
    implements Driver
    • Constructor Summary

      Constructors 
      Constructor Description
      TCPIPDriver()  
    • 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<Address> search()
      Use this driver to find instruments.
      boolean worksWith​(Address address)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TCPIPDriver

        public TCPIPDriver()
    • Method Detail

      • 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 interface Driver
        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: Driver
        Use this driver to find instruments.
        Specified by:
        search in interface Driver
        Returns:
        Array of found instrument addresses.
        Throws:
        VISAException - If it goes wrong