public class DeviceTestShell extends Object
| Constructor and Description |
|---|
DeviceTestShell() |
| Modifier and Type | Method and Description |
|---|---|
String |
chanVoltage(int channel) |
String |
load(String fname,
String hostname) |
String |
open(int channelNumber,
int powerSeq,
double voltage,
double currlimt) |
String |
powerOff() |
String |
powerOn() |
@Command(description="Open device for use\nopen [channelNumber] [powerSeq] [voltage] [currlm]") public String open(int channelNumber, int powerSeq, double voltage, double currlimt) throws Exception
Exception@Command(description="Open config file and connection to power supply\nload [filename] [hostname]") public String load(String fname, String hostname) throws Exception
Exception@Command(description="Set voltage, current limit in the proper order.") public String powerOn() throws Exception
Exception@Command(description="Power off channels") public String powerOff() throws Exception
ExceptionCopyright © 2016 LSST. All rights reserved.