Vaisala Hydromet Data Collection Platform User Manual

Page 174

Advertising
background image

User’s Guide ______________________________________________________________________

172 __________________________________________________________________M210785EN-E

Scaling is performed in the following manner:

The Compression Offset value is added to the measured value. This
will reduce the number of characters in the measured value. The length
of the measured value is further reduced by omitting the decimal point
by multiplying the value with the Compression Multiplier value.
Finally, the length of the report can be reduced by omitting spacing
between the report items. Perform this by entering the correct value in
the Fixed length text box.

For example, to convert the 5-character temperature value -18.7 into the
2-character BASE32 value 9P, proceed as follows:

1.

Apply the offset: -18.7 + 50 = 31.3 (-50 is minimum measured
value)

2.

Scale the value: 31.3 × 10 = 313 (desired resolution 0.1 degrees)

3.

Convert to BASE32. The result will be the compressed value 9P.

NOTE

The compression of the report will fail if the value is still negative after
the Compression Offset value has been added.

NOTE

The Fixed length default value applies only to the BASE32
compression. When the BCD compression is used, you must manually
adjust this parameter to match the maximum number of characters in
the numeric printout of the value. For example, if the maximum
measurement value after scaling is 99999, the Fixed length parameter
has to be set to 5.

Advertising