Package jisa.devices.interfaces
Interface MSTCouple
-
- All Superinterfaces:
Instrument
,MSTMeter
,MultiInstrument
,TCouple
,TMeter
- All Known Implementing Classes:
USBTC08
public interface MSTCouple extends MSTMeter, TCouple
-
-
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
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.TCouple
TCouple.Type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TCouple
getSensor(int sensor)
Returns the specified sensor as its own thermometer object.default TCouple.Type
getSensorType()
Returns the type of thermal sensor being used for this thermometer.TCouple.Type
getSensorType(int sensor)
void
setSensorType(int sensor, TCouple.Type type)
default 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.MSTMeter
checkSensor, get, getName, getNumSensors, getSensors, getSubInstrument, getSubInstrumentTypes, getTemperature, getTemperature, getTemperatureRange, getTemperatureRange, getTemperatures, setTemperatureRange, setTemperatureRange, waitForStableTemperature
-
Methods inherited from interface jisa.devices.interfaces.MultiInstrument
contains, contains, get, getSubInstruments, getSubInstruments
-
Methods inherited from interface jisa.devices.interfaces.TCouple
getConfigurationParameters
-
Methods inherited from interface jisa.devices.interfaces.TMeter
waitForStableTemperature, waitForStableTemperature, waitForStableTemperatureMaxTime, waitForStableTemperatureMaxTime
-
-
-
-
Method Detail
-
setSensorType
void setSensorType(int sensor, TCouple.Type type) throws java.io.IOException, DeviceException
- Throws:
java.io.IOException
DeviceException
-
getSensorType
TCouple.Type getSensorType(int sensor) throws java.io.IOException, DeviceException
- Throws:
java.io.IOException
DeviceException
-
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 interfaceTCouple
- Parameters:
type
- Sensor type- Throws:
java.io.IOException
- Upon communications errorDeviceException
- 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 interfaceTCouple
- Returns:
- Sensor type
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
getSensor
default TCouple getSensor(int sensor)
Returns the specified sensor as its own thermometer object.- Specified by:
getSensor
in interfaceMSTMeter
- Parameters:
sensor
- The sensor to return- Returns:
- Sensor as thermometer
- Throws:
DeviceException
- Upon incompatibility with devicejava.io.IOException
- Upon communications error
-
-