Package jisa.devices.interfaces
Interface VSource
-
- All Superinterfaces:
Instrument,Switch
- All Known Implementing Classes:
AgilentE3644A,AgilentSPA.ASMU,AgilentSPA.AVSU,DummyMCSMU,K1234,K2200,K236,K2400,K2450,K2600B,K6430,KeithleySCPI,MCSMU.VirtualSMU,TestFET,TSX3510P
public interface VSource extends Instrument, Switch
Interface to define the standard functionality of an instrument that can source voltage.
-
-
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 static java.lang.StringgetDescription()doublegetVoltage()Returns the voltage being output.booleanisOn()Returns whether the voltage-source is on or off.voidsetVoltage(double voltage)Set the voltage to output.voidturnOff()Turns the voltage-source off.voidturnOn()Turns the voltage-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()
-
setVoltage
void setVoltage(double voltage) throws java.io.IOException, DeviceExceptionSet the voltage to output.- Parameters:
voltage- Voltage to output, in Volts- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getVoltage
double getVoltage() throws java.io.IOException, DeviceExceptionReturns the voltage being output.- Returns:
- Voltage being output, in Volts
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
turnOn
void turnOn() throws java.io.IOException, DeviceExceptionTurns the voltage-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 voltage-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 voltage-source is on or off.- Specified by:
isOnin interfaceSwitch- Returns:
- Is it on?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
-