27#ifndef NIDAS_DYNLD_ISFF_CSI_IRGA_SONIC_H
28#define NIDAS_DYNLD_ISFF_CSI_IRGA_SONIC_H
32#include <nidas/Config.h>
38namespace nidas {
namespace dynld {
namespace isff {
58 bool process(
const Sample* samp,std::list<const Sample*>& results);
63 static unsigned short signature(
const unsigned char* buf,
const unsigned char* eob);
Interface to a data sample.
Definition Sample.h:190
A VariableIndex associates a Variable pointer with it's index into it's SampleTag.
Definition VariableIndex.h:52
A class for making sense of data from a Campbell Scientific Inc CSAT3 3D sonic anemometer.
Definition CSAT3_Sonic.h:46
A class for making sense of data from a Campbell Scientific IRGASON integrated Gas Analyzer and 3D so...
Definition CSI_IRGA_Sonic.h:45
bool _binary
Campbell has provided custom firmware on the EC100 logger box so that it can generate binary values (...
Definition CSI_IRGA_Sonic.h:106
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:162
void checkSampleTags()
Check the SampleTags that are defined for this sensor.
Definition CSI_IRGA_Sonic.cc:100
int _timeDelay
Filter time delay, depends on the selected bandwidth.
Definition CSI_IRGA_Sonic.h:88
~CSI_IRGA_Sonic()
Definition CSI_IRGA_Sonic.cc:60
unsigned int _numOut
Requested number of output variables.
Definition CSI_IRGA_Sonic.h:74
const nidas::util::EndianConverter * _converter
Converter for binary values.
Definition CSI_IRGA_Sonic.h:116
VariableIndex _Pirga
Definition CSI_IRGA_Sonic.h:98
VariableIndex _Tirga
Definition CSI_IRGA_Sonic.h:99
unsigned int _badCRCs
Counter of the number of records with incorrect CRC signatures.
Definition CSI_IRGA_Sonic.h:93
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:190
CSI_IRGA_Sonic(const CSI_IRGA_Sonic &)
No copying.
CSI_IRGA_Sonic & operator=(const CSI_IRGA_Sonic &)
No assignment.
nidas::core::TimetagAdjuster * _ttadjust
Definition CSI_IRGA_Sonic.h:118
void parseParameters()
Parse the list of nidas::core::Parameter that are associated with this sensor.
Definition CSI_IRGA_Sonic.cc:73
bool reportBadCRC()
Definition CSI_IRGA_Sonic.cc:182
VariableIndex _h2o
Definition CSI_IRGA_Sonic.h:96
nidas::core::VariableIndex VariableIndex
Definition CSI_IRGA_Sonic.h:67
VariableIndex _co2
Definition CSI_IRGA_Sonic.h:97
void open(int flags)
Open the serial port connected to this sonic.
Definition CSI_IRGA_Sonic.cc:68
CSI_IRGA_Sonic()
Definition CSI_IRGA_Sonic.cc:43
VariableIndex _irgaDiag
Definition CSI_IRGA_Sonic.h:95
nidas::util::EndianConverter::endianness _endian
Endian-ness of binary values.
Definition CSI_IRGA_Sonic.h:111
Virtual base class declaring methods for converting numeric values between little-endian and big-endi...
Definition EndianConverter.h:304
endianness
Definition EndianConverter.h:309
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31