public class Test1696
extends org.lsst.ccs.drivers.ascii.TestAscii
| Modifier and Type | Class and Description |
|---|---|
static class |
Test1696.OnOff |
| Constructor and Description |
|---|
Test1696()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Locks the front panel.
|
void |
open(org.lsst.ccs.drivers.ascii.TestAscii.ConnType connType,
String ident)
Opens connection to a device.
|
void |
open(org.lsst.ccs.drivers.ascii.TestAscii.ConnType connType,
String ident,
int baudRate)
Opens connection to a device.
|
String |
readCurrent()
Reads the actual current.
|
String |
readVoltage()
Reads the actual voltage.
|
void |
setCurrent(double value)
Sets the current.
|
void |
setOutput(Test1696.OnOff state)
Turns the output on or off.
|
void |
setVoltage(double value)
Sets the voltage.
|
void |
setVoltageLimit(double value)
Sets the soft voltage limit.
|
String |
showCurrent()
Shows the set current.
|
String |
showOutput()
Shows the output state.
|
String |
showPanel()
Shows the front panel state.
|
String |
showVoltage()
Shows the set voltage.
|
String |
showVoltageLimit()
Shows the soft voltage limit.
|
void |
unlock()
Unlocks the front panel.
|
@Command(name="open",
description="Open connection to device")
public void open(@Argument(name="type",description="Connection type")
org.lsst.ccs.drivers.ascii.TestAscii.ConnType connType,
@Argument(name="ident",description="Identification")
String ident)
throws org.lsst.ccs.drivers.commons.DriverException
connType - The type of connection: ftdi or serialident - The identification: serial no. (ftdi) or port name
(serial)org.lsst.ccs.drivers.commons.DriverException@Command(name="open",
description="Open connection to device")
public void open(@Argument(name="type",description="Connection type")
org.lsst.ccs.drivers.ascii.TestAscii.ConnType connType,
@Argument(name="ident",description="Identification")
String ident,
@Argument(name="rate",description="Baud rate")
int baudRate)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.TestAsciiconnType - The type of connection: ftdi or serialident - The identification: serial no. (ftdi) or port name
(serial)baudRate - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Command(name="setvoltage",
description="Set the voltage")
public void setVoltage(@Argument(name="value",description="Voltage to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltage",
description="Show the set voltage")
public String showVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readvoltage",
description="Read the actual voltage")
public String readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setvoltlim",
description="Set the soft voltage limit")
public void setVoltageLimit(@Argument(name="value",description="Voltage limit to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltlim",
description="Show the soft voltage limit")
public String showVoltageLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setcurrent",
description="Set the current")
public void setCurrent(@Argument(name="value",description="Current to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="showcurrent",
description="Show the set current")
public String showCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readcurrent",
description="Read the actual current")
public String readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setoutput",
description="Turn output on or off")
public void setOutput(@Argument(name="state",description="Output state: on or off")
Test1696.OnOff state)
throws org.lsst.ccs.drivers.commons.DriverException
state - The state to set: on or offorg.lsst.ccs.drivers.commons.DriverException@Command(name="showoutput",
description="Show the output state")
public String showOutput()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="lock",
description="Lock the front panel")
public void lock()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="unlock",
description="Unlock the front panel")
public void unlock()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showpanel",
description="Show the front panel state")
public String showPanel()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2015 LSST. All rights reserved.