public class KeithleySimDevice extends KeithleyDevice
CHAN_CURRENT, CHAN_VOLTAGE, NUM_CHANS| Constructor and Description |
|---|
KeithleySimDevice()
Constructor *
**************************************************************************
|
KeithleySimDevice(String host,
int port)
put Keithley in initial subsystem state * * @param host device address
* * @param port port or baud * * @param runBias CCD bias voltage while
running *
**************************************************************************
|
| Modifier and Type | Method and Description |
|---|---|
double |
accumBuffer(int nreads,
double nplc,
boolean wait)
accumBuffer: start the accumulation of readings into the devices
internal buffer
**************************************************************************
|
protected void |
close()
Closes the connection.
|
double |
getCurrent()
Shows the set current.
|
String |
getCurrentLimit()
Shows the soft current limit.
|
double |
getVoltage()
Shows the set voltage.
|
String |
getVoltageLimit()
Shows the soft voltage limit.
|
protected void |
initDevice()
Performs configuration.
|
protected void |
initialize()
Initializes the connection.
|
void |
open()
Opens connection to a device using all defaults *
**************************************************************************
|
String |
open(String host)
Opens connection to a device.
|
String |
open(String host,
int port)
Opens connection to a device.
|
String |
openftdi(String host,
int port)
Opens FTDI connection to a device.
|
double[][] |
readBuffer()
Read buffer *
**************************************************************************
|
String |
readBufferStr()
Read buffer *
**************************************************************************
|
double |
readCurrent()
Reads the actual current.
|
double |
readVoltage()
Reads the actual voltage.
|
boolean |
showOutput()
Shows the output state.
|
accumBuffer, checkChannel, clearBuffer, getLast_curr, getLast_volt, getLastCurrent, getLastVoltage, getRunBias, getState, isAccumInProgress, isDoPDPlot, query, query, rampVolts, rampVolts, readBuffer, readBuffer, readChannel, readCurrents, reset, send, send, setAbort, setArmCount, setBuffSize, setCfg, setChannel, setCurrentLimit, setCurrentRange, setDisplay, setDoPDPlot, setDPSF, setOutput, setRate, setRunBias, setState, setTimeout, setTrigCount, setVoltage, setVoltageAcq, setVoltageRange, softReset, waitAccum, zeroCorrectCurrentaddChannel, addLine, checkHardware, checkHwLine, checkLine, checkOnline, checkTimeout, configure, disable, dropChannel, enable, getFullName, getName, getOutputLines, init, initChannel, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readChannelNow, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisOnlineisOnlinepublic KeithleySimDevice(String host, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic KeithleySimDevice()
protected void initDevice()
initDevice in class KeithleyDevice@Command(name="open",
description="Open connection to device using defaults")
public void open()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionprotected void close()
close in class KeithleyDeviceprotected void initialize()
initialize in class KeithleyDevice@Command(name="open",
description="Open connection to device")
public String open(@Argument(name="host",description="Host name")
String host)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="open",
description="Open connection to device")
public String open(@Argument(name="host",description="Host name")
String host,
@Argument(name="port",description="Port number")
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="openftdi",
description="Open FTDI connection to device")
public String openftdi(@Argument(name="serialname",description="Serial device name")
String host,
@Argument(name="baud",description="baud rate")
int port)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="accumBuff",
description="start the buffer accumulation")
public double accumBuffer(@Argument(name="nreads",description="#reads (armcount)")
int nreads,
@Argument(name="nplc",description="#Pulse Line Counts btwn reads (0.01->60.)")
double nplc,
@Argument(name="wait",description="to wait (true) or not to (false)")
boolean wait)
accumBuffer in interface PhotoDiodeDeviceaccumBuffer in class KeithleyDevicenreads - nplc - @Command(name="readBuffstr",
description="read the buffer")
public String readBufferStr()
throws org.lsst.ccs.drivers.commons.DriverException
readBufferStr in class KeithleyDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="readBuff",
description="read the buffer")
public double[][] readBuffer()
readBuffer in interface PhotoDiodeDevicereadBuffer in class KeithleyDevice@Command(name="showVoltage",
description="Show the set voltage")
public double getVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
getVoltage in class KeithleyDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="readVoltage",
description="Read the actual voltage")
public double readVoltage()
readVoltage in interface BiasDevicereadVoltage in class KeithleyDevice@Command(name="showvoltlim",
description="Show the soft voltage limit")
public String getVoltageLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrent()
@Command(type=ACTION,
name="readCurrent",
description="Read the actual current")
public double readCurrent()
readCurrent in interface BiasDevicereadCurrent in interface PhotoDiodeDevicereadCurrent in class KeithleyDevice@Command(name="showcurrlim",
description="Show the soft current limit")
public String getCurrentLimit()
getCurrentLimit in interface BiasDevicegetCurrentLimit in class KeithleyDevice@Command(name="showOutput",
description="Show the output state")
public boolean showOutput()
showOutput in interface BiasDeviceshowOutput in class KeithleyDeviceCopyright © 2018 LSST. All rights reserved.