Package jisa.devices.interfaces
Interface TCouple
-
- All Superinterfaces:
Instrument
,TMeter
- All Known Subinterfaces:
MSTCouple
- All Known Implementing Classes:
USBTC08
public interface TCouple extends TMeter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
TCouple.Type
Enumeration of standard thermocouple types-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<Instrument.Parameter<?>>
getConfigurationParameters(java.lang.Class<?> target)
TCouple.Type
getSensorType()
Returns the type of thermal sensor being used for this thermometer.void
setSensorType(TCouple.Type type)
Sets the type of thermal sensor being used for this thermometer.-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.TMeter
getTemperature, getTemperatureRange, setTemperatureRange, waitForStableTemperature, waitForStableTemperature, waitForStableTemperatureMaxTime, waitForStableTemperatureMaxTime
-
-
-
-
Method Detail
-
setSensorType
void setSensorType(TCouple.Type type) throws java.io.IOException, DeviceException
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.- Parameters:
type
- Sensor type- Throws:
DeviceException
- Upon incompatibility with devicejava.io.IOException
- Upon communications error
-
getSensorType
TCouple.Type getSensorType() throws java.io.IOException, DeviceException
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- Returns:
- Sensor type
- Throws:
DeviceException
- Upon incompatibility with devicejava.io.IOException
- Upon communications error
-
getConfigurationParameters
default java.util.List<Instrument.Parameter<?>> getConfigurationParameters(java.lang.Class<?> target)
- Specified by:
getConfigurationParameters
in interfaceInstrument
- Specified by:
getConfigurationParameters
in interfaceTMeter
-
-