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 double
getCurrent()
Returns the current output of the supplystatic java.lang.String
getDescription()
double
getSetCurrent()
Get the default value or the value set by the setCurrent() method.double
getSetVoltage()
Get the default value or the value set by the setVoltage() method.double
getVoltage()
Returns the voltage output of the supplydouble
getVoltageLimit()
Returns the currently set voltage limit (OVP).boolean
isOn()
Returns whether the output of the supply is enabled or notvoid
setCurrent(double current)
Sets the current output level of the supplyvoid
setCurrentLimit(double current)
Sets the current protection limitvoid
setVoltage(double voltage)
Sets the voltage output level of the supplyvoid
setVoltageLimit(double limit)
Sets the voltage limit, also known as over-voltage protection.void
turnOff()
Disables the output of the power supplyvoid
turnOn()
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.IOException
DeviceException
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
getSetCurrent
public double getSetCurrent() throws DeviceException, java.io.IOException
Description copied from interface:IVSource
Get the default value or the value set by the setCurrent() method.- Specified by:
getSetCurrent
in interfaceIVSource
- Returns:
- current setting [A]
- Throws:
DeviceException
java.io.IOException
-
getSetVoltage
public double getSetVoltage() throws DeviceException, java.io.IOException
Description copied from interface:IVSource
Get the default value or the value set by the setVoltage() method.- Specified by:
getSetVoltage
in interfaceIVSource
- Returns:
- voltage setting [V]
- Throws:
DeviceException
java.io.IOException
-
turnOn
public void turnOn() throws java.io.IOException, DeviceException
Description copied from interface:DCPower
Enables the output of the power supply
-
turnOff
public void turnOff() throws java.io.IOException, DeviceException
Description copied from interface:DCPower
Disables the output of the power supply
-
isOn
public boolean isOn() throws java.io.IOException, DeviceException
Description copied from interface:DCPower
Returns whether the output of the supply is enabled or not
-
setVoltage
public void setVoltage(double voltage) throws java.io.IOException, DeviceException
Description copied from interface:DCPower
Sets the voltage output level of the supply- Specified by:
setVoltage
in interfaceDCPower
- Specified by:
setVoltage
in 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, DeviceException
Description copied from interface:DCPower
Sets the current output level of the supply- Specified by:
setCurrent
in interfaceDCPower
- Specified by:
setCurrent
in 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, DeviceException
Description copied from interface:DCPower
Returns the voltage output of the supply- Specified by:
getVoltage
in interfaceDCPower
- Specified by:
getVoltage
in 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, DeviceException
Description copied from interface:DCPower
Returns the current output of the supply- Specified by:
getCurrent
in interfaceDCPower
- Specified by:
getCurrent
in 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, DeviceException
Description copied from interface:DCPower
Sets the voltage limit, also known as over-voltage protection. Setting a value of zero will disable this limit.- Specified by:
setVoltageLimit
in 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, DeviceException
Description copied from interface:DCPower
Returns the currently set voltage limit (OVP). Zero means no limit is set.- Specified by:
getVoltageLimit
in 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, DeviceException
Description copied from interface:DCPower
Sets the current protection limit- Specified by:
setCurrentLimit
in interfaceDCPower
- Parameters:
current
- limit [A]- Throws:
java.io.IOException
- Upon communication errorDeviceException
- Upon device compatibility error
-
-