Package jisa.devices.power
Class AgilentE3644A
- java.lang.Object
-
- jisa.visa.VISADevice
-
- jisa.devices.power.AgilentE3644A
-
public class AgilentE3644A extends VISADevice implements DCPower
-
-
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
-
-
Field Summary
-
Fields inherited from class jisa.visa.VISADevice
C_IDN, CR_TERMINATOR, CRLF_TERMINATOR, DEFAULT_EOI, DEFAULT_EOS, DEFAULT_TIMEOUT, EOS_RETURN, LF_TERMINATOR
-
-
Constructor Summary
Constructors Constructor Description AgilentE3644A(Address address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCurrent()Returns the current output of the supplystatic java.lang.StringgetDescription()doublegetSetCurrent()Get the default value or the value set by the setCurrent() method.doublegetSetVoltage()Get the default value or the value set by the setVoltage() method.doublegetVoltage()Returns the voltage output of the supplydoublegetVoltageLimit()Returns the currently set voltage limit (OVP).booleanisOn()Returns whether the output of the supply is enabled or notvoidsetCurrent(double current)Sets the current output level of the supplyvoidsetCurrentLimit(double current)Sets the current protection limitvoidsetVoltage(double voltage)Sets the voltage output level of the supplyvoidsetVoltageLimit(double limit)Sets the voltage limit, also known as over-voltage protection.voidturnOff()Disables the output of the power supplyvoidturnOn()Enables the output of the power supply-
Methods inherited from class jisa.visa.VISADevice
addAutoRemove, checkLimit, checkLimit, clearBuffers, close, getAddress, getConnection, getIDN, getName, manuallyClearReadBuffer, query, queryDouble, queryInt, read, read, readBytes, readDouble, readInt, setIOLimit, setReadBufferSize, setReadTerminator, setReadTerminator, setRetryCount, setTimeout, setWriteTerminator, write, writeBytes
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.devices.interfaces.DCPower
getConfigurationParameters, setOn, waitForStableCurrent, waitForStableVoltage
-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
-
-
-
Constructor Detail
-
AgilentE3644A
public AgilentE3644A(Address address) throws java.io.IOException, DeviceException
- Throws:
java.io.IOExceptionDeviceException
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
getSetCurrent
public double getSetCurrent() throws DeviceException, java.io.IOExceptionDescription copied from interface:IVSourceGet the default value or the value set by the setCurrent() method.- Specified by:
getSetCurrentin interfaceIVSource- Returns:
- current setting [A]
- Throws:
DeviceExceptionjava.io.IOException
-
getSetVoltage
public double getSetVoltage() throws DeviceException, java.io.IOExceptionDescription copied from interface:IVSourceGet the default value or the value set by the setVoltage() method.- Specified by:
getSetVoltagein interfaceIVSource- Returns:
- voltage setting [V]
- Throws:
DeviceExceptionjava.io.IOException
-
turnOn
public void turnOn() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerEnables the output of the power supply
-
turnOff
public void turnOff() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerDisables the output of the power supply
-
isOn
public boolean isOn() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerReturns whether the output of the supply is enabled or not
-
setVoltage
public void setVoltage(double voltage) throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerSets the voltage output level of the supply- Specified by:
setVoltagein interfaceDCPower- Specified by:
setVoltagein interfaceVSource- Parameters:
voltage- Voltage, in Volts- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
setCurrent
public void setCurrent(double current) throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerSets the current output level of the supply- Specified by:
setCurrentin interfaceDCPower- Specified by:
setCurrentin interfaceISource- Parameters:
current- Current, in Amps- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
getVoltage
public double getVoltage() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerReturns the voltage output of the supply- Specified by:
getVoltagein interfaceDCPower- Specified by:
getVoltagein interfaceVSource- Returns:
- Output voltage, in Volts
- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
getCurrent
public double getCurrent() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerReturns the current output of the supply- Specified by:
getCurrentin interfaceDCPower- Specified by:
getCurrentin interfaceISource- Returns:
- Output current, in Amps
- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
setVoltageLimit
public void setVoltageLimit(double limit) throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerSets the voltage limit, also known as over-voltage protection. Setting a value of zero will disable this limit.- Specified by:
setVoltageLimitin interfaceDCPower- Parameters:
limit- Voltage limit, in Volts- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
getVoltageLimit
public double getVoltageLimit() throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerReturns the currently set voltage limit (OVP). Zero means no limit is set.- Specified by:
getVoltageLimitin interfaceDCPower- Returns:
- Voltage limit, in Volts
- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
setCurrentLimit
public void setCurrentLimit(double current) throws java.io.IOException, DeviceExceptionDescription copied from interface:DCPowerSets the current protection limit- Specified by:
setCurrentLimitin interfaceDCPower- Parameters:
current- limit [A]- Throws:
java.io.IOException- Upon communication errorDeviceException- Upon device compatibility error
-
-