Interface TC.TMeter

    • Method Detail

      • getValue

        default double getValue()
                         throws java.io.IOException,
                                DeviceException
        Description copied from interface: PID.Input
        Returns the value currently being sensed by this input.
        Specified by:
        getValue in interface PID.Input
        Returns:
        Sensed value
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setRange

        default void setRange​(double range)
                       throws java.io.IOException,
                              DeviceException
        Description copied from interface: PID.Input
        Sets the measurement range to be used by this input. Specify the largest (absolute) value you wish to measure, and it will select the smallest range that contains it.
        Specified by:
        setRange in interface PID.Input
        Parameters:
        range - Maximum (absolute) value to be measured
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getSensorName

        default java.lang.String getSensorName()
        Specified by:
        getSensorName in interface PID.Input
      • getRange

        default double getRange()
                         throws java.io.IOException,
                                DeviceException
        Description copied from interface: PID.Input
        Returns the measurement range currently being used by this input.
        Specified by:
        getRange in interface PID.Input
        Returns:
        Measurement range
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getValueName

        default java.lang.String getValueName()
        Description copied from interface: PID.Input
        Returns the name of the quantity this input is measuring.
        Specified by:
        getValueName in interface PID.Input
        Returns:
        Input quantity name
      • getUnits

        default java.lang.String getUnits()
        Description copied from interface: PID.Input
        Returns the units (if any) of the quantity this input is measuring.
        Specified by:
        getUnits in interface PID.Input
        Returns:
        Input quantity units