Class MercuryITC.TMeter

    • Constructor Detail

      • TMeter

        public TMeter​(java.lang.String uid)
    • Method Detail

      • getIDN

        public java.lang.String getIDN()
                                throws java.io.IOException,
                                       DeviceException
        Description copied from interface: Instrument
        Returns an identifying String of the instrument.
        Specified by:
        getIDN in interface Instrument
        Returns:
        Identifying String
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device
      • getAddress

        public Address getAddress()
        Description copied from interface: Instrument
        Returns any Address object used to connect to this instrument.
        Specified by:
        getAddress in interface Instrument
        Returns:
        Address object, null if none
      • getName

        public java.lang.String getName()
        Description copied from interface: PID.Input
        Returns the name of this input.
        Specified by:
        getName in interface Instrument
        Specified by:
        getName in interface PID.Input
        Returns:
        Input name
      • getTemperature

        public double getTemperature()
                              throws java.io.IOException,
                                     DeviceException
        Description copied from interface: TMeter
        Returns the temperature being reported by the thermometer.
        Specified by:
        getTemperature in interface TMeter
        Returns:
        Temperature, in Kelvin
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device
      • setTemperatureRange

        public void setTemperatureRange​(double range)
                                 throws java.io.IOException,
                                        DeviceException
        Description copied from interface: TMeter
        Sets the measurement range for temperature values. The smallest available range containing the specified value will be selected if only discrete options are available.
        Specified by:
        setTemperatureRange in interface TMeter
        Parameters:
        range - The range to use, in Kelvin
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device
      • getTemperatureRange

        public double getTemperatureRange()
                                   throws java.io.IOException,
                                          DeviceException
        Description copied from interface: TMeter
        Returns the measurement range being used for temperature values.
        Specified by:
        getTemperatureRange in interface TMeter
        Returns:
        The range being used, in Kelvin
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device