Package hfDaqCard

Class SmruDaqParameters

All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class SmruDaqParameters extends SoundCardParameters implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details Link icon

    • serialVersionUID Link icon

      public static final long serialVersionUID
      See Also:
    • NCHANNELS Link icon

      public static final int NCHANNELS
      See Also:
    • MAX_DEVICES Link icon

      public static final int MAX_DEVICES
      See Also:
    • sampleRates Link icon

      public static final int[] sampleRates
    • lineargains Link icon

      public static final double[] lineargains
    • filters Link icon

      public static final double[] filters
    • MAXSAMPLERATE Link icon

      public static final int MAXSAMPLERATE
      See Also:
    • VPEAKTOPEAK Link icon

      public static final double VPEAKTOPEAK
      See Also:
    • sampleRateIndex Link icon

      public int sampleRateIndex
    • channelMask Link icon

      public int channelMask
    • channelGainIndex Link icon

      public int[] channelGainIndex
    • channelFilterIndex Link icon

      public int[] channelFilterIndex
  • Constructor Details Link icon

    • SmruDaqParameters Link icon

      public SmruDaqParameters(String systemType)
      Parameters:
      systemType -
  • Method Details Link icon

    • getNumUsedBoards Link icon

      public int getNumUsedBoards(int installedBoards)
      Get the total number of boards that are actually used by the system.
      Parameters:
      installedBoards - number of installed boards.
      Returns:
      the number of used boards.
    • getChannelMask Link icon

      public int getChannelMask(int board)
      Get the channel mask for a single board.
      Parameters:
      board - board number
      Returns:
      channel mask
    • getGainIndex Link icon

      public int getGainIndex(int board, int channel)
      Get the gain index for a specified board and channel
      Parameters:
      board - board number
      channel - channel number
      Returns:
      gain index to pass to device
    • getFilterIndex Link icon

      public int getFilterIndex(int board, int channel)
      Get the filter index for a specified board and channel
      Parameters:
      board - board number
      channel - channel number
      Returns:
      filter index to pass to device
    • getGains Link icon

      public static double[] getGains()
    • getSampleRate Link icon

      public float getSampleRate()
    • getChannelGain Link icon

      public double getChannelGain(int channel)
    • getChannelFilter Link icon

      public double getChannelFilter(int channel)
    • clone Link icon

      public SmruDaqParameters clone()
      Overrides:
      clone in class SoundCardParameters
    • getSampleRateIndex Link icon

      public int getSampleRateIndex()
    • setSampleRateIndex Link icon

      public void setSampleRateIndex(int rateIndex)
    • getGainIndex Link icon

      public int getGainIndex(int channel)
    • setGainIndex Link icon

      public void setGainIndex(int channel, int gainIndex)
    • getFilterIndex Link icon

      public int getFilterIndex(int channel)
    • setFilterIndex Link icon

      public void setFilterIndex(int channel, int filterIndex)
    • getParameterSet Link icon

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Overrides:
      getParameterSet in class SoundCardParameters
      Returns:
      description of the parameters in a class.