Package jisa.devices.temperature
Class MercuryITC.TMeter
- java.lang.Object
-
- jisa.devices.temperature.MercuryITC.TMeter
-
- All Implemented Interfaces:
Instrument
,PID.Input
,TC.TMeter
,TMeter
- Enclosing class:
- MercuryITC
public class MercuryITC.TMeter extends java.lang.Object implements TC.TMeter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
-
Constructor Summary
Constructors Constructor Description TMeter(java.lang.String uid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getAddress()
Returns any Address object used to connect to this instrument.java.lang.String
getIDN()
Returns an identifying String of the instrument.java.lang.String
getName()
Returns the name of this input.double
getTemperature()
Returns the temperature being reported by the thermometer.double
getTemperatureRange()
Returns the measurement range being used for temperature values.void
setTemperatureRange(double range)
Sets the measurement range for temperature values.-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.devices.interfaces.Instrument
getConfigurationParameters, getLockObject, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.TC.TMeter
getRange, getSensorName, getUnits, getValue, getValueName, setRange
-
Methods inherited from interface jisa.devices.interfaces.TMeter
getConfigurationParameters, waitForStableTemperature, waitForStableTemperature, waitForStableTemperatureMaxTime, waitForStableTemperatureMaxTime
-
-
-
-
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 interfaceInstrument
- Returns:
- Identifying String
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- 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 interfaceInstrument
- 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 interfaceInstrument
- Specified by:
getName
in interfacePID.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 interfaceTMeter
- Returns:
- Temperature, in Kelvin
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- 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 interfaceTMeter
- Parameters:
range
- The range to use, in Kelvin- Throws:
java.io.IOException
- Upon communications errorDeviceException
- 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 interfaceTMeter
- Returns:
- The range being used, in Kelvin
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
-