Interface FMeter

  • All Superinterfaces:
    Instrument
    All Known Subinterfaces:
    DPLockIn, LockIn
    All Known Implementing Classes:
    SR830

    public interface FMeter
    extends Instrument
    Standard interface for instrument that provide frequency measurements.
    • Method Detail

      • getFrequency

        double getFrequency()
                     throws java.io.IOException,
                            DeviceException
        Returns the frequency value currently being reported by the instrument, in Hz.
        Returns:
        Frequency, in Hz
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon device compatibility error
      • getFrequencyRange

        double getFrequencyRange()
                          throws java.io.IOException,
                                 DeviceException
        Returns the frequency measurement range being used by the instrument, in Hz. A value of x indicates a range of +/- x.
        Returns:
        Frequency range, in +/- Hz.
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon device compatibility error
      • setFrequencyRange

        void setFrequencyRange​(double range)
                        throws java.io.IOException,
                               DeviceException
        Sets the frequency measurement range to be used by the instrument. Will select the smallest range option that contains the specified value.
        Parameters:
        range - Frequency range to use, in Hz.
        Throws:
        java.io.IOException - Upon communications error
        DeviceException - Upon device compatibility error