Package uk.ac.gda.devices.tenma
Class Psu722930
java.lang.Object
uk.ac.gda.devices.tenma.Psu722930
- All Implemented Interfaces:
Findable,IPsu722930
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the currentdoubleGets the step size used when gradually ramping the currentgetName()Get the object name.doubleGets the voltagebooleanIndicates whether the output is currently onvoidTurns off the outputvoidoutputOn()Turns on the outputvoidrampCurrent(double startCurrent, double endCurrent, double rampTimeInSeconds) Gradually moves the current from one value to anothervoidGradually moves the current from its present value to zero over 60 secondsvoidrampToZero(double rampTimeInSeconds) Gradually moves the current from its present value to zero over the specified number of secondsvoidsetCurrent(double current) Sets the currentvoidsetCurrentStepSize(double currentStepSize) Sets the step size used when gradually ramping the currentvoidSet or change the name of the object (as defined in XML).voidsetVoltage(double voltage) Sets the voltage
-
Constructor Details
-
Psu722930
-
-
Method Details
-
getCurrentStepSize
public double getCurrentStepSize()Description copied from interface:IPsu722930Gets the step size used when gradually ramping the current- Specified by:
getCurrentStepSizein interfaceIPsu722930- Returns:
- The step size
-
setCurrentStepSize
public void setCurrentStepSize(double currentStepSize) Description copied from interface:IPsu722930Sets the step size used when gradually ramping the current- Specified by:
setCurrentStepSizein interfaceIPsu722930- Parameters:
currentStepSize- The step size
-
getCurrent
Description copied from interface:IPsu722930Gets the current- Specified by:
getCurrentin interfaceIPsu722930- Returns:
- The current
- Throws:
DeviceException
-
setCurrent
Description copied from interface:IPsu722930Sets the current- Specified by:
setCurrentin interfaceIPsu722930- Parameters:
current- The requested current- Throws:
DeviceException- If there is a problem communicating with the device
-
getVoltage
Description copied from interface:IPsu722930Gets the voltage- Specified by:
getVoltagein interfaceIPsu722930- Returns:
- The voltage
- Throws:
DeviceException- If there is a problem communicating with the device
-
setVoltage
Description copied from interface:IPsu722930Sets the voltage- Specified by:
setVoltagein interfaceIPsu722930- Parameters:
voltage- The requested voltage- Throws:
DeviceException- If there is a problem communicating with the device
-
outputOn
Description copied from interface:IPsu722930Turns on the output- Specified by:
outputOnin interfaceIPsu722930- Throws:
DeviceException- If there is a problem communicating with the device
-
outputOff
Description copied from interface:IPsu722930Turns off the output- Specified by:
outputOffin interfaceIPsu722930- Throws:
DeviceException- If there is a problem communicating with the device
-
outputIsOn
Description copied from interface:IPsu722930Indicates whether the output is currently on- Specified by:
outputIsOnin interfaceIPsu722930- Returns:
- A boolean indicating if the output is on
- Throws:
DeviceException
-
rampCurrent
public void rampCurrent(double startCurrent, double endCurrent, double rampTimeInSeconds) throws DeviceException, InterruptedException Description copied from interface:IPsu722930Gradually moves the current from one value to another- Specified by:
rampCurrentin interfaceIPsu722930- Parameters:
startCurrent- The starting currentendCurrent- The end currentrampTimeInSeconds- The time it should take to get from startCurrent to endCurrent- Throws:
DeviceException- If there is a problem communicating with the deviceInterruptedException
-
rampToZero
Description copied from interface:IPsu722930Gradually moves the current from its present value to zero over the specified number of seconds- Specified by:
rampToZeroin interfaceIPsu722930- Parameters:
rampTimeInSeconds- The time in seconds it should take to reduce the current to zero- Throws:
DeviceException- If there is a problem communicating with the deviceInterruptedException
-
rampToZero
Description copied from interface:IPsu722930Gradually moves the current from its present value to zero over 60 seconds- Specified by:
rampToZeroin interfaceIPsu722930- Throws:
DeviceException- If there is a problem communicating with the deviceInterruptedException
-
setName
Description copied from interface:FindableSet or change the name of the object (as defined in XML). -
getName
Description copied from interface:FindableGet the object name. Used by Castor to check if the object name has been set before calling theFindable.setName(String)method.
-