Interface PID

    • Method Detail

      • 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
      • getInputs

        java.util.List<? extends PID.Input> getInputs()
        Returns a list of all input channels connected to this PID controller.
        Returns:
        List of input channels
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getInput

        default PID.Input getInput​(int index)
        Returns the input channel with a given index connected to this PID controller.
        Parameters:
        index - Input index
        Returns:
        Input channel with specified index
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getOutputs

        java.util.List<? extends PID.Output> getOutputs()
        Returns a list of all output channels connected to this PID controller.
        Returns:
        List of output channels
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getOutput

        default PID.Output getOutput​(int index)
        Returns the output channel with a given index connected to this PID controller.
        Parameters:
        index - Output index
        Returns:
        Output channel with specified index
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getLoops

        java.util.List<? extends PID.Loop> getLoops()
        Returns a list of all control loops provided by this PID controller.
        Returns:
        List of control loops
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getLoop

        default PID.Loop getLoop​(int index)
        Returns the control loop with a given index, provided by this PID controller.
        Parameters:
        index - Control loop index
        Returns:
        PID control loop with specified index
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error