Interface Instrument

    • Method Detail

      • getIDN

        java.lang.String getIDN()
                         throws java.io.IOException,
                                DeviceException
        Returns an identifying String of the instrument.
        Returns:
        Identifying String
        Throws:
        DeviceException - Upon incompatibility with device
        java.io.IOException - Upon communications error
      • getName

        java.lang.String getName()
        Returns the name of the instrument or channel.
        Returns:
        Name
      • close

        void close()
            throws java.io.IOException,
                   DeviceException
        Closes the connection to the instrument.
        Throws:
        DeviceException - Upon incompatibility with device
        java.io.IOException - Upon communications error
      • getAddress

        Address getAddress()
        Returns any Address object used to connect to this instrument.
        Returns:
        Address object, null if none
      • setTimeout

        default void setTimeout​(int msec)
                         throws java.io.IOException
        Sets the timeout for read/write operations to this instrument (if applicable).
        Parameters:
        msec - Timeout, in milliseconds
        Throws:
        java.io.IOException - Upon communications error
      • getLockObject

        default java.lang.Object getLockObject()
      • getConfigurationParameters

        default java.util.List<Instrument.Parameter<?>> getConfigurationParameters​(java.lang.Class<?> target)
      • getConfigurationParameters

        default java.util.List<Instrument.Parameter<?>> getConfigurationParameters​(kotlin.reflect.KClass<?> target)