Package jisa.devices.interfaces
Class MCSMU.VirtualSMU
- java.lang.Object
-
- jisa.devices.interfaces.MCSMU.VirtualSMU
-
-
Nested Class Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description VirtualSMU(MCSMU smu, int channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the connection to the instrument.AddressgetAddress()Returns any Address object used to connect to this instrument.intgetAverageCount()Returns the number of measurements used for averaging by the SMU.AModegetAverageMode()Returns the averaging mode of the SMU.doublegetCurrent()Returns the current either being injected or measured by the SMU.doublegetCurrentLimit()Returns the limit for currents output when sourcing voltage (compliance value).doublegetCurrentRange()Returns the range of allowed values for currents being sourced or measured by the SMU.java.lang.StringgetIDN()Returns an identifying String of the instrument.doublegetIntegrationTime()Returns the integration time used for each individual measurement.java.lang.ObjectgetLockObject()doublegetMeasureRange()Returns the range of allowed values for the quantity being measured by the SMU.doublegetMeasureValue()Returns the value of whichever parameter is set as measure currentlyjava.lang.StringgetName()Returns the name of the instrument or channel.SMU.OffModegetOffMode()Returns the mode used by the SMU channel when turned off.doublegetOutputLimit()Returns the limit for the measured quantity (compliance value).doublegetSetCurrent()Get the default value or the value set by the setCurrent() method.doublegetSetVoltage()Get the default value or the value set by the setVoltage() method.SourcegetSource()Returns the current source mode of the SMU (VOLTAGE OR CURRENT)doublegetSourceRange()Returns the range of allowed values for the quantity being sourced by the SMU.doublegetSourceValue()Returns the value of whichever parameter is set as source currentlyTerminalsgetTerminals()Returns the type of the set of terminals currently being used on the SMU.TTypegetTerminalType(Terminals terminals)Returns what type of connector is used for the given terminal.doublegetVoltage()Returns the voltage either being applied or measured by the SMU.doublegetVoltageLimit()Returns the limit on voltages output when sourcing current (compliance value).doublegetVoltageRange()Returns the range of allowed values for voltages being sourced or measured by the SMU.booleanisAutoRangingCurrent()Returns whether the SMU is currently determining its current range automatically.booleanisAutoRangingMeasure()Returns whether the SMU is currently determining its measure range automatically.booleanisAutoRangingSource()Returns whether the SMU is set to automatically determine the source range to use.booleanisAutoRangingVoltage()Returns whether the SMU is automatically determining the range to use for voltages.booleanisFourProbeEnabled()Returns whether the device is currently configured to use all four probes.booleanisLineFilterEnabled()Returns whether the voltmeter is using any line-frequency filteringbooleanisOn()Checks whether the output of the SMU is currently enabledvoidsetAverageCount(int count)Sets how many measurements the SMU should average over.voidsetAverageMode(AMode mode)Sets the averaging mode of the SMU.voidsetCurrent(double current)Sets the current value to be applied by the SMU (switching to current source mode if not already)voidsetCurrentLimit(double current)Sets the limit for currents output when sourcing voltage (compliance value).voidsetCurrentRange(double value)Sets the range of allowed values for currents being sourced or measured by the SMU.voidsetFourProbeEnabled(boolean fourProbes)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.voidsetIntegrationTime(double time)Sets the integration time for each individual measurement, or closest over-estimate possible.voidsetLineFilterEnabled(boolean enabled)Sets whether the voltmeter should use any line-frequency filtering (if available)voidsetMeasureRange(double value)Sets the range of allowed values for the quantity being measured by the SMU.voidsetOffMode(SMU.OffMode mode)Sets which mode the SMU channel should use when turned off.voidsetOutputLimit(double value)Sets the limit for the measured quantity (ie compliance value).voidsetSource(Source source)Sets the source mode of the SMU (VOLTAGE or CURRENT)voidsetSourceRange(double value)Sets the range of allowed values for the quantity being sourced by the SMU.voidsetSourceValue(double level)Sets the value for whichever parameter is currently being sourcedvoidsetTerminals(Terminals terminals)Sets which set of terminals should be used on the SMU.voidsetVoltage(double voltage)Sets the voltage value to be applied by the SMU (switching to voltage source mode if not already)voidsetVoltageLimit(double voltage)Sets the limit for voltages output when sourcing current (compliance value).voidsetVoltageRange(double value)Sets the range of allowed values for voltages being sourced or measured by the SMU.voidturnOff()Turns the output of the SMU offvoidturnOn()Turns the output of the SMU onvoiduseAutoCurrentRange()Tells the SMU to automatically determine the range to use for current values.voiduseAutoMeasureRange()Tells the SMU to automatically determine the range to use for the measured quantity.voiduseAutoSourceRange()Sets the SMU to automatically determine the source range to use.voiduseAutoVoltageRange()Tells the SMU to automatically determine the range it uses for voltages.-
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
getConfigurationParameters, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.SMU
asAmmeter, asVoltmeter, getConfigurationParameters, getCurrent, getIVPoint, getVoltage, pulseVoltage, setAveraging, setLimits, setOn, setRanges, useAutoRanges
-
Methods inherited from interface jisa.devices.interfaces.VMeter
waitForStableVoltage
-
-
-
-
Constructor Detail
-
VirtualSMU
public VirtualSMU(MCSMU smu, int channel)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:InstrumentReturns the name of the instrument or channel.- Specified by:
getNamein interfaceInstrument- Returns:
- Name
-
getVoltage
public double getVoltage() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the voltage either being applied or measured by the SMU.- Specified by:
getVoltagein interfaceSMU- Specified by:
getVoltagein interfaceVMeter- Specified by:
getVoltagein interfaceVSource- Returns:
- Voltage value
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setVoltage
public void setVoltage(double voltage) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the voltage value to be applied by the SMU (switching to voltage source mode if not already)- Specified by:
setVoltagein interfaceSMU- Specified by:
setVoltagein interfaceVSource- Parameters:
voltage- Value to set- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrent
public double getCurrent() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the current either being injected or measured by the SMU.- Specified by:
getCurrentin interfaceIMeter- Specified by:
getCurrentin interfaceISource- Specified by:
getCurrentin interfaceSMU- Returns:
- Current value
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setCurrent
public void setCurrent(double current) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the current value to be applied by the SMU (switching to current source mode if not already)- Specified by:
setCurrentin interfaceISource- Specified by:
setCurrentin interfaceSMU- Parameters:
current- Value to set- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
turnOn
public void turnOn() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUTurns the output of the SMU on- Specified by:
turnOnin interfaceIMeter- Specified by:
turnOnin interfaceISource- Specified by:
turnOnin interfaceSMU- Specified by:
turnOnin interfaceSwitch- Specified by:
turnOnin interfaceVMeter- Specified by:
turnOnin interfaceVSource- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
turnOff
public void turnOff() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUTurns the output of the SMU off- Specified by:
turnOffin interfaceIMeter- Specified by:
turnOffin interfaceISource- Specified by:
turnOffin interfaceSMU- Specified by:
turnOffin interfaceSwitch- Specified by:
turnOffin interfaceVMeter- Specified by:
turnOffin interfaceVSource- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isOn
public boolean isOn() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUChecks whether the output of the SMU is currently enabled- Specified by:
isOnin interfaceIMeter- Specified by:
isOnin interfaceISource- Specified by:
isOnin interfaceSMU- Specified by:
isOnin interfaceSwitch- Specified by:
isOnin interfaceVMeter- Specified by:
isOnin interfaceVSource- Returns:
- Is the output on?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getSource
public Source getSource() throws DeviceException, java.io.IOException
Description copied from interface:SMUReturns the current source mode of the SMU (VOLTAGE OR CURRENT)- Specified by:
getSourcein interfaceSMU- Returns:
- Source mode
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setSource
public void setSource(Source source) throws DeviceException, java.io.IOException
Description copied from interface:SMUSets the source mode of the SMU (VOLTAGE or CURRENT)- Specified by:
setSourcein interfaceSMU- Parameters:
source- Source mode to set- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setSourceValue
public void setSourceValue(double level) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the value for whichever parameter is currently being sourced- Specified by:
setSourceValuein interfaceSMU- Parameters:
level- The level to set- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getSourceValue
public double getSourceValue() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the value of whichever parameter is set as source currently- Specified by:
getSourceValuein interfaceSMU- Returns:
- Value of source
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getMeasureValue
public double getMeasureValue() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the value of whichever parameter is set as measure currently- Specified by:
getMeasureValuein interfaceSMU- Returns:
- Value of measure
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setFourProbeEnabled
public void setFourProbeEnabled(boolean fourProbes) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets 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:
setFourProbeEnabledin interfaceSMU- Parameters:
fourProbes- Should it use all four probes?- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isFourProbeEnabled
public boolean isFourProbeEnabled() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the device is currently configured to use all four probes.- Specified by:
isFourProbeEnabledin interfaceSMU- Returns:
- Are all probes to be used?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getAverageMode
public AMode getAverageMode() throws DeviceException, java.io.IOException
Description copied from interface:SMUReturns the averaging mode of the SMU.- Specified by:
getAverageModein interfaceIMeter- Specified by:
getAverageModein interfaceSMU- Specified by:
getAverageModein interfaceVMeter- Returns:
- Mode being used
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setAverageMode
public void setAverageMode(AMode mode) throws DeviceException, java.io.IOException
Description copied from interface:SMUSets the averaging mode of the SMU.- Specified by:
setAverageModein interfaceIMeter- Specified by:
setAverageModein interfaceSMU- Specified by:
setAverageModein interfaceVMeter- Parameters:
mode- Mode to use- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getAverageCount
public int getAverageCount() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the number of measurements used for averaging by the SMU.- Specified by:
getAverageCountin interfaceIMeter- Specified by:
getAverageCountin interfaceSMU- Specified by:
getAverageCountin interfaceVMeter- Returns:
- Number of measurements
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setAverageCount
public void setAverageCount(int count) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets how many measurements the SMU should average over.- Specified by:
setAverageCountin interfaceIMeter- Specified by:
setAverageCountin interfaceSMU- Specified by:
setAverageCountin interfaceVMeter- Parameters:
count- Number of measurements- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getSourceRange
public double getSourceRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the range of allowed values for the quantity being sourced by the SMU. A value of n indicates a range of -n to +n.- Specified by:
getSourceRangein interfaceSMU- Returns:
- Range value, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setSourceRange
public void setSourceRange(double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the range of allowed values for the quantity being sourced by the SMU. A value of n indicates a range of -n to +n.- Specified by:
setSourceRangein interfaceSMU- Parameters:
value- Range value, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoSourceRange
public void useAutoSourceRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the SMU to automatically determine the source range to use.- Specified by:
useAutoSourceRangein interfaceSMU- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingSource
public boolean isAutoRangingSource() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the SMU is set to automatically determine the source range to use.- Specified by:
isAutoRangingSourcein interfaceSMU- Returns:
- Automatic?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getMeasureRange
public double getMeasureRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the range of allowed values for the quantity being measured by the SMU.- Specified by:
getMeasureRangein interfaceSMU- Returns:
- Range value, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setMeasureRange
public void setMeasureRange(double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the range of allowed values for the quantity being measured by the SMU.- Specified by:
setMeasureRangein interfaceSMU- Parameters:
value- Range value, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoMeasureRange
public void useAutoMeasureRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUTells the SMU to automatically determine the range to use for the measured quantity.- Specified by:
useAutoMeasureRangein interfaceSMU- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingMeasure
public boolean isAutoRangingMeasure() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the SMU is currently determining its measure range automatically.- Specified by:
isAutoRangingMeasurein interfaceSMU- Returns:
- Is it automatic?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getVoltageRange
public double getVoltageRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the range of allowed values for voltages being sourced or measured by the SMU. A value of n indicates a range of -n to +n.- Specified by:
getVoltageRangein interfaceSMU- Specified by:
getVoltageRangein interfaceVMeter- Returns:
- Range value, in Volts
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setVoltageRange
public void setVoltageRange(double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the range of allowed values for voltages being sourced or measured by the SMU. A value of n indicates a range of -n to +n.- Specified by:
setVoltageRangein interfaceSMU- Specified by:
setVoltageRangein interfaceVMeter- Parameters:
value- Range value, in Volts- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoVoltageRange
public void useAutoVoltageRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUTells the SMU to automatically determine the range it uses for voltages.- Specified by:
useAutoVoltageRangein interfaceSMU- Specified by:
useAutoVoltageRangein interfaceVMeter- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingVoltage
public boolean isAutoRangingVoltage() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the SMU is automatically determining the range to use for voltages.- Specified by:
isAutoRangingVoltagein interfaceSMU- Specified by:
isAutoRangingVoltagein interfaceVMeter- Returns:
- Is it automatic?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrentRange
public double getCurrentRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the range of allowed values for currents being sourced or measured by the SMU.- Specified by:
getCurrentRangein interfaceIMeter- Specified by:
getCurrentRangein interfaceSMU- Returns:
- Range value, inAmps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setCurrentRange
public void setCurrentRange(double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the range of allowed values for currents being sourced or measured by the SMU.- Specified by:
setCurrentRangein interfaceIMeter- Specified by:
setCurrentRangein interfaceSMU- Parameters:
value- Range value, in Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoCurrentRange
public void useAutoCurrentRange() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUTells the SMU to automatically determine the range to use for current values.- Specified by:
useAutoCurrentRangein interfaceIMeter- Specified by:
useAutoCurrentRangein interfaceSMU- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingCurrent
public boolean isAutoRangingCurrent() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the SMU is currently determining its current range automatically.- Specified by:
isAutoRangingCurrentin interfaceIMeter- Specified by:
isAutoRangingCurrentin interfaceSMU- Returns:
- Is it automatic?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getOutputLimit
public double getOutputLimit() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the limit for the measured quantity (compliance value).- Specified by:
getOutputLimitin interfaceSMU- Returns:
- The limit, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setOutputLimit
public void setOutputLimit(double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the limit for the measured quantity (ie compliance value).- Specified by:
setOutputLimitin interfaceSMU- Parameters:
value- The limit to use, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getVoltageLimit
public double getVoltageLimit() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the limit on voltages output when sourcing current (compliance value).- Specified by:
getVoltageLimitin interfaceSMU- Returns:
- The limit, in Volts
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setVoltageLimit
public void setVoltageLimit(double voltage) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the limit for voltages output when sourcing current (compliance value).- Specified by:
setVoltageLimitin interfaceSMU- Parameters:
voltage- The limit, in Volts- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrentLimit
public double getCurrentLimit() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the limit for currents output when sourcing voltage (compliance value).- Specified by:
getCurrentLimitin interfaceSMU- Returns:
- The limit, in Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setCurrentLimit
public void setCurrentLimit(double current) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the limit for currents output when sourcing voltage (compliance value).- Specified by:
setCurrentLimitin interfaceSMU- Parameters:
current- The limit, in Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getIntegrationTime
public double getIntegrationTime() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns the integration time used for each individual measurement.- Specified by:
getIntegrationTimein interfaceIMeter- Specified by:
getIntegrationTimein interfaceSMU- Specified by:
getIntegrationTimein interfaceVMeter- Returns:
- Integration time, in seconds
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setIntegrationTime
public void setIntegrationTime(double time) throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUSets the integration time for each individual measurement, or closest over-estimate possible.- Specified by:
setIntegrationTimein interfaceIMeter- Specified by:
setIntegrationTimein interfaceSMU- Specified by:
setIntegrationTimein interfaceVMeter- Parameters:
time- Integration time, in seconds- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getTerminalType
public TType getTerminalType(Terminals terminals) throws DeviceException, java.io.IOException
Description copied from interface:SMUReturns what type of connector is used for the given terminal.- Specified by:
getTerminalTypein interfaceSMU- Specified by:
getTerminalTypein interfaceVMeter- Parameters:
terminals- Which terminal- Returns:
- Terminal type (TRIAX, PHOENIX, BNC or BANANA)
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getTerminals
public Terminals getTerminals() throws DeviceException, java.io.IOException
Description copied from interface:SMUReturns the type of the set of terminals currently being used on the SMU.- Specified by:
getTerminalsin interfaceSMU- Specified by:
getTerminalsin interfaceVMeter- Returns:
- The type of terminals being used
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setTerminals
public void setTerminals(Terminals terminals) throws DeviceException, java.io.IOException
Description copied from interface:SMUSets which set of terminals should be used on the SMU.- Specified by:
setTerminalsin interfaceSMU- Specified by:
setTerminalsin interfaceVMeter- Parameters:
terminals- Which type of terminals to use- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getOffMode
public SMU.OffMode getOffMode() throws DeviceException, java.io.IOException
Description copied from interface:SMUReturns the mode used by the SMU channel when turned off.- Specified by:
getOffModein interfaceSMU- Returns:
- Mode being used
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setOffMode
public void setOffMode(SMU.OffMode mode) throws DeviceException, java.io.IOException
Description copied from interface:SMUSets which mode the SMU channel should use when turned off.- Specified by:
setOffModein interfaceSMU- Parameters:
mode- Mode to use- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isLineFilterEnabled
public boolean isLineFilterEnabled() throws DeviceException, java.io.IOExceptionDescription copied from interface:SMUReturns whether the voltmeter is using any line-frequency filtering- Specified by:
isLineFilterEnabledin interfaceIMeter- Specified by:
isLineFilterEnabledin interfaceSMU- Specified by:
isLineFilterEnabledin interfaceVMeter- 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.IOExceptionDescription copied from interface:SMUSets whether the voltmeter should use any line-frequency filtering (if available)- Specified by:
setLineFilterEnabledin interfaceIMeter- Specified by:
setLineFilterEnabledin interfaceSMU- Specified by:
setLineFilterEnabledin interfaceVMeter- Parameters:
enabled- Use line filter?- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getIDN
public java.lang.String getIDN() throws java.io.IOException, DeviceExceptionDescription copied from interface:InstrumentReturns an identifying String of the instrument.- Specified by:
getIDNin interfaceInstrument- Returns:
- Identifying String
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon incompatibility with device
-
close
public void close() throws java.io.IOException, DeviceExceptionDescription copied from interface:InstrumentCloses the connection to the instrument.- Specified by:
closein interfaceInstrument- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon incompatibility with device
-
getAddress
public Address getAddress()
Description copied from interface:InstrumentReturns any Address object used to connect to this instrument.- Specified by:
getAddressin interfaceInstrument- Returns:
- Address object, null if none
-
getLockObject
public java.lang.Object getLockObject()
- Specified by:
getLockObjectin interfaceInstrument
-
getSetCurrent
public double getSetCurrent() throws DeviceException, java.io.IOExceptionDescription copied from interface:IVSourceGet the default value or the value set by the setCurrent() method.- Specified by:
getSetCurrentin interfaceIVSource- Returns:
- current setting [A]
- Throws:
DeviceExceptionjava.io.IOException
-
getSetVoltage
public double getSetVoltage() throws DeviceException, java.io.IOExceptionDescription copied from interface:IVSourceGet the default value or the value set by the setVoltage() method.- Specified by:
getSetVoltagein interfaceIVSource- Returns:
- voltage setting [V]
- Throws:
DeviceExceptionjava.io.IOException
-
-