public class SmruDaqParameters extends SoundCardParameters implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int[] |
channelFilterIndex |
int[] |
channelGainIndex |
int |
channelMask |
static double[] |
filters |
static double[] |
lineargains |
static int |
MAX_DEVICES |
static int |
MAXSAMPLERATE |
static int |
NCHANNELS |
int |
sampleRateIndex |
static int[] |
sampleRates |
static long |
serialVersionUID |
static double |
VPEAKTOPEAK |
deviceNumber
Modifier and Type | Method and Description |
---|---|
SmruDaqParameters |
clone() |
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 channel
|
int |
getGainIndex(int channel) |
int |
getGainIndex(int board,
int channel)
Get the gain index for a specified board and channel
|
int |
getNumUsedBoards(int installedBoards)
Get the total number of boards that are actually used by the system.
|
float |
getSampleRate() |
int |
getSampleRateIndex() |
void |
setFilterIndex(int channel,
int filterIndex) |
void |
setGainIndex(int channel,
int gainIndex) |
void |
setSampleRateIndex(int rateIndex) |
public static final long serialVersionUID
public static final int NCHANNELS
public static final int MAX_DEVICES
public static final int[] sampleRates
public static final double[] lineargains
public static final double[] filters
public static final int MAXSAMPLERATE
public static final double VPEAKTOPEAK
public int sampleRateIndex
public int channelMask
public int[] channelGainIndex
public int[] channelFilterIndex
public int getNumUsedBoards(int installedBoards)
installedBoards
- number of installed boards.public int getChannelMask(int board)
board
- board numberpublic int getGainIndex(int board, int channel)
board
- board numberchannel
- channel numberpublic int getFilterIndex(int board, int channel)
board
- board numberchannel
- channel numberpublic float getSampleRate()
public double getChannelGain(int channel)
public double getChannelFilter(int channel)
public SmruDaqParameters clone()
clone
in class SoundCardParameters
public int getSampleRateIndex()
public void setSampleRateIndex(int rateIndex)
public int getGainIndex(int channel)
public void setGainIndex(int channel, int gainIndex)
public int getFilterIndex(int channel)
public void setFilterIndex(int channel, int filterIndex)