Package jisa.devices.power
Class TSX3510P
- java.lang.Object
-
- jisa.visa.VISADevice
-
- jisa.devices.power.TSX3510P
-
public class TSX3510P extends VISADevice implements DCPower
TSX3510P driver contributed by @uoiah (https://github.com/uoiah)
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecreaseI()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).voidincreaseI()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 limitvoidsetDeltaI(double current)voidsetVoltage(double voltage)Sets the voltage output level of the supplyvoidsetVoltageLimit(double voltage)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
-
TSX3510P
public TSX3510P(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.IOExceptionDescription 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 error
-
setCurrent
public void setCurrent(double current) throws java.io.IOExceptionDescription 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 error
-
getVoltage
public double getVoltage() throws java.io.IOExceptionDescription 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 error
-
getCurrent
public double getCurrent() throws java.io.IOExceptionDescription 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 error
-
setVoltageLimit
public void setVoltageLimit(double voltage) throws java.io.IOExceptionDescription 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:
voltage- Voltage limit, in Volts- Throws:
java.io.IOException- Upon communication error
-
getVoltageLimit
public double getVoltageLimit() throws java.io.IOExceptionDescription 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 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
-
setDeltaI
public void setDeltaI(double current) throws java.io.IOException- Throws:
java.io.IOException
-
increaseI
public void increaseI() throws java.io.IOException- Throws:
java.io.IOException
-
decreaseI
public void decreaseI() throws java.io.IOException- Throws:
java.io.IOException
-
-