Hi
i found i realy strange problem. in my program (i'm using a CR1000) i have a 1s table, were i get the samples from 1s scans and a 10m (max, min, avg and stddev)table.
In the 10min table im having "NAN" in the Avg and StdDev fields even without any fail in the 1s table
The sensor in witch im havin this problems is a Thies 3D wind sensor, comunicating though rs232. I dont think that this is a comunication problem because i have all the 1s data.
Could it be a memory problem in the datalogger? or a buffer problem? im getting a lot of parameters by the second (WdVel-3 axes, WdDir, StdDev(given by the sensor), WdTemp (all of this from 2 wind sensors), temp and humidity (2 sensors), 4 analog anemometers, 3 analog WD sensors, 1 barometric pressure sensor, and i still have 2 other tables (1s and 10m) from another remote logger (through a MD485 link). Both logger have a CF100 module.
Can u help me
If any single value used in a calculation is NAN, the result will be NAN. With ultrasonic sensors, it is common to have an occasionally NAN value. You need to handle them, or your averages will all be NAN.
Refer to the example program we have in the manual for the Windsonic. It is a good example of rejecting NANs from averages and keeping track of how many measurements were dropped.