27 #ifndef NIDAS_DYNLD_ISFF_CSI_IRGA_SONIC_H
28 #define NIDAS_DYNLD_ISFF_CSI_IRGA_SONIC_H
32 #include <nidas/Config.h>
36 class TimetagAdjuster;
38 namespace nidas {
namespace dynld {
namespace isff {
59 bool process(
const Sample* samp,std::list<const Sample*>& results)
65 static unsigned short signature(
const unsigned char* buf,
const unsigned char* eob);
const nidas::util::EndianConverter * _converter
Converter for binary values.
Definition: CSI_IRGA_Sonic.h:118
VariableIndex _irgaDiag
Definition: CSI_IRGA_Sonic.h:97
endianness
Definition: EndianConverter.h:309
VariableIndex _Tirga
Definition: CSI_IRGA_Sonic.h:101
int _timeDelay
Filter time delay, depends on the selected bandwidth.
Definition: CSI_IRGA_Sonic.h:90
A class for making sense of data from a Campbell Scientific IRGASON integrated Gas Analyzer and 3D so...
Definition: CSI_IRGA_Sonic.h:44
nidas::core::TimetagAdjuster * _ttadjust
Definition: CSI_IRGA_Sonic.h:120
A class for making sense of data from a Campbell Scientific Inc CSAT3 3D sonic anemometer.
Definition: CSAT3_Sonic.h:45
VariableIndex _Pirga
Definition: CSI_IRGA_Sonic.h:100
void open(int flags)
Open the serial port connected to this sonic.
Definition: CSI_IRGA_Sonic.cc:68
Virtual base class declaring methods for converting numeric values between little-endian and big-endi...
Definition: EndianConverter.h:304
void checkSampleTags()
Check the SampleTags that are defined for this sensor.
Definition: CSI_IRGA_Sonic.cc:101
bool reportBadCRC()
Definition: CSI_IRGA_Sonic.cc:183
void parseParameters()
Parse the list of nidas::core::Parameter that are associated with this sensor.
Definition: CSI_IRGA_Sonic.cc:74
bool process(const Sample *samp, std::list< const Sample * > &results)
Process a raw sample, which in this case means do a sscanf on the character string contents...
Definition: CSI_IRGA_Sonic.cc:191
Interface to a data sample.
Definition: Sample.h:189
Definition: IOException.h:37
bool _binary
Campbell has provided custom firmware on the EC100 logger box so that it can generate binary values (...
Definition: CSI_IRGA_Sonic.h:108
A VariableIndex associates a Variable pointer with it's index into it's SampleTag.
Definition: VariableIndex.h:51
nidas::util::EndianConverter::endianness _endian
Endian-ness of binary values.
Definition: CSI_IRGA_Sonic.h:113
unsigned int _numOut
Requested number of output variables.
Definition: CSI_IRGA_Sonic.h:76
static unsigned short signature(const unsigned char *buf, const unsigned char *eob)
Calculate the CRC signature of a data record.
Definition: CSI_IRGA_Sonic.cc:163
VariableIndex _co2
Definition: CSI_IRGA_Sonic.h:99
unsigned int _badCRCs
Counter of the number of records with incorrect CRC signatures.
Definition: CSI_IRGA_Sonic.h:95
VariableIndex _h2o
Definition: CSI_IRGA_Sonic.h:98
~CSI_IRGA_Sonic()
Definition: CSI_IRGA_Sonic.cc:60
CSI_IRGA_Sonic & operator=(const CSI_IRGA_Sonic &)
No assignment.
nidas::core::VariableIndex VariableIndex
Definition: CSI_IRGA_Sonic.h:69
Definition: InvalidParameterException.h:35
CSI_IRGA_Sonic()
Definition: CSI_IRGA_Sonic.cc:43