Interface MSTCouple

    • Method Detail

      • setSensorType

        default void setSensorType​(TCouple.Type type)
                            throws java.io.IOException,
                                   DeviceException
        Description copied from interface: TCouple
        Sets the type of thermal sensor being used for this thermometer. If instrument has no ability to set the sensor type, then this method will have no effect.
        Specified by:
        setSensorType in interface TCouple
        Parameters:
        type - Sensor type
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device
      • getSensorType

        default TCouple.Type getSensorType()
                                    throws java.io.IOException,
                                           DeviceException
        Description copied from interface: TCouple
        Returns the type of thermal sensor being used for this thermometer. If instrument has no ability to set the sensor type, then this method will most likely return SensorType.UNKNOWN
        Specified by:
        getSensorType in interface TCouple
        Returns:
        Sensor type
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon incompatibility with device
      • getSensor

        default TCouple getSensor​(int sensor)
        Returns the specified sensor as its own thermometer object.
        Specified by:
        getSensor in interface MSTMeter
        Parameters:
        sensor - The sensor to return
        Returns:
        Sensor as thermometer
        Throws:
        DeviceException - Upon incompatibility with device
        java.io.IOException - Upon communications error