public class N6517
extends org.lsst.ccs.drivers.scpi.Scpi
org.lsst.ccs.drivers.ascii.Ascii.DataBits, org.lsst.ccs.drivers.ascii.Ascii.FlowCtrl, org.lsst.ccs.drivers.ascii.Ascii.Option, org.lsst.ccs.drivers.ascii.Ascii.Parity, org.lsst.ccs.drivers.ascii.Ascii.StopBits, org.lsst.ccs.drivers.ascii.Ascii.Terminator| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUD |
static String |
DEFAULT_DEV |
static double |
timeout |
CHECK_CONTAINS, CHECK_ENDS_WITH, CHECK_EQUALS, CHECK_MATCHES, CHECK_STARTS_WITH, ESR_ANY_ERROR, ESR_COMMAND_ERROR, ESR_DEVICE_ERROR, ESR_EXECUTION_ERROR, ESR_QUERY_ERROR, IDENT_FW_VERSION, IDENT_MANUFACTURER, IDENT_MODEL_NAME, IDENT_SERIAL_NUMBER, SB_ERROR_QUEUE, SB_EVENT_STATUS, SB_MASTER_STATUS, SB_MESSAGE_AVAILABLE, SB_OPERATION_STATUS, SB_QUESTIONABLE_STATUS| Constructor and Description |
|---|
N6517() |
| Modifier and Type | Method and Description |
|---|---|
void |
clrBuff()
Clear the buffer
|
double |
getCurrent()
Gets the set current.
|
double |
getCurrentLimit()
Gets the set current limit.
|
boolean |
getOutput()
Gets the output state.
|
double |
getVoltage()
Gets the set voltage.
|
double |
getVoltageLimit()
Gets the set voltage limit.
|
void |
open()
Opens a connection.using all default parameters
|
void |
open(String devname)
Opens a connection.
|
void |
open(String devname,
int port)
Opens a connection.
|
void |
openftdi(String serialname,
int port)
Opens an FTDI connection.
|
String |
printdevid() |
void |
rampVolts_sweep(double duration,
double value,
int nsteps)
Ramps the voltage to a desired level over a given duration.
|
void |
rampVolts(double duration,
double value)
Ramps the voltage to a desired level over a given duration.
|
void |
rampVolts(double duration,
double value,
int nsteps)
Ramps the voltage to a desired level over a given duration.
|
double[] |
readBuffer()
Reads the buffer.
|
double |
readCurrent()
Reads the current.
|
double |
readVoltage()
Reads the voltage.
|
void |
reset()
Reset
|
void |
setArmCount(int value)
Sets the ARM count
|
void |
setBuffSize(int value)
Sets the buffer size (#readings up to 3000 for the 6517)
|
void |
setCurrent(double value)
Sets the current.
|
void |
setCurrentLimit(double maxima)
Sets the current limit.
|
void |
setCurrentRange(double value)
Sets the current range.
|
void |
setOutput(boolean on)
Turns output on or off.
|
void |
setRate(int value)
Sets the integration rate in the number of power line cycles
|
void |
setTrigCount(int value)
Sets the trigger count
|
void |
setVoltage(double value)
Sets the voltage.
|
void |
setVoltageLimit(double maxima)
Sets the voltage limit.
|
void |
setVoltageRange(double value)
Sets the voltage range.
|
void |
zeroCorrectCurrent()
zero correct the current.
|
void |
zeroCorrectVoltage()
zero correct the voltage.
|
checkError, checkIdentification, clearStatus, enableOperationComplete, getError, getEventStatus, getEventStatusEnable, getIdentification, getOperationComplete, getServiceRequestEnable, getStatusByte, makeChannelList, makeChannelList, readDouble, readDoubleArray, readFloat, readFloatArray, readInteger, readIntegerArray, readString, readStringArray, runSelfTest, setEventStatusEnable, setServiceRequestEnable, testIdentification, waitCompletion, writeCommandclose, closeSilent, flush, getTimeout, isOpen, makeDataCharacteristics, open, open, open, openFtdi, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setDefaultParm, setMultidrop, setOptions, setResponseTerm, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic static double timeout
public static final int DEFAULT_BAUD
public static final String DEFAULT_DEV
public void open(String devname) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String devname, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void openftdi(String serialname, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String printdevid() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void reset()
throws org.lsst.ccs.drivers.commons.DriverException
reset in class org.lsst.ccs.drivers.scpi.Scpiorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setOutput(boolean on)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic boolean getOutput()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setRate(int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setArmCount(int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setTrigCount(int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setBuffSize(int value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void clrBuff()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltageRange(double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltage(double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampVolts_sweep(double duration,
double value,
int nsteps)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampVolts(double duration,
double value,
int nsteps)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampVolts(double duration,
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void zeroCorrectVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrentRange(double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrent(double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void zeroCorrectCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setVoltageLimit(double maxima)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getVoltageLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setCurrentLimit(double maxima)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getCurrentLimit()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double[] readBuffer()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2019 LSST. All rights reserved.