public interface SignalEntry extends MeasurementEntry
Modifier and Type | Method and Description |
---|---|
void |
append(java.lang.Object data)
Appends rows of data at the end of this SignalEntry.
|
java.lang.Object |
read(int length)
Reads data from a data file beginning at the current position of the file
pointer.
|
java.lang.Object |
read(long pos,
int length)
Reads rows of data from a data file beginning at a given position.
|
double[][] |
readScaled(int length)
Reads data from a data file beginning at the current position of the file
pointer.
|
double[][] |
readScaled(long pos,
int length)
Reads data from a data file beginning at a given position.
|
getAdcResolution, getAdcZero, getBaseline, getChannelCount, getChannelNames, getDataType, getLsbValue, getUnit, setAdcProperties, setAdcResolution, setAdcZero, setBaseline, setChannelNames, setDataType, setLsbValue, setUnit
getCount, getSampleRate, resetPos, setSampleRate
addCustomAttribute, clone, close, createBinFileFormat, createCsvFileFormat, createCustomFileFormat, createXmlFileFormat, getComment, getContentClass, getCustomAttributes, getFileFormat, getId, getName, getSource, getSourceId, getUnisens, rename, setComment, setContentClass, setFileFormat, setName, setSource, setSourceId, setUnisens
java.lang.Object read(long pos, int length) throws java.io.IOException
pos
- the position to start fromlength
- the number of rows to readjava.io.IOException
java.lang.Object read(int length) throws java.io.IOException
length
- the number of rows to readjava.io.IOException
double[][] readScaled(long pos, int length) throws java.io.IOException
pos
- the position to start fromlength
- the number of rows to readjava.io.IOException
double[][] readScaled(int length) throws java.io.IOException
length
- the number of rows to readjava.io.IOException
void append(java.lang.Object data) throws java.io.IOException, java.lang.IllegalArgumentException
data
- the data to add as object [length][channelCount]java.io.IOException
java.lang.IllegalArgumentException