Package jisa.devices.interfaces
Interface SPA
-
- All Superinterfaces:
Instrument
,MultiInstrument
- All Known Implementing Classes:
Agilent4155B
,Agilent4155C
,Agilent4156B
,Agilent4156C
,AgilentB1500A
,AgilentSPA
public interface SPA extends Instrument, MultiInstrument
-
-
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
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <I extends Instrument>
java.util.List<I>get(java.lang.Class<I> type)
Returns a list of all sub-instruments this instrument contains that can be considered to be of the given instrument type.default <I extends Instrument>
Iget(java.lang.Class<I> type, int index)
static java.lang.String
getDescription()
default SMU
getSMUChannel(int index)
Returns the SMU sub-instrument of the SPA with the given index.java.util.List<SMU>
getSMUChannels()
Returns a list of all SMU sub-instruments.default java.util.List<java.lang.Class<? extends Instrument>>
getSubInstrumentTypes()
Returns a list of all the different classes of sub-instruments that this instrument contains.default Switch
getSwitchChannel(int index)
java.util.List<Switch>
getSwitchChannels()
default VMeter
getVMeterChannel(int index)
java.util.List<VMeter>
getVMeterChannels()
default VSource
getVSourceChannel(int index)
java.util.List<VSource>
getVSourceChannels()
-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
Methods inherited from interface jisa.devices.interfaces.MultiInstrument
contains, contains, get, getSubInstrument, getSubInstruments, getSubInstruments
-
-
-
-
Method Detail
-
getDescription
static java.lang.String getDescription()
-
getSMUChannels
java.util.List<SMU> getSMUChannels()
Returns a list of all SMU sub-instruments.- Returns:
- List of all SMU units in the SPA.
-
getSMUChannel
default SMU getSMUChannel(int index)
Returns the SMU sub-instrument of the SPA with the given index.- Parameters:
index
- Index to get- Returns:
- SMU subunit of given index
-
getVMeterChannels
java.util.List<VMeter> getVMeterChannels()
-
getVMeterChannel
default VMeter getVMeterChannel(int index)
-
getVSourceChannels
java.util.List<VSource> getVSourceChannels()
-
getVSourceChannel
default VSource getVSourceChannel(int index)
-
getSwitchChannels
java.util.List<Switch> getSwitchChannels()
-
getSwitchChannel
default Switch getSwitchChannel(int index)
-
getSubInstrumentTypes
default java.util.List<java.lang.Class<? extends Instrument>> getSubInstrumentTypes()
Description copied from interface:MultiInstrument
Returns a list of all the different classes of sub-instruments that this instrument contains.- Specified by:
getSubInstrumentTypes
in interfaceMultiInstrument
- Returns:
- List of sub-instrument classes
-
get
default <I extends Instrument> java.util.List<I> get(java.lang.Class<I> type)
Description copied from interface:MultiInstrument
Returns a list of all sub-instruments this instrument contains that can be considered to be of the given instrument type.- Specified by:
get
in interfaceMultiInstrument
- Type Parameters:
I
- Instrument class- Parameters:
type
- The class object of sub-instrument to return- Returns:
- List of sub-instruments matching the given class
-
get
default <I extends Instrument> I get(java.lang.Class<I> type, int index)
-
-