Package jisa.devices.interfaces
Interface ISource
-
- All Superinterfaces:
Instrument,Switch
- All Known Implementing Classes:
AgilentE3644A,AgilentSPA.ASMU,DummyMCSMU,K1234,K2200,K236,K2400,K2450,K2600B,K6430,KeithleySCPI,MCSMU.VirtualSMU,TestFET,TSX3510P
public interface ISource extends Instrument, Switch
Interface to define the standard functionality of an instrument that can source current.
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetCurrent()Returns the current being output.static java.lang.StringgetDescription()booleanisOn()Returns whether the current-source is on or off.voidsetCurrent(double current)Sets the current to output.voidturnOff()Turns the current-source off.voidturnOn()Turns the current-source on.-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
-
-
-
Method Detail
-
getDescription
static java.lang.String getDescription()
-
setCurrent
void setCurrent(double current) throws java.io.IOException, DeviceExceptionSets the current to output.- Parameters:
current- Current to output, in Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrent
double getCurrent() throws java.io.IOException, DeviceExceptionReturns the current being output.- Returns:
- Current being output, in Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
turnOn
void turnOn() throws java.io.IOException, DeviceExceptionTurns the current-source on.- Specified by:
turnOnin interfaceSwitch- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
turnOff
void turnOff() throws java.io.IOException, DeviceExceptionTurns the current-source off.- Specified by:
turnOffin interfaceSwitch- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isOn
boolean isOn() throws java.io.IOException, DeviceExceptionReturns whether the current-source is on or off.- Specified by:
isOnin interfaceSwitch- Returns:
- Is it on?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
-