
public class KeithleySimDevice extends KeithleyDevice implements BiasDevice, PhotoDiodeDevice
scpi| Constructor and Description |
|---|
KeithleySimDevice()
Constructor *
**************************************************************************
|
KeithleySimDevice(String host,
int port)
put Keithley in initial subsystem state
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
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.
|
String |
readBuffer()
Read buffer *
**************************************************************************
|
double |
readCurrent()
Reads the actual current.
|
double |
readVoltage()
Reads the actual voltage.
|
boolean |
showOutput()
Shows the output state.
|
checkChannel, clearBuffer, getRunBias, getState, initChannel, rampVolts, readChannel, reset, setArmCount, setBuffSize, setCurrent, setCurrentLimit, setCurrentRange, setOutput, setRate, setRunBias, setState, setTrigCount, setVoltage, setVoltageAcq, setVoltageLimit, setVoltageRange, zeroCorrectCurrentaddChannel, addChildConfigValues, addLine, checkHwLine, checkLine, checkOnline, checkTimeout, dropChannel, getConfigValues, getFullName, getOutputLines, initSensors, isHwLineSet, isLineSet, isOnline, isTimeout, readChannelGroup, readSensors, setHwLine, setLine, setLineWarm, setOnline, setOutputLines, testOnlinealias, change, getDictionary, getEnvironment, getName, getParent, setEnvironmentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRunBias, getState, isOnline, rampVolts, setCurrent, setOutput, setRate, setRunBias, setState, setVoltage, setVoltageAcq, setVoltageRangegetRunBias, getState, isOnline, rampVolts, setCurrent, setOutput, setRate, setRunBias, setState, setVoltage, setVoltageAcq, setVoltageRangepublic KeithleySimDevice(String host, int port) throws org.lsst.ccs.drivers.commons.DriverException
host - device addressport - port or baudrunBias - CCD bias voltage while runningorg.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="readbuff", description="read the buffer") public String readBuffer() throws org.lsst.ccs.drivers.commons.DriverException
readBuffer in class KeithleyDeviceorg.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltage", description="Show the set voltage") public String 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.DriverException@Command(name="showcurrent", description="Show the set current") public 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 © 2014 LSST. All rights reserved.