Package jisa.devices.smu
Class K6430
- java.lang.Object
-
- jisa.visa.VISADevice
-
- jisa.devices.smu.KeithleySCPI
-
- jisa.devices.smu.K6430
-
- All Implemented Interfaces:
IMeter
,Instrument
,ISource
,IVMeter
,IVSource
,SMU
,Switch
,VMeter
,VSource
public class K6430 extends KeithleySCPI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jisa.devices.smu.KeithleySCPI
KeithleySCPI.Source
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.SMU
SMU.OffMode
-
-
Field Summary
-
Fields inherited from class jisa.devices.smu.KeithleySCPI
C_MEASURE_CURRENT, C_MEASURE_RESISTANCE, C_MEASURE_VOLTAGE, C_QUERY_AVG_COUNT, C_QUERY_AVG_MODE, C_QUERY_AVG_STATE, C_QUERY_LFR, C_QUERY_LIMIT, C_QUERY_MEAS_AUTO_RANGE, C_QUERY_MEAS_RANGE, C_QUERY_MEAS_RANGE_MAX, C_QUERY_MEAS_RANGE_MIN, C_QUERY_NPLC, C_QUERY_OFF_STATE, C_QUERY_OUTPUT_STATE, C_QUERY_PROBE_MODE, C_QUERY_SOURCE_FUNCTION, C_QUERY_SOURCE_VALUE_MAX, C_QUERY_SOURCE_VALUE_MIN, C_QUERY_SRC_AUTO_RANGE, C_QUERY_SRC_RANGE, C_QUERY_SRC_RANGE_MAX, C_QUERY_SRC_RANGE_MIN, C_QUERY_TERMINALS, C_SET_AVG_COUNT, C_SET_AVG_MODE, C_SET_AVG_STATE, C_SET_LIMIT, C_SET_MEAS_AUTO_RANGE, C_SET_MEAS_RANGE, C_SET_NPLC, C_SET_OFF_STATE, C_SET_OUTPUT_STATE, C_SET_PROBE_MODE, C_SET_SOURCE_FUNCTION, C_SET_SOURCE_VALUE, C_SET_SRC_AUTO_RANGE, C_SET_SRC_RANGE, C_SET_TERMINALS, iLimit, LINE_FREQUENCY, OFF_GUARD, OFF_HIGH_Z, OFF_NORMAL, OFF_ZERO, OUTPUT_OFF, OUTPUT_ON, TERMS_FRONT, TERMS_REAR, vLimit
-
Fields inherited from class jisa.visa.VISADevice
C_IDN, CR_TERMINATOR, CRLF_TERMINATOR, DEFAULT_EOI, DEFAULT_EOS, DEFAULT_TIMEOUT, EOS_RETURN, LF_TERMINATOR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
disableAveraging()
static java.lang.String
getDescription()
java.lang.Object
getLockObject()
java.lang.String
getName()
Returns the name of the instrument or channel.double
getSetCurrent()
Get the default value or the value set by the setCurrent() method.double
getSetVoltage()
Get the default value or the value set by the setVoltage() method.Terminals
getTerminals()
Returns the type of the set of terminals currently being used on the SMU.TType
getTerminalType(Terminals terminals)
Returns what type of connector is used for the given terminal.boolean
isFourProbeEnabled()
Returns whether the device is currently configured to use all four probes.boolean
isLineFilterEnabled()
Returns whether the voltmeter is using any line-frequency filteringprotected double
measureCurrent()
protected double
measureVoltage()
void
setFourProbeEnabled(boolean flag)
Sets whether the SMU should apply source using FORCE probes and measure using separate SENSE probes or whether is should do both with the FORCE probes.void
setIntegrationTime(double seconds)
Sets the integration time for each individual measurement, or closest over-estimate possible.void
setLineFilterEnabled(boolean enabled)
Sets whether the voltmeter should use any line-frequency filtering (if available)void
setOffMode(SMU.OffMode mode)
Sets which mode the SMU channel should use when turned off.void
setTerminals(Terminals terminals)
Sets which set of terminals should be used on the SMU.-
Methods inherited from class jisa.devices.smu.KeithleySCPI
getAverageCount, getAverageMode, getCurrent, getCurrentLimit, getCurrentRange, getIntegrationTime, getMeasureMode, getMeasureRange, getMeasureValue, getOffMode, getOutputLimit, getSource, getSourceMode, getSourceRange, getSourceValue, getVoltage, getVoltageLimit, getVoltageRange, isAutoRangingCurrent, isAutoRangingMeasure, isAutoRangingSource, isAutoRangingVoltage, isOn, mario, pulseVoltage, setAverageCount, setAverageMode, setCurrent, setCurrentLimit, setCurrentRange, setMeasureRange, setOutputLimit, setOutputState, setSource, setSource, setSourceRange, setSourceValue, setSourceValue, setVoltage, setVoltageLimit, setVoltageRange, turnOff, turnOn, useAutoCurrentRange, useAutoMeasureRange, useAutoSourceRange, useAutoVoltageRange, youDidIt
-
Methods inherited from class jisa.visa.VISADevice
addAutoRemove, checkLimit, checkLimit, clearBuffers, close, getAddress, getConnection, getIDN, manuallyClearReadBuffer, query, queryDouble, queryInt, read, read, readBytes, readDouble, readInt, setIOLimit, setReadBufferSize, setReadTerminator, setReadTerminator, setRetryCount, setTimeout, setWriteTerminator, write, writeBytes
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.devices.interfaces.IMeter
waitForStableCurrent
-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getIDN, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.SMU
asAmmeter, asVoltmeter, getConfigurationParameters, getCurrent, getIVPoint, getVoltage, setAveraging, setLimits, setOn, setRanges, useAutoRanges
-
Methods inherited from interface jisa.devices.interfaces.VMeter
waitForStableVoltage
-
-
-
-
Constructor Detail
-
K6430
public K6430(Address address) throws java.io.IOException, DeviceException
- Throws:
java.io.IOException
DeviceException
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
getSetCurrent
public double getSetCurrent() throws DeviceException, java.io.IOException
Description copied from interface:IVSource
Get the default value or the value set by the setCurrent() method.- Returns:
- current setting [A]
- Throws:
DeviceException
java.io.IOException
-
getSetVoltage
public double getSetVoltage() throws DeviceException, java.io.IOException
Description copied from interface:IVSource
Get the default value or the value set by the setVoltage() method.- Returns:
- voltage setting [V]
- Throws:
DeviceException
java.io.IOException
-
getTerminalType
public TType getTerminalType(Terminals terminals)
Description copied from interface:SMU
Returns what type of connector is used for the given terminal.- Parameters:
terminals
- Which terminal- Returns:
- Terminal type (TRIAX, PHOENIX, BNC or BANANA)
-
setTerminals
public void setTerminals(Terminals terminals)
Description copied from interface:SMU
Sets which set of terminals should be used on the SMU.- Specified by:
setTerminals
in interfaceSMU
- Specified by:
setTerminals
in interfaceVMeter
- Overrides:
setTerminals
in classKeithleySCPI
- Parameters:
terminals
- Which type of terminals to use
-
getTerminals
public Terminals getTerminals()
Description copied from interface:SMU
Returns the type of the set of terminals currently being used on the SMU.- Specified by:
getTerminals
in interfaceSMU
- Specified by:
getTerminals
in interfaceVMeter
- Overrides:
getTerminals
in classKeithleySCPI
- Returns:
- The type of terminals being used
-
setOffMode
public void setOffMode(SMU.OffMode mode) throws java.io.IOException
Description copied from interface:SMU
Sets which mode the SMU channel should use when turned off.- Parameters:
mode
- Mode to use- Throws:
java.io.IOException
- Upon communications error
-
isLineFilterEnabled
public boolean isLineFilterEnabled() throws DeviceException, java.io.IOException
Description copied from interface:SMU
Returns whether the voltmeter is using any line-frequency filtering- Returns:
- Using line filter?
- Throws:
DeviceException
- Upon incompatibility with devicejava.io.IOException
- Upon communications error
-
setLineFilterEnabled
public void setLineFilterEnabled(boolean enabled) throws DeviceException, java.io.IOException
Description copied from interface:SMU
Sets whether the voltmeter should use any line-frequency filtering (if available)- Parameters:
enabled
- Use line filter?- Throws:
DeviceException
- Upon incompatibility with devicejava.io.IOException
- Upon communications error
-
measureVoltage
protected double measureVoltage() throws java.io.IOException
- Overrides:
measureVoltage
in classKeithleySCPI
- Throws:
java.io.IOException
-
measureCurrent
protected double measureCurrent() throws java.io.IOException
- Overrides:
measureCurrent
in classKeithleySCPI
- Throws:
java.io.IOException
-
disableAveraging
protected void disableAveraging() throws java.io.IOException
- Overrides:
disableAveraging
in classKeithleySCPI
- Throws:
java.io.IOException
-
setIntegrationTime
public void setIntegrationTime(double seconds) throws java.io.IOException
Description copied from interface:SMU
Sets the integration time for each individual measurement, or closest over-estimate possible.- Specified by:
setIntegrationTime
in interfaceIMeter
- Specified by:
setIntegrationTime
in interfaceSMU
- Specified by:
setIntegrationTime
in interfaceVMeter
- Overrides:
setIntegrationTime
in classKeithleySCPI
- Parameters:
seconds
- Integration time, in seconds- Throws:
java.io.IOException
- Upon communications error
-
getName
public java.lang.String getName()
Description copied from interface:Instrument
Returns the name of the instrument or channel.- Specified by:
getName
in interfaceInstrument
- Overrides:
getName
in classVISADevice
- Returns:
- Name
-
setFourProbeEnabled
public void setFourProbeEnabled(boolean flag) throws java.io.IOException
Description copied from interface:SMU
Sets whether the SMU should apply source using FORCE probes and measure using separate SENSE probes or whether is should do both with the FORCE probes.- Specified by:
setFourProbeEnabled
in interfaceSMU
- Overrides:
setFourProbeEnabled
in classKeithleySCPI
- Parameters:
flag
- Should it use all four probes?- Throws:
java.io.IOException
- Upon communications error
-
isFourProbeEnabled
public boolean isFourProbeEnabled() throws java.io.IOException
Description copied from interface:SMU
Returns whether the device is currently configured to use all four probes.- Specified by:
isFourProbeEnabled
in interfaceSMU
- Overrides:
isFourProbeEnabled
in classKeithleySCPI
- Returns:
- Are all probes to be used?
- Throws:
java.io.IOException
- Upon communications error
-
getLockObject
public java.lang.Object getLockObject()
-
-