
public class KeithleySimDevice extends KeithleyDevice implements BiasDevice, PhotoDiodeDevice
| 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.
|
protected void |
configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
Performs configuration.
|
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 |
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, getRunBias, getState, getString, initChannel, isAccumInProgress, query, query, rampVolts, rampVolts, readBuffer, readChannel, reset, send, send, setAbort, setArmCount, setBuffSize, setCfg, setChannel, setCurrent, setCurrentLimit, setCurrentRange, setDisplay, setDPSF, setOutput, setRate, setRunBias, setState, setTimeout, setTrigCount, setVoltage, setVoltageAcq, setVoltageLimit, setVoltageRange, softReset, zeroCorrectCurrentaddChannel, addConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, disable, dropChannel, enable, getConfigValues, getFullName, getOutputLines, initChannel, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinegetChildren, getEnvironment, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccumBuffer, getLast_curr, getLast_volt, getRunBias, getState, isOnline, query, query, rampVolts, rampVolts, reset, send, send, setAbort, setBuffSize, setCfg, setCurrent, setCurrentRange, setDisplay, setDPSF, setOutput, setRate, setRunBias, setState, setTimeout, setVoltage, setVoltageAcq, setVoltageRange, softResetaccumBuffer, getLast_curr, getLast_volt, getRunBias, getState, isAccumInProgress, isOnline, query, query, rampVolts, reset, send, send, setAbort, setBuffSize, setCfg, setChannel, setCurrent, setCurrentRange, setDisplay, setDPSF, setOutput, setRate, setRunBias, setState, setTimeout, setVoltage, setVoltageAcq, setVoltageRange, softResetchange, dropSubmittedChanges, getCheckedValueFromConfiguration, getComponentByName, getName, getParent, getParentObject, getSubmittedChanges, getSubsystem, init, isParameterConfigurable, notifyChange, notifyChangeWithoutPreliminaryChecks, postStart, printConfigurableParameters, setBulkParameter, shutdownNow, start, submitChange, submitChanges, validateBulkChangepublic KeithleySimDevice(String host, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic KeithleySimDevice()
protected void configure(org.lsst.ccs.subsystem.monitor.Monitor mon)
configure in class KeithleyDevice@Command(name="open", description="Open connection to device using defaults") public void open() throws org.lsst.ccs.drivers.commons.DriverException
open in class KeithleyDeviceorg.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
open in class KeithleyDeviceorg.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
open in class KeithleyDeviceorg.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
openftdi in class KeithleyDeviceorg.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 BiasDeviceaccumBuffer 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 BiasDevicereadBuffer 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 interface PhotoDiodeDevicereadVoltage in class KeithleyDevice@Command(name="showvoltlim", description="Show the soft voltage limit") public String getVoltageLimit() throws org.lsst.ccs.drivers.commons.DriverException
getVoltageLimit in class KeithleyDeviceorg.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrent()
getCurrent in class KeithleyDevice@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() throws org.lsst.ccs.drivers.commons.DriverException
getCurrentLimit in class KeithleyDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="showOutput", description="Show the output state") public boolean showOutput()
showOutput in interface BiasDeviceshowOutput in interface PhotoDiodeDeviceshowOutput in class KeithleyDeviceCopyright © 2016 LSST. All rights reserved.