public class TestKeysightB2981a
extends org.lsst.ccs.drivers.scpi.TestScpi
| Modifier and Type | Class and Description |
|---|---|
static class |
TestKeysightB2981a.onOff |
| Constructor and Description |
|---|
TestKeysightB2981a() |
| Modifier and Type | Method and Description |
|---|---|
void |
accumBuffer(int nreads,
double nplc) |
void |
clearBuffer() |
String |
getCurrentLimit() |
String |
getVoltage() |
void |
monCurrent(double intvl) |
void |
rampVolts(double duration,
double value) |
String |
readBuffer() |
String |
readCurrent() |
String |
readCurrents(int nreads,
double nplc) |
String |
readVoltage() |
void |
reset() |
void |
setArmCount(int value) |
void |
setBuffSize(int value) |
void |
setCurrentLimit(double value) |
void |
setCurrentRange(double value) |
void |
setOutput(TestKeysightB2981a.onOff state) |
void |
setRate(double value) |
void |
setTrigCount(int value) |
void |
setVoltage(double value) |
void |
setVoltageRange(double value) |
String |
showLineFreq() |
String |
showMaxBuffSize() |
String |
showOutput() |
String |
showRate() |
String |
timeReadCurrent() |
String |
timeReadString(String command) |
String |
timeWriteCommand(String command) |
void |
waitAccum(double timeout) |
void |
zeroCorrectCurrent() |
clear, enableOpc, readDouble, readFloat, readInteger, readString, 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="showlinefreq",
description="Show the line frequency")
public String showLineFreq()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showmaxbuffsize",
description="Show the maximum buffer size")
public String showMaxBuffSize()
@Command(name="setrate",
description="Set reading rate")
public void setRate(@Argument(name="value",description="number of power cycles")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showrate",
description="Show reading rate")
public String showRate()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setarmcount",
description="Set the ARM count")
public void setArmCount(@Argument(name="value",description="ARM count")
int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="settrigcount",
description="Set the trigger count")
public void setTrigCount(@Argument(name="value",description="trigger count")
int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="clrbuff",
description="Clear the read buffer")
public void clearBuffer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="accumbuff",
description="start the buffer accumulation")
public void accumBuffer(int nreads,
double nplc)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="waitaccum",
description="wait for accumulation completion")
public void waitAccum(double timeout)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readdblbuff",
description="read the buffer")
public String readBuffer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="readcurrents",
description="read a set of currents")
public String readCurrents(int nreads,
double nplc)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="reset",
description="reset the device to a useable state")
public void reset()
throws org.lsst.ccs.drivers.commons.DriverException
reset in class org.lsst.ccs.drivers.scpi.TestScpiorg.lsst.ccs.drivers.commons.DriverException@Command(name="setbuffsize",
description="Set the buffer size.")
public void setBuffSize(@Argument(name="value",description="buffer size")
int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="setvoltagerange",
description="Set the voltage range. Can be 10V, 50V or 500V")
public void setVoltageRange(@Argument(name="value",description="Voltage Range to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.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
org.lsst.ccs.drivers.commons.DriverException@Command(name="rampvolts",
description="Set the voltage")
public void rampVolts(@Argument(name="duration",description="number of second for the ramp")
double duration,
@Argument(name="value",description="Voltage to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltage",
description="Show the set voltage")
public String getVoltage()
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="setcurrentrange",
description="Set the current range")
public void setCurrentRange(@Argument(name="value",description="Current Range to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="zerocorrectcurrent",
description="Zero correct the current")
public void zeroCorrectCurrent()
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="timereadcurrent",
description="Time reading the actual current")
public String timeReadCurrent()
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
org.lsst.ccs.drivers.commons.DriverException@Command(name="showcurrlim",
description="Show the soft current limit")
public String getCurrentLimit()
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")
TestKeysightB2981a.onOff state)
throws org.lsst.ccs.drivers.commons.DriverException
org.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="moncurrent",
description="Monitor the current")
public void monCurrent(@Argument(name="interval",description="Monitoring interval (secs)")
double intvl)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="timereadstring",
description="Time reading arbitrary command data")
public String timeReadString(@Argument(name="command",description="Command to execute")
String command)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="timewritecommand",
description="Time writing arbitrary command")
public String timeWriteCommand(@Argument(name="command",description="Command to execute")
String command)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2024 LSST. All rights reserved.