NetOceanDirect
3.1.1
OceanDirect .NET API
|
#include <SpectrumWithMetadata.h>
Public Member Functions | |
SpectrumWithMetadata (oceandirect::SpectrumWithMetadata &nativeData) | |
Public Attributes | |
property array< double > | spectrum |
long long | timeStampData |
Wrapper class to contain raw spectrum with timestamp.
If the device supported data buffering (ex: FX) then the device may return 0-15 spectra depending on whether buffering is enabled or not. If buffering is disabled then the command will block until it has all the spectra it needs. If buffering is enabled then the command will not block and return whathever spectra is in the buffer. That could be 0 if nothing is in there.
For device that don't support data buffering (ex: Ocean STS), it will only return 1 spectra.
property array<double> NetOceanDirect::SpectrumWithMetadata::spectrum |