![]() |
BakeoutController
0.1
A Controller for the Omicron vacuum chamber
|


Public Member Functions | |
| TDKLambdaPowerSupply (String deviceName, PortCommunicator portCommunicator, int deviceAddress) throws IOException | |
| String | getName () |
| int | getDeviceAddress () |
| Double | getVoltage () throws IOException |
| void | setVoltage (double newVoltage) throws IOException |
| void | reset () throws IOException |
| Double | getCurrent () throws IOException |
| void | setCurrent (double newCurrent) throws IOException |
| void | outputOff () throws IOException |
| void | outputOn () throws IOException |
Additional Inherited Members | |
Public Attributes inherited from devices.PowerSupply | |
| String | GET_ADDRESS_COMMAND = "ADR %d\r" |
| String | GET_VOLTAGE_COMMAND = "PV?\r" |
| String | SET_VOLTAGE_COMMAND = "PV %.3f\r" |
| String | GET_CURRENT_COMMAND = "PC?\r" |
| String | SET_CURRENT_COMMAND = "PC %.3f\r" |
| String | SET_OUTPUT_COMMAND = "OUT %s\r" |
| String | RESET_COMMAND = "RST\r" |
| String | OK_RESPONSE = "OK" |
| String | OFF = "0" |
| String | ON = "1" |
Contains methods for working with the power supply
Definition at line 11 of file TDKLambdaPowerSupply.java.
| devices.TDKLambdaPowerSupply.TDKLambdaPowerSupply | ( | String | deviceName, |
| PortCommunicator | portCommunicator, | ||
| int | deviceAddress | ||
| ) | throws IOException |
Constructs an instance of the power supply, and places the device into a state where it's capable of accepting remote commands. For the TDK Lambda power supply, this means the "ADR" command must be sent to the device with its matching address. This command must return an "OK" response.
| deviceName | The name of the device |
| portCommunicator | A tool capable of communicating with the device |
| deviceAddress | An integer representing the address of the device on the given port |
| IOException | If the device cannot be initialized |
Definition at line 31 of file TDKLambdaPowerSupply.java.
| Double devices.TDKLambdaPowerSupply.getCurrent | ( | ) | throws IOException |
| IOException | if the current value cannot be retrieved from the device |
Implements devices.PowerSupply.
Definition at line 88 of file TDKLambdaPowerSupply.java.
| int devices.TDKLambdaPowerSupply.getDeviceAddress | ( | ) |
Implements devices.PowerSupply.
Definition at line 50 of file TDKLambdaPowerSupply.java.
| String devices.TDKLambdaPowerSupply.getName | ( | ) |
Implements devices.NamedDevice.
Definition at line 43 of file TDKLambdaPowerSupply.java.
| Double devices.TDKLambdaPowerSupply.getVoltage | ( | ) | throws IOException |
| IOException | if the command to get this value cannot be written |
Implements devices.PowerSupply.
Definition at line 58 of file TDKLambdaPowerSupply.java.
| void devices.TDKLambdaPowerSupply.outputOff | ( | ) | throws IOException |
Turn off the device output
| IOException | If the command to turn the device off could not be sent |
Implements devices.PowerSupply.
Definition at line 109 of file TDKLambdaPowerSupply.java.
| void devices.TDKLambdaPowerSupply.outputOn | ( | ) | throws IOException |
Turn the device output on
| IOException | If the command to turn the power supply on could not be sent |
Implements devices.PowerSupply.
Definition at line 122 of file TDKLambdaPowerSupply.java.
| void devices.TDKLambdaPowerSupply.reset | ( | ) | throws IOException |
Bring the device to a safe, known state.
| IOException | If this cannot be done |
Implements devices.PowerSupply.
Definition at line 78 of file TDKLambdaPowerSupply.java.
| void devices.TDKLambdaPowerSupply.setCurrent | ( | double | newCurrent | ) | throws IOException |
| newCurrent | The current in Amperes, to set the device to |
| IOException | If the command to set the current cannot be sent |
Implements devices.PowerSupply.
Definition at line 96 of file TDKLambdaPowerSupply.java.
| void devices.TDKLambdaPowerSupply.setVoltage | ( | double | newVoltage | ) | throws IOException |
| newVoltage | The voltage to which the device output is to be set |
| IOException | If the command to set this voltage could not be sent to the device |
Implements devices.PowerSupply.
Definition at line 67 of file TDKLambdaPowerSupply.java.
| Git Repo |