2 retrieving historical data – Campbell Scientific PWS100 Present Weather Sensor User Manual

Page 74

Advertising
background image

Section 7. Operation

To set manual polling mode the MSET command should be of the form:

MSET Message_ID 0 0 Message_Fields

e.g., MSET 0 0 0 105 106

A minimum message interval of 10 seconds can be set for all
types of message field output. If a time is set less than 10
seconds some output parameters may not function correctly.

NOTE

7.5.2 Retrieving Historical Data

Historical data can be output by using the HDATA period command.
Parameter period is the number of seconds to output going back in history. The
most recent message will be output first going back period seconds into
history. The command is:

HDATA period

If period is larger than the number of seconds stored, then only the messages
stored will be output. If no value is provided for period then all of the stored
historical data will be output. Note that this command outputs particle by
particle data (size, velocity, volume).

This function is provided for initial setup and diagnosis. It is not intended for
long term use as it has several limitations, which include the amount of data
that can be stored is limited by the system memory (see specifications) and no
data is stored while the system is in the terminal or system menu.

The HDATA command outputs this format:

Timestamp (seconds), datatype, value a, value b, value c

The datatype can range from 0 to 1015 currently. Low value numbers, ranging
from 0 to 99, indicate it is particle data with the coding:

0

Drizzle

1

Freezing drizzle

2

Rain

3

Freezing rain

4

Snow grain

5

Snowflake

6

Ice pellets

7 Hail
8

Graupel

90

Error

99

Unknown particle type

For the above value a, value b, and value c relate to size (diameter in mm),
velocity (ms

-1

) and volume (mm

3

).

7-38

Advertising