public class Agilent6031A extends Equipment
Rather than using this class directly, you should use Agilent6031AChannel
Modifier and Type | Field and Description |
---|---|
static int |
FOLDBACK_CC |
static int |
FOLDBACK_CV |
static int |
FOLDBACK_OFF |
CONTROLLER_ID_NUMBER
Modifier | Constructor and Description |
---|---|
protected |
Agilent6031A(java.lang.String newName)
Creates a new instance of Agilent6031A
|
Modifier and Type | Method and Description |
---|---|
float |
getCurrentSetpoint()
Reads back the current setpoint from the power supply
|
int |
getFoldback()
Gets the foldback mode or turns it off.
|
float |
getOverVoltageProtection() |
java.lang.String |
getState()
Returns string indicating state of one of the power supply
|
static float |
getVoltageResolution()
Returns voltage resolution
|
float |
getVoltageSetpoint()
Reads back the voltage setpoint from the power supply
|
static void |
main(java.lang.String[] args) |
float |
readCurrent()
Reads back the current from the power supply
|
float |
readVoltage()
Measures the voltage of the power supply
|
void |
setCurrent(float setAmps)
Changes the current setpoint to
setAmps Amps. |
void |
setFoldback(int mode)
Sets the foldback mode or turns it off.
|
void |
setVoltage(float voltage)
Sets the voltage of the power supply
|
ask, clear, command, getName, interactive, isDisabled, read, readFloat, readLine, toString, write
isLogInits, isLogOthers, isLogSets, logInit, logOther, logSet, setAllLogging, setLogInits, setLogOthers, setLogSets
public static final int FOLDBACK_OFF
public static final int FOLDBACK_CV
public static final int FOLDBACK_CC
protected Agilent6031A(java.lang.String newName)
public java.lang.String getState()
public static float getVoltageResolution()
public float readVoltage()
public float getVoltageSetpoint()
public void setVoltage(float voltage)
public float readCurrent()
public float getCurrentSetpoint()
public void setCurrent(float setAmps)
setAmps
Amps.public int getFoldback()
public void setFoldback(int mode)
mode
- Foldback mode to set. Can be Agilent6031A.FOLDBACK_CV
,
FOLDBACK_CC
, or FOLDBACK_OFF
.java.lang.IllegalArgumentException
- if mode not in 0..2public float getOverVoltageProtection()
public static void main(java.lang.String[] args)