public interface WaveData
DataProvider| Modifier and Type | Method and Description |
|---|---|
void |
addWaveDataListener(WaveDataListener listener)
Register a new WaveData listener.
|
XYData |
getData(double xmin,
double xmax,
int numPoints)
Get X and Y data for unidimensional signals within a given time interval The
returned container object is an instance of XYData bringing information about
X (time) and Y axis
|
XYData |
getData(int numPoints)
Get X and Y data for unidimensional signals The returned container object is
an instance of XYData bringing information about X (time) and Y axis
|
XYData |
getData(long xmin,
long xmax,
int numPoints)
Get X and Y data for unidimensional signals within a given time interval
expressed in absolute times The returned container object is an instance of
XYData bringing information about X (time) and Y axis
|
void |
getDataAsync(double lowerBound,
double upperBound,
int numPoints)
Start asynchronous data readout.
|
int |
getNumDimension()
Returns the number of dimensions of the corresponding signal.
|
String |
GetTitle()
Get the title associated with that signal.
|
double[] |
getX2D()
Get X data for bidimensional signals.
|
long[] |
getX2DLong()
Get X data for bidimensional signals in absolute time units.
|
String |
GetXLabel()
Get the associated label for X axis.
|
float[] |
getY2D()
Get Y data for bidimensional signals.
|
String |
GetYLabel()
Get the associated label for Y axis.
|
float[] |
getZ()
Get Z data for bidimensional signals.
|
String |
GetZLabel()
Get the associated label for Z axis (for bi-dimensional signals only).
|
boolean |
isXLong()
Check if absolute or relative times are used.
|
void |
removeWaveDataListener(WaveDataListener listener)
Unregister a WaveData listener.
|
boolean |
supportsStreaming()
Check whether this data supports streaming
|
void addWaveDataListener(WaveDataListener listener)
listener: - The passed WaveDataListener instance.WaveDataListenerXYData getData(double xmin, double xmax, int numPoints) throws IOException
xmin: - Lower bound of X region of interestxmax: - Upper bound of X region of interestnumPoints: - The suggested number of samples. The returned number of
samples actually returned in XYData instance can be
different, it is up to the DataProvider implementation
decide the resampling policy. The passed number is a hint
from jScopeIOExceptionXYDataXYData getData(int numPoints) throws IOException
numPoints: - The suggested number of samples. The returned number of
samples actually returned in XYData instance can be
different, it is up to the DataProvider implementation
decide the resampling policy. The passed number is a hint
from jScopeIOExceptionXYDataXYData getData(long xmin, long xmax, int numPoints) throws IOException
xmin: - Lower bound of X region of interestxmax: - Upper bound of X region of interestnumPoints: - The suggested number of samples. The returned number of
samples actually returned in XYData instance can be
different, it is up to the DataProvider implementation
decide the resampling policy. The passed number is a hint
from jScopeIOExceptionXYDatavoid getDataAsync(double lowerBound,
double upperBound,
int numPoints)
lowerBound: - Lower bound of X region of interestupperBound: - Upper bound of X region of interestnumPoints: - Estimated number of requested pointint getNumDimension()
throws IOException
IOExceptionString GetTitle() throws IOException
IOExceptiondouble[] getX2D()
long[] getX2DLong()
String GetXLabel() throws IOException
IOExceptionfloat[] getY2D()
String GetYLabel() throws IOException
IOExceptionfloat[] getZ()
String GetZLabel() throws IOException
IOExceptionboolean isXLong()
void removeWaveDataListener(WaveDataListener listener)
boolean supportsStreaming()
Copyright © 2021. All rights reserved.