Campbell SAT ARGOS Uživatelský manuál Strana 201

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 394
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 200
ZENO
®
-3200 USER MANUAL
Coastal Environmental Systems (206) 682-6048
Page 193
Line Item #7 (the Data Storage Class Code) in each Data Output Record
tells the ZENO
®
-3200 how many bytes of memory to use to store the data
specified in Line Item #4.
The following table displays what values are available for the Data Storage Class Code, the number of
bytes used and the range of values that can be contained in the available memory space.
Numerical Range Line Item #7
Value
Data storage class
Minimum Maximum
1 1-byte signed integer -128 127
2 1-byte unsigned integer 0 255
3 2-byte signed integer -32768 32767
4 2-byte unsigned integer 0 65535
5 4-byte signed integer -2147483648 2147483647
6 4-byte unsigned integer 0 4294967295
7 2-byte compressed float (precise up to 0.1) -3276.8 3276.7
8
4-byte floating point (precise up to 1 10
-7
) -3.40 10
37
+3.40 10
37
9 n-byte string ("n" determined by Line Item #6) N/A (used for string values ONLY)
Data Storage Class Codes #1 through #8 apply to floating-point or long
integer data ONLY.
Data Storage Class Code #9 applies to string data ONLY.
If you are logging string data, ALWAYS use Data Storage Class Code #9. The number of bytes set aside
in logging memory to store the string data is defined by the Field Width value set in Line Item #6.
The following steps will assist you in determining which Data Storage Class Code should be used to log
floating-point or long integer data:
1. If Line Item #5 (Decimal Places) is set to zero, do not use Data Storage Class Codes #7 or #8.
Using whole numbers only, determine (or estimate) the maximum and minimum values of the
data specified in Line Item #4. These values can be represented as D
MAX
and D
MIN
respectively.
Compare D
MAX
and D
MIN
to the maximum and minimum values respectively of Data Storage Class
Codes #1 through #6 listed in the above table.
If D
MIN
is zero or greater, limit your selection to Data Storage Class Codes #2, #4 or #6.
If D
MIN
is less than zero, limit your selection to Data Storage Class Codes #1, #3 or #5.
2. If Line Item #5 (Decimal Places) is non-zero, consider using only Data Storage Class Codes #7 or #8.
If Line Item #5 (Decimal Places) is greater than one, use Data Storage Class Code #8.
If Line Item #5 (Decimal Places) is set to one, determine (or estimate) the maximum and
minimum values of the data specified in Line Item #4. These values can be represented as D
MAX
and D
MIN
respectively. If D
MAX
and D
MIN
are between the limits of Data Storage Class Code #7, use
Data Storage Class Code #7; otherwise, use Data Storage Class Code #8.
Zobrazit stránku 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 393 394

Komentáře k této Příručce

Žádné komentáře