public class Test9130
extends org.lsst.ccs.drivers.scpi.TestScpi
| Modifier and Type | Class and Description |
|---|---|
static class |
Test9130.OnOff |
| Constructor and Description |
|---|
Test9130()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
lock()
Locks the front panel.
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType connType,
String ident)
Opens connection to a device.
|
String |
readCurrent()
Reads the actual current.
|
String |
readCurrent(int chan)
Reads the actual current.
|
String |
readCurrents()
Reads all the actual currents.
|
String |
readVoltage()
Reads the actual voltage.
|
String |
readVoltage(int chan)
Reads the actual voltage.
|
String |
readVoltages()
Reads all the actual voltages.
|
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 |
setOutput(Test9130.OnOff state)
Turns the output on or off.
|
void |
setOutput(Test9130.OnOff state,
int chan)
Turns the output on or off.
|
void |
setOutputs(Test9130.OnOff... states)
Sets all the output states 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.
|
void |
setVoltlimits(double... values)
Sets all the soft voltage limits.
|
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 |
showMaxCurrents()
Shows all the maximum currents.
|
String |
showMaxVoltage()
Shows the maximum voltage.
|
String |
showMaxVoltage(int chan)
Shows the maximum voltage.
|
String |
showMaxVoltages()
Shows all the maximum voltages.
|
String |
showOutput()
Shows the output state.
|
String |
showOutput(int chan)
Shows the output state.
|
String |
showOutputs()
Shows all the output states.
|
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 |
showVoltageLimits()
Shows all the soft voltage limits.
|
String |
showVoltages()
Shows all the set voltage(s).
|
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="open",
description="Open connection to device")
public void open(@Argument(name="type",description="Connection type")
org.lsst.ccs.drivers.commons.DriverConstants.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="setchannel",
description="Set the current channel")
public void setChannel(@Argument(name="channel",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(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="setvoltage",
description="Set the voltage")
public void setVoltage(@Argument(name="value",description="Voltage to set")
double value,
@Argument(name="channel",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(name="value",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(name="channel",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(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxvoltages",
description="Show all the maximum voltages")
public String showMaxVoltages()
throws org.lsst.ccs.drivers.commons.DriverException
org.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(name="channel",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(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="readvoltages",
description="Read all the actual voltages")
public String readVoltages()
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="setvoltlim",
description="Set the soft voltage limit")
public void setVoltageLimit(@Argument(name="value",description="Voltage limit to set")
double value,
@Argument(name="channel",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="setvoltlims",
description="Set all the voltage limits")
public void setVoltlimits(@Argument(name="values",description="Voltage limits to set")
double... values)
throws org.lsst.ccs.drivers.commons.DriverException
values - The values 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="showvoltlim",
description="Show the soft voltage limit")
public String showVoltageLimit(@Argument(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltlims",
description="Show all the soft voltage limits")
public String showVoltageLimits()
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="setcurrent",
description="Set the current")
public void setCurrent(@Argument(name="value",description="Current to set")
double value,
@Argument(name="channel",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(name="values",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(name="channel",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(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxcurrents",
description="Show all the maximum currents")
public String showMaxCurrents()
throws org.lsst.ccs.drivers.commons.DriverException
org.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(name="channel",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(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="readcurrents",
description="Read the actual current")
public String readCurrents()
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")
Test9130.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(name="state",description="Output state: on or off")
Test9130.OnOff state,
@Argument(name="channel",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="setoutputs",
description="Set all the output states")
public void setOutputs(@Argument(name="states",description="States (on or off) to set")
Test9130.OnOff... states)
throws org.lsst.ccs.drivers.commons.DriverException
states - The states to set: on or off for eachorg.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(name="channel",description="Channel number")
int chan)
throws org.lsst.ccs.drivers.commons.DriverException
chan - The channel numberorg.lsst.ccs.drivers.commons.DriverException@Command(name="showoutputs",
description="Show the output state")
public String showOutputs()
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.DriverExceptionCopyright © 2016 LSST. All rights reserved.