public class TestE3631 extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestE3631.OnOff |
| Constructor and Description |
|---|
TestE3631() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getCurrent() |
Double |
getCurrent(String output) |
String |
getOutput() |
Double |
getVoltage() |
Double |
getVoltage(String output) |
void |
open(String devId,
int baud)
Opens connection to a device.
|
void |
openftdi(String host,
int baud)
Opens connection to a device.
|
void |
outputOff(String output) |
void |
outputOn(String output) |
String |
readiden() |
void |
selectOutput(String output) |
void |
setFakeout(Boolean flag) |
void |
setVerbose(Boolean flag) |
protected E3631 ps
@Command(name="open",
description="Open connection to device")
public void open(@Argument(name="devId",description="The device ID of the device to open")
String devId,
@Argument(name="baud",description="baud")
int baud)
throws org.lsst.ccs.drivers.commons.DriverException
host - The network host nameorg.lsst.ccs.drivers.commons.DriverException@Command(name="openftdi",
description="Open FTDI connection to device")
public void openftdi(@Argument(name="serialname",description="Serial device name")
String host,
@Argument(name="baud",description="baud")
int baud)
throws org.lsst.ccs.drivers.commons.DriverException
host - The network host namebaud - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Command(name="readident",
description="read IDN")
public String readiden()
throws Exception
Exception@Command(name="selectOutput",
description="select output from (P6V, P25V, N25V)")
public void selectOutput(@Argument(name="output",description="Output (P6V, P25V, N25V)")
String output)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getOutput",
description="return currently selected output")
public String getOutput()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outputOn",
description="set output from (P6V, P25V, N25V) to on")
public void outputOn(@Argument(name="output",description="Output (P6V, P25V, N25V)")
String output)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="outputOff",
description="set output from (P6V, P25V, N25V) to off")
public void outputOff(@Argument(name="output",description="Output (P6V, P25V, N25V)")
String output)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getVoltage",
description="read Voltage")
public Double getVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getVoltage",
description="read Voltage")
public Double getVoltage(@Argument(name="output",description="Output (P6V, P25V, N25V)")
String output)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getCurrent",
description="read Current for current output")
public Double getCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="getCurrent",
description="read Current")
public Double getCurrent(@Argument(name="output",description="Output (P6V, P25V, N25V)")
String output)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setVerbose",
description="set verbose true or false")
public void setVerbose(@Argument(name="flag",description="true or false")
Boolean flag)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setFakeout",
description="set fakeout to true or false")
public void setFakeout(@Argument(name="flag",description="true or false")
Boolean flag)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.