4 output processing and nan – Campbell Scientific CR1000 Measurement and Control System User Manual
Page 430

Section 10. Troubleshooting
430
0 / 0
-2,147,483,648
-7999
-
2.147484E09
0
2147483648
-2147483648
TRUE
TRUE
-2,147,483,648
As Boolean
1 / 0
TRUE
-1
-1
65535
4294967295
-1
TRUE
TRUE
-1
0 / 0
TRUE
-1
-1
65535
4294967295
-1
TRUE
TRUE
-1
As
STRING
1 / 0
+INF
INF
INF
65535
2147483647
+INF
TRUE
TRUE
2147483647
0 / 0
NAN
NAN
NAN
65535
2147483648
NAN
TRUE
TRUE
-2147483648
1
except Average() outputs NAN
2
except Average() outputs 0
10.3.4.4 Output Processing and NAN
When a measurement or process results in NAN, any output process with
DisableVar
= FALSE that includes an NAN measurement, e.g.,
Average(1,TC_TempC,FP2,False)
will result in NAN being stored as final-storage data for that interval.
However, if
DisableVar
is set to TRUE each time a measurement results in NAN,
only non-NAN measurements will be included in the output process. CRBasic
example Using NAN to Filter Data
(p. 431)
demonstrates the use of conditional
statements to set
DisableVar
to TRUE as needed to filter NAN from output
processes.
Note If all measurements result in NAN, NAN will be stored as final-storage data
regardless of the use of
DisableVar
.