Factory for making power supplies
Definition at line 14 of file controllers/TDKLambdaPowerSupplyFactory.java.
Kernel kernel.controllers.TDKLambdaPowerSupplyFactory.getKernel |
( |
| ) |
|
- Returns
- A power supply
- Exceptions
-
PortInUseException | If the serial port used to create this device is occupied |
IOException | If the serial port can be acquired, but communication with the power supply cannot be established |
UnsupportedCommOperationException | If the serial port can be acquired, but cannot be configured for proper communication with the power supply. |
Implemented in kernel.models.TDKLambdaPowerSupplyFactory.
void kernel.controllers.TDKLambdaPowerSupplyFactory.makePowerSupply |
( |
| ) |
throws PortInUseException, IOException, UnsupportedCommOperationException, DeviceAlreadyCreatedException |
Create an instance of the power supply and write it to the device registry.
- Exceptions
-
PortInUseException | If the serial port used to create this device is occupied |
IOException | If the serial port can be acquired, but communication with the power supply cannot be established |
UnsupportedCommOperationException | If the serial port can be acquired, but cannot be configured for proper communication with the power supply. |
Implemented in kernel.models.TDKLambdaPowerSupplyFactory.
void kernel.controllers.TDKLambdaPowerSupplyFactory.setKernel |
( |
Kernel |
kernel | ) |
|
void kernel.controllers.TDKLambdaPowerSupplyFactory.setPortName |
( |
String |
portName | ) |
|
The documentation for this interface was generated from the following file: