Package hfDaqCard
Class SmruDaqParameters
java.lang.Object
Acquisition.SoundCardParameters
hfDaqCard.SmruDaqParameters
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
public class SmruDaqParameters
extends SoundCardParameters
implements Serializable, Cloneable, ManagedParameters
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionint[]int[]intstatic final double[]static final double[]static final intstatic final intstatic final intintstatic final int[]static final longstatic final doubleFields inherited from class Acquisition.SoundCardParameters
BITDEPTHS, deviceNumber, systemType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()doublegetChannelFilter(int channel) doublegetChannelGain(int channel) intgetChannelMask(int board) Get the channel mask for a single board.intgetFilterIndex(int channel) intgetFilterIndex(int board, int channel) Get the filter index for a specified board and channelintgetGainIndex(int channel) intgetGainIndex(int board, int channel) Get the gain index for a specified board and channelstatic double[]getGains()intgetNumUsedBoards(int installedBoards) Get the total number of boards that are actually used by the system.Get a set of data that describes all of the parameters in a classfloatintvoidsetFilterIndex(int channel, int filterIndex) voidsetGainIndex(int channel, int gainIndex) voidsetSampleRateIndex(int rateIndex) Methods inherited from class Acquisition.SoundCardParameters
getBitDepth, setBitDepth
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
NCHANNELS
public static final int NCHANNELS- See Also:
-
MAX_DEVICES
public static final int MAX_DEVICES- See Also:
-
sampleRates
public static final int[] sampleRates -
lineargains
public static final double[] lineargains -
filters
public static final double[] filters -
MAXSAMPLERATE
public static final int MAXSAMPLERATE- See Also:
-
VPEAKTOPEAK
public static final double VPEAKTOPEAK- See Also:
-
sampleRateIndex
public int sampleRateIndex -
channelMask
public int channelMask -
channelGainIndex
public int[] channelGainIndex -
channelFilterIndex
public int[] channelFilterIndex
-
-
Constructor Details
-
SmruDaqParameters
- Parameters:
systemType-
-
-
Method Details
-
getNumUsedBoards
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
public int getChannelMask(int board) Get the channel mask for a single board.- Parameters:
board- board number- Returns:
- channel mask
-
getGainIndex
public int getGainIndex(int board, int channel) Get the gain index for a specified board and channel- Parameters:
board- board numberchannel- channel number- Returns:
- gain index to pass to device
-
getFilterIndex
public int getFilterIndex(int board, int channel) Get the filter index for a specified board and channel- Parameters:
board- board numberchannel- channel number- Returns:
- filter index to pass to device
-
getGains
public static double[] getGains() -
getSampleRate
public float getSampleRate() -
getChannelGain
public double getChannelGain(int channel) -
getChannelFilter
public double getChannelFilter(int channel) -
clone
- Overrides:
clonein classSoundCardParameters
-
getSampleRateIndex
public int getSampleRateIndex() -
setSampleRateIndex
public void setSampleRateIndex(int rateIndex) -
getGainIndex
public int getGainIndex(int channel) -
setGainIndex
public void setGainIndex(int channel, int gainIndex) -
getFilterIndex
public int getFilterIndex(int channel) -
setFilterIndex
public void setFilterIndex(int channel, int filterIndex) -
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Overrides:
getParameterSetin classSoundCardParameters- Returns:
- description of the parameters in a class.
-