Package uk.ac.gda.devices.tenma.api
Interface IPsu722931Controller
- All Known Implementing Classes:
DummyPsu722931Controller,Psu722931EpicsController
public interface IPsu722931Controller
-
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the currentdoubleGets the voltagebooleanIndicates whether the output is currently onvoidTurns off the outputvoidoutputOn()Turns on the outputvoidsetCurrent(double current) Sets the currentvoidsetVoltage(double voltage) Sets the voltage
-
Method Details
-
getCurrent
Gets the current- Returns:
- The current
- Throws:
DeviceException
-
setCurrent
Sets the current- Parameters:
current- The requested current- Throws:
DeviceException- If there is a problem communicating with the device
-
getVoltage
Gets the voltage- Returns:
- The voltage
- Throws:
DeviceException- If there is a problem communicating with the device
-
setVoltage
Sets the voltage- Parameters:
voltage- The voltage- Throws:
DeviceException- If there is a problem communicating with the device
-
outputOn
Turns on the output- Throws:
DeviceException- If there is a problem communicating with the device
-
outputOff
Turns off the output- Throws:
DeviceException- If there is a problem communicating with the device
-
outputIsOn
Indicates whether the output is currently on- Returns:
- A boolean indicating if the output is on
- Throws:
DeviceException- If there is a problem communicating with the device
-