Interface SPA

    • 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 interface MultiInstrument
        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 interface MultiInstrument
        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)