Interface VPreAmp

    • Method Detail

      • getDescription

        static java.lang.String getDescription()
      • setGain

        void setGain​(double gain)
              throws java.io.IOException,
                     DeviceException
        Sets the gain to the given value, or as close to it as possible.
        Parameters:
        gain - Gain value
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setInput

        void setInput​(Input source)
               throws java.io.IOException,
                      DeviceException
        Sets the source terminal to use, either A, B or DIFF (for A - B).
        Parameters:
        source - Source terminal configuration
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setCoupling

        void setCoupling​(Coupling mode)
                  throws java.io.IOException,
                         DeviceException
        Sets the coupling mode of the pre-amplifier.
        Parameters:
        mode - Coupling mode: GROUND, DC or AC.
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setFilterMode

        void setFilterMode​(Filter mode)
                    throws java.io.IOException,
                           DeviceException
        Sets the filter mode of the pre-amplifier.
        Parameters:
        mode - Filter-mode: NONE, LOW_PASS, HIGH_PASS or BAND_PASS
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setFilterRollOff

        void setFilterRollOff​(double dbLevel)
                       throws java.io.IOException,
                              DeviceException
        Sets the filter roll-off value in db/decade (or as close to it as one can get).
        Parameters:
        dbLevel - Roll-off (db/decade)
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setFilterHighFrequency

        void setFilterHighFrequency​(double frequency)
                             throws java.io.IOException,
                                    DeviceException
        Sets the high frequency value of the filter to the given value or as close as possible.
        Parameters:
        frequency - High frequency value, in Hz
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • setFilterLowFrequency

        void setFilterLowFrequency​(double frequency)
                            throws java.io.IOException,
                                   DeviceException
        Sets the low frequency value of the filter to the given value or as close as possible.
        Parameters:
        frequency - Low frequency value, in Hz
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getGain

        double getGain()
                throws java.io.IOException,
                       DeviceException
        Returns the gain value of the amplifier currently.
        Returns:
        Gain value
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getInput

        Input getInput()
                throws java.io.IOException,
                       DeviceException
        Returns the source terminal configuration currently being used.
        Returns:
        Source terminal configuration
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getCoupling

        Coupling getCoupling()
                      throws java.io.IOException,
                             DeviceException
        Returns the coupling configuration currently being used.
        Returns:
        Coupling configuration
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getFilterMode

        Filter getFilterMode()
                      throws java.io.IOException,
                             DeviceException
        Returns the filter mode currently being used.
        Returns:
        Filter mode
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getFilterRollOff

        double getFilterRollOff()
                         throws java.io.IOException,
                                DeviceException
        Returns the filter roll-off value currently being used in db/decade
        Returns:
        Filter roll off (db/decade)
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getFilterHighFrequency

        double getFilterHighFrequency()
                               throws java.io.IOException,
                                      DeviceException
        Returns the high frequency value currently being used by the filter.
        Returns:
        High frequency value, in Hz.
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error
      • getFilterLowFrequency

        double getFilterLowFrequency()
                              throws java.io.IOException,
                                     DeviceException
        Returns the low frequency value currently being used by the filter.
        Returns:
        Low frequency value, in Hz.
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon compatibility error