Package jisa.devices.smu
Class DummyMCSMU
- java.lang.Object
-
- jisa.devices.smu.DummyMCSMU
-
-
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.MCSMU
MCSMU.VirtualSMU
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.SMU
SMU.OffMode
-
-
Constructor Summary
Constructors Constructor Description DummyMCSMU()
-
Method Summary
All Methods Static 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(int channel)Returns how many measurements the SMU is using to perform its averaging on the specified channel.AModegetAverageMode(int channel)Returns which averaging mode the SMU is currently using for measurements on the specified channel.doublegetCurrent(int channel)Returns the current of the specified channeldoublegetCurrentLimit(int channel)Returns the limit (compliance) on current when not being sourced on the specified channel.doublegetCurrentRange(int channel)Returns the range being used for current values on the specified channel.static java.lang.StringgetDescription()java.lang.StringgetIDN()Returns an identifying String of the instrument.doublegetIntegrationTime(int channel)Returns the integration time used for measurements on the specified channel.doublegetMeasureRange(int channel)Returns the range being used for the measured quantity on the specified channel.doublegetMeasureValue(int channel)Returns the value of whichever quantity is being measured on the specified channeljava.lang.StringgetName()Returns the name of the instrument or channel.java.lang.StringgetName(int channel)intgetNumChannels()Returns the number of channels this SMU has.SMU.OffModegetOffMode(int channel)doublegetOutputLimit(int channel)Returns the limit (compliance) on whichever quantity is not being sourced on the specified channel.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(int channel)Returns the source mode of the specified channeldoublegetSourceRange(int channel)Returns the range being used for the sourced quantity on the specified channel.doublegetSourceValue(int channel)Returns the value of whichever quantity is being sourced on the specified channelTerminalsgetTerminals(int channel)TTypegetTerminalType(int channel, Terminals terminals)doublegetVoltage(int channel)Returns the voltage of the specified channeldoublegetVoltageLimit(int channel)Returns the limit (compliance) on voltage when not being sourced on the specified channel.doublegetVoltageRange(int channel)Returns the range being used for voltage values on the specified channel.booleanisAutoRangingCurrent(int channel)Returns whether auto-ranging is being used for current values on the specified channel.booleanisAutoRangingMeasure(int channel)Returns whether auto-ranging is being used for the measured quantity on the specified channel.booleanisAutoRangingSource(int channel)Returns whether auto-ranging is being used for the source quantity on the specified channel.booleanisAutoRangingVoltage(int channel)Returns whether auto-ranging is being used for voltage values on the specified channel.booleanisFourProbeEnabled(int channel)Returns whether the device is currently configured to use all four probes on the specified channel.booleanisLineFilterEnabled(int channel)Returns whether the voltmeter is using any line-frequency filteringbooleanisOn(int channel)Returns whether the specified channel currently has its output enabledvoidsetAverageCount(int channel, int count)Sets how many measurements to use when averaging on the specified channel.voidsetAverageMode(int channel, AMode mode)Sets which type of averaging the SMU should use when making a measurement on the specified channel.voidsetBias(int channel, double level)Sets the level of whichever quantity is being sourced on the specified channelvoidsetCurrent(int channel, double current)Sets the specified channel to source the given current (when turned on)voidsetCurrentLimit(int channel, double value)Sets the limit (compliance) on current when not being sourced on the specified channel.voidsetCurrentRange(int channel, double value)Sets the range (and thus precision) to use for current values on the specified channel.voidsetFourProbeEnabled(int channel, 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 on the specified channel.voidsetIntegrationTime(int channel, double time)Sets the integration time to use for measurements on the specified channel.voidsetLineFilterEnabled(int channel, boolean enabled)Sets whether the voltmeter should use any line-frequency filtering (if available)voidsetMeasureRange(int channel, double value)Sets the range (and thus precision) to use for the measured quantity on the given channel.voidsetOffMode(int channel, SMU.OffMode mode)voidsetOutputLimit(int channel, double value)Sets the limit (compliance) on whichever quantity is not being sourced on the given channel.voidsetSource(int channel, Source source)Sets the source mode of the specified channelvoidsetSourceRange(int channel, double value)Sets the range (and thus precision) to use for the sourced quantity on the given channel.voidsetTerminals(int channel, Terminals terminals)voidsetVoltage(int channel, double voltage)Sets the specified channel to source the given voltage (when turned on)voidsetVoltageLimit(int channel, double value)Sets the limit (compliance) on voltage values when not being sourced on the specified channel.voidsetVoltageRange(int channel, double value)Sets the range (and thus precision) to use for voltage values on the specified channel.voidturnOff(int channel)Disables output on the specified channelvoidturnOn(int channel)Enables output on the specified channelvoiduseAutoCurrentRange(int channel)Tells the SMU to use auto-ranging for current values on the specified channel.voiduseAutoMeasureRange(int channel)Tells the SMU to use auto-ranging for the measured quantity on the specified channel.voiduseAutoSourceRange(int channel)Tells the SMU to use auto-ranging for the sourced quantity on the specified channel.voiduseAutoVoltageRange(int channel)Tells the SMU to use auto-ranging for voltage values on the specified channel.-
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, getLockObject, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.MCSMU
checkChannel, get, getAverageCount, getAverageMode, getChannel, getChannelClass, getChannels, getCurrent, getCurrentLimit, getCurrentRange, getIntegrationTime, getIVPoint, getIVPoint, getMCIVPoint, getMeasureRange, getMeasureValue, getOffMode, getOutputLimit, getSource, getSourceRange, getSourceValue, getSubInstrument, getSubInstrumentTypes, getTerminals, getTerminalType, getVoltage, getVoltageLimit, getVoltageRange, isAutoRangingCurrent, isAutoRangingMeasure, isAutoRangingSource, isAutoRangingVoltage, isFourProbeEnabled, isLineFilterEnabled, isOn, setAverageCount, setAverageMode, setAveraging, setAveraging, setCurrent, setCurrentLimit, setCurrentRange, setFourProbeEnabled, setIntegrationTime, setLimits, setLimits, setLineFilterEnabled, setMeasureRange, setOffMode, setOutputLimit, setRanges, setRanges, setSource, setSourceRange, setSourceValue, setTerminals, setVoltage, setVoltageLimit, setVoltageRange, turnOff, turnOn, useAutoCurrentRange, useAutoMeasureRange, useAutoRanges, useAutoRanges, useAutoSourceRange, useAutoVoltageRange
-
Methods inherited from interface jisa.devices.interfaces.MultiInstrument
contains, contains, get, getSubInstruments, getSubInstruments
-
Methods inherited from interface jisa.devices.interfaces.SMU
asAmmeter, asVoltmeter, getConfigurationParameters, getCurrent, getVoltage, pulseVoltage, setOn
-
Methods inherited from interface jisa.devices.interfaces.VMeter
waitForStableVoltage
-
-
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
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
-
getVoltage
public double getVoltage(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the voltage of the specified channel- Specified by:
getVoltagein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Voltage, in Volts
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
getCurrent
public double getCurrent(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the current of the specified channel- Specified by:
getCurrentin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Current, in Amps
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
setVoltage
public void setVoltage(int channel, double voltage) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the specified channel to source the given voltage (when turned on)- Specified by:
setVoltagein interfaceMCSMU- Parameters:
channel- Channel numbervoltage- Voltage to source, in Volts- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
setCurrent
public void setCurrent(int channel, double current) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the specified channel to source the given current (when turned on)- Specified by:
setCurrentin interfaceMCSMU- Parameters:
channel- Channel numbercurrent- Current to source, in Amps- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
turnOn
public void turnOn(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUEnables output on the specified channel- Specified by:
turnOnin interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
turnOff
public void turnOff(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUDisables output on the specified channel- Specified by:
turnOffin interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
isOn
public boolean isOn(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether the specified channel currently has its output enabled- Specified by:
isOnin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Is it enabled?
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
setSource
public void setSource(int channel, Source source) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the source mode of the specified channel- Specified by:
setSourcein interfaceMCSMU- Parameters:
channel- Channel numbersource- VOLTAGE or CURRENT- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
getSource
public Source getSource(int channel) throws DeviceException, java.io.IOException
Description copied from interface:MCSMUReturns the source mode of the specified channel- Specified by:
getSourcein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Source mode (VOLTAGE or CURRENT)
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
setBias
public void setBias(int channel, double level) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the level of whichever quantity is being sourced on the specified channel- Specified by:
setBiasin interfaceMCSMU- Parameters:
channel- Channel numberlevel- Volts or Amps- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
getSourceValue
public double getSourceValue(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the value of whichever quantity is being sourced on the specified channel- Specified by:
getSourceValuein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Voltage or Current, in Volts or Amps
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
getMeasureValue
public double getMeasureValue(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the value of whichever quantity is being measured on the specified channel- Specified by:
getMeasureValuein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Voltage or Current, in Volts or Amps
- Throws:
DeviceException- Upon device compatibility errorjava.io.IOException- Upon communications error
-
getNumChannels
public int getNumChannels()
Description copied from interface:MCSMUReturns the number of channels this SMU has.- Specified by:
getNumChannelsin interfaceMCSMU- Returns:
- Number of channels
-
setFourProbeEnabled
public void setFourProbeEnabled(int channel, boolean fourProbes) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets 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 on the specified channel.- Specified by:
setFourProbeEnabledin interfaceMCSMU- Parameters:
channel- Channel numberfourProbes- Should it use all four probes?- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isFourProbeEnabled
public boolean isFourProbeEnabled(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether the device is currently configured to use all four probes on the specified channel.- Specified by:
isFourProbeEnabledin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Are all probes to be used?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setAverageMode
public void setAverageMode(int channel, AMode mode) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets which type of averaging the SMU should use when making a measurement on the specified channel.- Specified by:
setAverageModein interfaceMCSMU- Parameters:
channel- Channel numbermode- Averaging mode- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setAverageCount
public void setAverageCount(int channel, int count) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets how many measurements to use when averaging on the specified channel.- Specified by:
setAverageCountin interfaceMCSMU- Parameters:
channel- Channel numbercount- Averaging count- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getAverageCount
public int getAverageCount(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns how many measurements the SMU is using to perform its averaging on the specified channel.- Specified by:
getAverageCountin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Averaging count
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getAverageMode
public AMode getAverageMode(int channel) throws DeviceException, java.io.IOException
Description copied from interface:MCSMUReturns which averaging mode the SMU is currently using for measurements on the specified channel.- Specified by:
getAverageModein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Averaging mode
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setSourceRange
public void setSourceRange(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the range (and thus precision) to use for the sourced quantity on the given channel.- Specified by:
setSourceRangein interfaceMCSMU- Parameters:
channel- Channel numbervalue- Range value, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getSourceRange
public double getSourceRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the range being used for the sourced quantity on the specified channel.- Specified by:
getSourceRangein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Range value, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoSourceRange
public void useAutoSourceRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUTells the SMU to use auto-ranging for the sourced quantity on the specified channel.- Specified by:
useAutoSourceRangein interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingSource
public boolean isAutoRangingSource(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether auto-ranging is being used for the source quantity on the specified channel.- Specified by:
isAutoRangingSourcein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Auto-ranging in use?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setMeasureRange
public void setMeasureRange(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the range (and thus precision) to use for the measured quantity on the given channel.- Specified by:
setMeasureRangein interfaceMCSMU- Parameters:
channel- Channel numbervalue- Range value, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getMeasureRange
public double getMeasureRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the range being used for the measured quantity on the specified channel.- Specified by:
getMeasureRangein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Range value, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoMeasureRange
public void useAutoMeasureRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUTells the SMU to use auto-ranging for the measured quantity on the specified channel.- Specified by:
useAutoMeasureRangein interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingMeasure
public boolean isAutoRangingMeasure(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether auto-ranging is being used for the measured quantity on the specified channel.- Specified by:
isAutoRangingMeasurein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Auto-ranging in use?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setVoltageRange
public void setVoltageRange(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the range (and thus precision) to use for voltage values on the specified channel.- Specified by:
setVoltageRangein interfaceMCSMU- Parameters:
channel- Channel numbervalue- Range, in Volts- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getVoltageRange
public double getVoltageRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the range being used for voltage values on the specified channel.- Specified by:
getVoltageRangein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Range, in Volts
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoVoltageRange
public void useAutoVoltageRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUTells the SMU to use auto-ranging for voltage values on the specified channel.- Specified by:
useAutoVoltageRangein interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingVoltage
public boolean isAutoRangingVoltage(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether auto-ranging is being used for voltage values on the specified channel.- Specified by:
isAutoRangingVoltagein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Auto-ranging in use?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setCurrentRange
public void setCurrentRange(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the range (and thus precision) to use for current values on the specified channel.- Specified by:
setCurrentRangein interfaceMCSMU- Parameters:
channel- Channel numbervalue- Range, in Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrentRange
public double getCurrentRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the range being used for current values on the specified channel.- Specified by:
getCurrentRangein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Range, in Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
useAutoCurrentRange
public void useAutoCurrentRange(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUTells the SMU to use auto-ranging for current values on the specified channel.- Specified by:
useAutoCurrentRangein interfaceMCSMU- Parameters:
channel- Channel number- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
isAutoRangingCurrent
public boolean isAutoRangingCurrent(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether auto-ranging is being used for current values on the specified channel.- Specified by:
isAutoRangingCurrentin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Auto-ranging in use?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setOutputLimit
public void setOutputLimit(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the limit (compliance) on whichever quantity is not being sourced on the given channel.- Specified by:
setOutputLimitin interfaceMCSMU- Parameters:
channel- Channel numbervalue- Limit, in Volts or Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getOutputLimit
public double getOutputLimit(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the limit (compliance) on whichever quantity is not being sourced on the specified channel.- Specified by:
getOutputLimitin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Limit, in Volts or Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setVoltageLimit
public void setVoltageLimit(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the limit (compliance) on voltage values when not being sourced on the specified channel.- Specified by:
setVoltageLimitin interfaceMCSMU- Parameters:
channel- Channel numbervalue- Limit, in Volts- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getVoltageLimit
public double getVoltageLimit(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the limit (compliance) on voltage when not being sourced on the specified channel.- Specified by:
getVoltageLimitin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Limit, in Volts
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setCurrentLimit
public void setCurrentLimit(int channel, double value) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the limit (compliance) on current when not being sourced on the specified channel.- Specified by:
setCurrentLimitin interfaceMCSMU- Parameters:
channel- Channel numbervalue- Limit, in Amps- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getCurrentLimit
public double getCurrentLimit(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the limit (compliance) on current when not being sourced on the specified channel.- Specified by:
getCurrentLimitin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Limit, in Amps
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setIntegrationTime
public void setIntegrationTime(int channel, double time) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets the integration time to use for measurements on the specified channel.- Specified by:
setIntegrationTimein interfaceMCSMU- Parameters:
channel- Channel numbertime- Integration time, in seconds- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getIntegrationTime
public double getIntegrationTime(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns the integration time used for measurements on the specified channel.- Specified by:
getIntegrationTimein interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Integration time, in seconds
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getTerminalType
public TType getTerminalType(int channel, Terminals terminals) throws DeviceException, java.io.IOException
- Specified by:
getTerminalTypein interfaceMCSMU- Throws:
DeviceExceptionjava.io.IOException
-
setTerminals
public void setTerminals(int channel, Terminals terminals) throws DeviceException, java.io.IOException- Specified by:
setTerminalsin interfaceMCSMU- Throws:
DeviceExceptionjava.io.IOException
-
getTerminals
public Terminals getTerminals(int channel) throws DeviceException, java.io.IOException
- Specified by:
getTerminalsin interfaceMCSMU- Throws:
DeviceExceptionjava.io.IOException
-
setOffMode
public void setOffMode(int channel, SMU.OffMode mode) throws DeviceException, java.io.IOException- Specified by:
setOffModein interfaceMCSMU- Throws:
DeviceExceptionjava.io.IOException
-
getOffMode
public SMU.OffMode getOffMode(int channel) throws DeviceException, java.io.IOException
- Specified by:
getOffModein interfaceMCSMU- Throws:
DeviceExceptionjava.io.IOException
-
isLineFilterEnabled
public boolean isLineFilterEnabled(int channel) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUReturns whether the voltmeter is using any line-frequency filtering- Specified by:
isLineFilterEnabledin interfaceMCSMU- Parameters:
channel- Channel number- Returns:
- Using line filter?
- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
setLineFilterEnabled
public void setLineFilterEnabled(int channel, boolean enabled) throws DeviceException, java.io.IOExceptionDescription copied from interface:MCSMUSets whether the voltmeter should use any line-frequency filtering (if available)- Specified by:
setLineFilterEnabledin interfaceMCSMU- Parameters:
channel- Channel numberenabled- Use line filter?- Throws:
DeviceException- Upon incompatibility with devicejava.io.IOException- Upon communications error
-
getIDN
public java.lang.String getIDN() throws java.io.IOExceptionDescription copied from interface:InstrumentReturns an identifying String of the instrument.- Specified by:
getIDNin interfaceInstrument- Returns:
- Identifying String
- Throws:
java.io.IOException- Upon communications error
-
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
-
getName
public java.lang.String getName()
Description copied from interface:InstrumentReturns the name of the instrument or channel.- Specified by:
getNamein interfaceInstrument- Returns:
- Name
-
-