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
Modifier and TypeFieldDescriptionint[]
int[]
int
static final double[]
static final double[]
static final int
static final int
static final int
int
static final int[]
static final long
static final double
Fields inherited from class Acquisition.SoundCardParameters
deviceNumber, systemType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
double
getChannelFilter
(int channel) double
getChannelGain
(int channel) int
getChannelMask
(int board) Get the channel mask for a single board.int
getFilterIndex
(int channel) int
getFilterIndex
(int board, int channel) Get the filter index for a specified board and channelint
getGainIndex
(int channel) int
getGainIndex
(int board, int channel) Get the gain index for a specified board and channelstatic double[]
getGains()
int
getNumUsedBoards
(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 classfloat
int
void
setFilterIndex
(int channel, int filterIndex) void
setGainIndex
(int channel, int gainIndex) void
setSampleRateIndex
(int rateIndex)
-
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:
clone
in 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:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Overrides:
getParameterSet
in classSoundCardParameters
- Returns:
- description of the parameters in a class.
-