Interface PID.Output

    • Method Detail

      • getValue

        double getValue()
                 throws java.io.IOException,
                        DeviceException
        Returns the value this output is currently outputting.
        Returns:
        Value being output
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getLimit

        double getLimit()
                 throws java.io.IOException,
                        DeviceException
        Returns the limit/range currently being applied to the output value.
        Returns:
        Output limit
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setLimit

        void setLimit​(double range)
               throws java.io.IOException,
                      DeviceException
        Sets the limit/range to apply to the output value.
        Parameters:
        range - Output limit/range
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getName

        java.lang.String getName()
        Returns the name of the output.
        Specified by:
        getName in interface Instrument
        Returns:
        Output name
      • getValueName

        java.lang.String getValueName()
        Returns the name of the output quantity.
        Returns:
        Output quantity name
      • getUnits

        java.lang.String getUnits()
        Returns the units (if any) of the output quantity.
        Returns:
        Output quantity units
      • close

        default void close()
                    throws java.io.IOException,
                           DeviceException
        Description copied from interface: Instrument
        Closes the connection to the instrument.
        Specified by:
        close in interface Instrument
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device