public class TestXLN
extends org.lsst.ccs.drivers.scpi.TestScpi
| Modifier and Type | Class and Description |
|---|---|
static class |
TestXLN.OnOff |
| Constructor and Description |
|---|
TestXLN()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Locks the front panel.
|
String |
readCurrent()
Reads the actual current.
|
String |
readVoltage()
Reads the actual voltage.
|
void |
setCurrent(double value)
Sets the current.
|
void |
setCurrentLimit(double value)
Sets the soft current limit.
|
void |
setOffDelay(double delay)
Sets the output off delay.
|
void |
setOnDelay(double delay)
Sets the output on delay.
|
void |
setOutput(TestXLN.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 |
showCurrentLimit()
Shows the soft current limit.
|
String |
showOutput()
Shows the output state.
|
String |
showStatusWord()
Shows the status word.
|
String |
showVoltage()
Shows the set voltage.
|
String |
showVoltageLimit()
Shows the soft voltage limit.
|
void |
unlock()
Unlocks the front panel.
|
clear, enableOpc, readDouble, readFloat, readInteger, readString, reset, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommandclose, makeCommandString, open, open, open, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, read, read, setCmndTerm, setConnTimeout, setDefaultParm, setOptions, setRespTerm, setTerminator, setTimeout, showConnTimeout, showTimeout, write@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="setcurrlim",
description="Set the soft current limit")
public void setCurrentLimit(@Argument(name="value",description="Current limit to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="showcurrlim",
description="Show the soft current limit")
public String showCurrentLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setondelay",
description="Set the output on delay")
public void setOnDelay(@Argument(name="delay",description="Delay time (sec)")
double delay)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay to power on (sec)org.lsst.ccs.drivers.commons.DriverException@Command(name="setoffdelay",
description="Set the output off delay")
public void setOffDelay(@Argument(name="delay",description="Delay time (sec)")
double delay)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay to power off (sec)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")
TestXLN.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="showstatusword",
description="Show the status word")
public String showStatusWord()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2020 LSST. All rights reserved.