public class TestN6517
extends org.lsst.ccs.drivers.scpi.TestScpi
| Modifier and Type | Class and Description |
|---|---|
static class |
TestN6517.onOff |
| Constructor and Description |
|---|
TestN6517()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBuffer()
Clear buffer
|
String |
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.
|
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.
|
void |
rampVolts(double duration,
double value)
Ramps to the desired voltage.
|
String |
readBuffer()
Read buffer
|
String |
readCurrent()
Reads the actual current.
|
String |
readVoltage()
Reads the actual voltage.
|
void |
reset()
Reset device to a useable state
|
void |
setArmCount(int value)
Sets ARM count
|
void |
setBuffSize(int value)
Set buffer size
|
void |
setCurrent(double value)
Sets the current.
|
void |
setCurrentLimit(double value)
Sets the soft current limit.
|
void |
setCurrentRange(double value)
Sets the current range
|
void |
setOutput(TestN6517.onOff state)
Turns the output on or off.
|
void |
setRate(int value)
Sets the rate
|
void |
setTrigCount(int value)
Sets TRIGger count
|
void |
setVoltage(double value)
Sets the voltage.
|
void |
setVoltageLimit(double value)
Sets the soft voltage limit.
|
void |
setVoltageRange(double value)
Sets the voltage range
|
String |
showOutput()
Shows the output state.
|
void |
zeroCorrectCurrent()
Zero correct the current
|
clear, enableOpc, readDouble, readFloat, readInteger, readString, selfTest, setEse, setSre, showError, showEse, showEsr, showIdentification, showOpc, showSre, showStatus, waitComp, writeCommand@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.DriverException@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="setrate",
description="Set read rate")
public void setRate(@Argument(name="value",description="number of power cycles")
int value)
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="readbuff",
description="read the buffer")
public String readBuffer()
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="setvoltlim",
description="Set the soft voltage limit")
public void setVoltageLimit(@Argument(name="value",description="Voltage limit to set")
double value)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(name="showvoltlim",
description="Show the soft voltage limit")
public String getVoltageLimit()
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="setcurrent",
description="Set the current")
public void setCurrent(@Argument(name="value",description="Current 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="showcurrent",
description="Show the set current")
public String getCurrent()
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="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")
TestN6517.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.DriverExceptionCopyright © 2017 LSST. All rights reserved.