public class Test2231A
extends org.lsst.ccs.drivers.scpi.TestScpi
| Modifier and Type | Class and Description |
|---|---|
static class |
Test2231A.OnOff |
| Constructor and Description |
|---|
Test2231A()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Locks the front panel.
|
String |
readCurrent()
Reads the actual current.
|
String |
readCurrent(int chan)
Reads the actual current.
|
String |
readVoltage()
Reads the actual voltage.
|
String |
readVoltage(int chan)
Reads the actual voltage.
|
void |
setChannel(int chan)
Sets the channel.
|
void |
setCurrent(double value)
Sets the current.
|
void |
setCurrent(double value,
int chan)
Sets the current.
|
void |
setCurrents(double... values)
Sets all the currents.
|
void |
setMaxCurrent()
Sets the current to the maximum.
|
void |
setMaxCurrent(int chan)
Sets the current to the maximum.
|
void |
setMaxVoltage()
Sets the voltage to the maximum.
|
void |
setMaxVoltage(int chan)
Sets the voltage to the maximum.
|
void |
setOffDelay(double delay)
Sets the output off delay.
|
void |
setOffDelay(double delay,
int chan)
Sets the output off delay.
|
void |
setOnDelay(double delay)
Sets the output on delay.
|
void |
setOnDelay(double delay,
int chan)
Sets the output on delay.
|
void |
setOutput(Test2231A.OnOff state)
Turns the output on or off.
|
void |
setOutput(Test2231A.OnOff state,
int chan)
Turns the output on or off.
|
void |
setVoltage(double value)
Sets the voltage.
|
void |
setVoltage(double value,
int chan)
Sets the voltage.
|
void |
setVoltageLimit(double value)
Sets the soft voltage limit.
|
void |
setVoltageLimit(double value,
int chan)
Sets the soft voltage limit.
|
void |
setVoltages(double... values)
Sets all the voltages.
|
String |
showChannel()
Shows the set channel.
|
String |
showCurrent()
Shows the set current.
|
String |
showCurrent(int chan)
Shows the set current.
|
String |
showCurrents()
Shows all the set currents.
|
String |
showMaxCurrent()
Shows the maximum current.
|
String |
showMaxCurrent(int chan)
Shows the maximum current.
|
String |
showMaxVoltage()
Shows the maximum voltage.
|
String |
showMaxVoltage(int chan)
Shows the maximum voltage.
|
String |
showOutput()
Shows the output state.
|
String |
showOutput(int chan)
Shows the output state.
|
String |
showVoltage()
Shows the set voltage.
|
String |
showVoltage(int chan)
Shows the set voltage.
|
String |
showVoltageLimit()
Shows the soft voltage limit.
|
String |
showVoltageLimit(int chan)
Shows the soft voltage limit.
|
String |
showVoltages()
Shows all the set voltage(s).
|
void |
timeRead(int chan,
int count)
Performs timing measurements.
|
void |
unlock()
Unlocks the front panel.
|
clear, enableOpc, readDouble, readFloat, readInteger, readString, reset, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommand@Command(name="setchannel",
description="Set the current channel")
public void setChannel(@Argument(description="Channel number")
int chan)
chan - The channel number@Command(name="showchannel",
description="Show the set channel")
public String showChannel()
@Command(name="setvoltage",
description="Set the voltage")
public void setVoltage(@Argument(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="setvoltage",
description="Set the voltage")
public void setVoltage(@Argument(description="Voltage to set")
double value,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setchan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setvoltages",
description="Set all the voltages")
public void setVoltages(@Argument(description="Voltages to set")
double... values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The values to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="setmaxvoltage",
description="Set the voltage to maximum")
public void setMaxVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setmaxvoltage",
description="Set the voltage to maximum")
public void setMaxVoltage(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxvoltage",
description="Show the maximum voltage")
public String showMaxVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxvoltage",
description="Show the maximum voltage")
public String showMaxVoltage(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.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="showvoltage",
description="Show the set voltage")
public String showVoltage(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltages",
description="Show all the set voltages")
public String showVoltages()
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="readvoltage",
description="Read the actual voltage")
public String readVoltage(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setvoltlim",
description="Set the soft voltage limit")
public void setVoltageLimit(@Argument(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="setvoltlim",
description="Set the soft voltage limit")
public void setVoltageLimit(@Argument(description="Voltage limit to set")
double value,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setchan - The channel numberorg.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="showvoltlim",
description="Show the soft voltage limit")
public String showVoltageLimit(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setcurrent",
description="Set the current")
public void setCurrent(@Argument(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="setcurrent",
description="Set the current")
public void setCurrent(@Argument(description="Current to set")
double value,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
value - The value to setchan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setcurrents",
description="Set all the currents")
public void setCurrents(@Argument(description="Currents to set")
double... values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The values to setorg.lsst.ccs.drivers.commons.DriverException@Command(name="setmaxcurrent",
description="Set the current to maximum")
public void setMaxCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setmaxcurrent",
description="Set the current to maximum")
public void setMaxCurrent(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxcurrent",
description="Show the set current")
public String showMaxCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxcurrent",
description="Show the set current")
public String showMaxCurrent(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.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="showcurrent",
description="Show the set current")
public String showCurrent(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showcurrents",
description="Show the set current")
public String showCurrents()
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="readcurrent",
description="Read the actual current")
public String readCurrent(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setondelay",
description="Set output on delay")
public void setOnDelay(@Argument(description="Output on delay")
double delay)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay before turning the output on (sec)org.lsst.ccs.drivers.commons.DriverException@Command(name="setondelay",
description="Set output on delay")
public void setOnDelay(@Argument(description="Output on delay")
double delay,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay before turning the output on (sec)chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setoffdelay",
description="Set output off delay")
public void setOffDelay(@Argument(description="Output off delay")
double delay)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay before turning the output off (sec)org.lsst.ccs.drivers.commons.DriverException@Command(name="setoffdelay",
description="Set output off delay")
public void setOffDelay(@Argument(description="Output off delay")
double delay,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
delay - The delay before turning the output off (sec)chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="setoutput",
description="Turn output on or off")
public void setOutput(@Argument(description="Output state: on or off")
Test2231A.OnOff state)
throws org.lsst.ccs.drivers.commons.DriverException
state - The state to set: on or offorg.lsst.ccs.drivers.commons.DriverException@Command(name="setoutput",
description="Turn output on or off")
public void setOutput(@Argument(description="Output state: on or off")
Test2231A.OnOff state,
@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
state - The state to set: on or offchan - The channel numberorg.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="showoutput",
description="Show the output state")
public String showOutput(@Argument(description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.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="timeread",
description="Time voltage reading")
public void timeRead(@Argument(description="Channel number")
int chan,
@Argument(description="Read count")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel to usecount - The number of times to read the voltageorg.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.