
Section 10. Troubleshooting
509
Variable and Final-Storage Data Types with NAN and ±INF
Final-Storage Data Type & Associated Stored Values
Variable
Type
Test
Expressio
n
Public /
Dim
Variables
FP2
IEEE4
UINT2
UNIT4
STRING
BOOL
BOOL8
LONG
As
FLOAT
1 / 0
INF
INF1
INF1
655352
4294967295
+INF
TRUE
TRUE
2,147,483,647
0 / 0
NAN
NAN
NAN
0
2147483648
NAN
TRUE
TRUE
-2,147,483,648
As
LONG
1 / 0
2,147,483,64
7
7999
2.147484E09
65535
2147483647
2147483647
TRUE
TRUE
2,147,483,647
0 / 0
-
2,147,483,64
8
-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
03
2147483648
NAN
TRUE
TRUE
-2147483648
1
Except Average() outputs NAN
2
Except Average() outputs 0
3
65535 in operating systems prior to v. 28
10.5.3.4 Output Processing and NAN
When a measurement or process results in NAN, any output process with
DisableVar
=
FALSE that includes an NAN measurement. For example,
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. 509)
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.
Содержание CR3000 Micrologger
Страница 2: ......
Страница 3: ......
Страница 4: ......
Страница 6: ......
Страница 30: ......
Страница 34: ......
Страница 36: ......
Страница 96: ......
Страница 200: ...Section 7 Installation 200 FIGURE 42 Running Average Frequency Response FIGURE 43 Running Average Signal Attenuation ...
Страница 485: ...Section 8 Operation 485 8 11 2 Data Display FIGURE 110 Keyboard and Display Displaying Data ...
Страница 487: ...Section 8 Operation 487 FIGURE 112 CR1000KD Real Time Custom ...
Страница 488: ...Section 8 Operation 488 8 11 2 3 Final Storage Data FIGURE 113 Keyboard and Display Final Storage Data ...
Страница 489: ...Section 8 Operation 489 8 11 3 Run Stop Program FIGURE 114 Keyboard and Display Run Stop Program ...
Страница 491: ...Section 8 Operation 491 FIGURE 116 Keyboard and Display File Edit ...
Страница 495: ...Section 8 Operation 495 Low power standby whenever possible Low power bus sets bus and modules to low power ...
Страница 496: ......
Страница 502: ......
Страница 564: ...Section 11 Glossary 564 FIGURE 126 Relationships of Accuracy Precision and Resolution ...
Страница 566: ......
Страница 594: ......
Страница 598: ......
Страница 600: ......
Страница 602: ......
Страница 624: ......
Страница 642: ......
Страница 643: ......