public class YInputCaptureData extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
_fmt |
protected int |
_nRecs |
protected int |
_nVars |
protected int |
_recOfs |
protected int |
_samplesPerSec |
protected int |
_trigPos |
protected int |
_trigType |
protected double |
_trigUTC |
protected double |
_trigVal |
protected ArrayList<Double> |
_var1samples |
protected int |
_var1size |
protected String |
_var1unit |
protected ArrayList<Double> |
_var2samples |
protected int |
_var2size |
protected String |
_var2unit |
protected ArrayList<Double> |
_var3samples |
protected int |
_var3size |
protected String |
_var3unit |
protected YAPIContext |
_yapi |
Modifier and Type | Method and Description |
---|---|
int |
_decodeSnapBin(byte[] sdata) |
int |
_decodeU16(byte[] sdata,
int ofs) |
double |
_decodeU32(byte[] sdata,
int ofs) |
double |
_decodeVal(byte[] sdata,
int ofs,
int len) |
int |
get_captureType()
Returns the type of automatic conditional capture
that triggered the capture of this data sequence.
|
int |
get_recordCount()
Returns the number of records captured (in a serie).
|
int |
get_samplingRate()
Returns the effective sampling rate of the device.
|
String |
get_serie1Unit()
Returns the unit of measurement for data points in
the first serie.
|
ArrayList<Double> |
get_serie1Values()
Returns the sampled data corresponding to the first serie.
|
String |
get_serie2Unit()
Returns the unit of measurement for data points in
the second serie.
|
ArrayList<Double> |
get_serie2Values()
Returns the sampled data corresponding to the second serie.
|
String |
get_serie3Unit()
Returns the unit of measurement for data points in
the third serie.
|
ArrayList<Double> |
get_serie3Values()
Returns the sampled data corresponding to the third serie.
|
int |
get_serieCount()
Returns the number of series available in the capture.
|
int |
get_triggerPosition()
Returns the index in the series of the sample
corresponding to the exact time when the capture
was triggered.
|
double |
get_triggerRealTimeUTC()
Returns the absolute time when the capture was
triggered, as a Unix timestamp.
|
double |
get_triggerValue()
Returns the threshold value that triggered
this automatic conditional capture, if it was
not an instant captured triggered manually.
|
protected YAPIContext _yapi
protected int _fmt
protected int _var1size
protected int _var2size
protected int _var3size
protected int _nVars
protected int _recOfs
protected int _nRecs
protected int _samplesPerSec
protected int _trigType
protected double _trigVal
protected int _trigPos
protected double _trigUTC
protected String _var1unit
protected String _var2unit
protected String _var3unit
public int _decodeU16(byte[] sdata, int ofs)
public double _decodeU32(byte[] sdata, int ofs)
public double _decodeVal(byte[] sdata, int ofs, int len)
public int _decodeSnapBin(byte[] sdata) throws YAPI_Exception
YAPI_Exception
public int get_serieCount()
public int get_recordCount()
public int get_samplingRate()
public int get_captureType()
public double get_triggerValue()
public int get_triggerPosition()
public double get_triggerRealTimeUTC()
public String get_serie1Unit()
public String get_serie2Unit() throws YAPI_Exception
YAPI_Exception
public String get_serie3Unit() throws YAPI_Exception
YAPI_Exception
public ArrayList<Double> get_serie1Values() throws YAPI_Exception
YAPI_Exception
- on errorpublic ArrayList<Double> get_serie2Values() throws YAPI_Exception
YAPI_Exception
- on errorpublic ArrayList<Double> get_serie3Values() throws YAPI_Exception
YAPI_Exception
- on errorCopyright © 2023. All rights reserved.