public interface AcquisitionResult
Modifier and Type | Method and Description |
---|---|
long |
getAbsoluteLength()
Returns the absolute length of the captured data, or, in other words, the
largest available timestamp plus some padding to make the last sample
visible.
|
int |
getChannels()
Returns the number of channels in the sample data.
|
int |
getEnabledChannels()
Returns a bitmask of enabled channels in the sample data.
|
int |
getSampleIndex(long aTimeValue)
Returns the sample index from the given absolute time value.
|
int |
getSampleRate()
Returns the sample rate in which this data was captured.
|
long[] |
getTimestamps()
Returns the time stamps of the individual samples.
|
long |
getTriggerPosition()
Returns the trigger position, as (absolute) time-value.
|
int[] |
getValues()
Returns the actual sample values.
|
boolean |
hasTimingData()
Returns wether or not the object contains timing data
|
boolean |
hasTriggerData()
Returns whether or not the object contains trigger data
|
long getAbsoluteLength()
int getChannels()
int getEnabledChannels()
int getSampleIndex(long aTimeValue)
aTimeValue
- the (absolute) time value to convert to a sample index.int getSampleRate()
long[] getTimestamps()
The time values returned should represent an ever increasing time line. So, timestamp[n-1] < timestamp[n] < timestamp[n+1] for all elements of the returned array.
NOTE: the length of this array must be equal to the length of the
array returned by getValues()
!
getValues()
long getTriggerPosition()
int[] getValues()
NOTE: the length of this array must be equal to the length of the
array returned by getTimestamps()
!
getTimestamps()
boolean hasTimingData()
true
when timing data is availableboolean hasTriggerData()
true
when trigger data is availableCopyright © 2015 L'Xtreme IT consultancy. All rights reserved.