3 message polling, 4 pws100 menu system – Campbell Scientific PWS100 Present Weather Sensor User Manual

Page 40

Advertising
background image

Section 7. Operation

The data storage function will not store data while the terminal
or menu is active. This means data will be missing during these
periods. To reduce data loss reduce the amount of time that the
terminal or menu are active.

NOTE

7.3.3 Message Polling

While the menu system or terminal mode are closed, it is possible to poll data
from a suitable set sensor (see Sections 7.4.1 and 7.6.1 for information on how
to set up messages for polling). In order to poll a message the MSEND
command must be used with the correct Pws_Id, stats_period and message_ID.
Statistics are calculated over the stats_period in seconds which completely
overrides any period defined within the message. The message can be either a
fixed or user defined message from 0 to 19. The command for message polling
is as follows:

MSEND Pws_Id stats_period message_ID

e.g., MSEND 0 3600 10

In the example given above, the PWS100 will respond with fixed message_ID
10 statistics calculated or sampled over the stats_period of 3600 seconds for
the PWS100 with a Pws_Id of 0. If the stats_period is zero then the statistics
are calculated from the last collection interval. So the polling interval controls
the interval at which statistics are calculated over, up to a maximum of 2 hours.

Setting stat_period to less than 10 seconds will result in repeated data due to
the ten seconds measurement cycle (see Section 8.5).

7.4 PWS100 Menu System

From the command line the use of the OPEN command, as detailed in Section
7.3.2, will initiate the menu system which can be used to set up the operation of
the PWS100.

If there is no activity for 10 minutes with the menu system open
it will automatically close.

NOTE

The menu system map is shown in Appendix D. The menu is controlled by
means of numeric selections followed by the enter key. Pressing enter by itself
will return the user to the previous menu. A selection followed by the enter key
will lead to the display of a specific menu or allow a specific parameter value
to be input. Entering an incorrect selection or parameter value will return the
user to the same menu. Pressing the delete key will delete the current entry.
Pressing the escape key will clear the current entry and return to the previous
menu.

Entering the command line (terminal mode) from the menu
system will lead to a loss of all changes made during navigation
of the menu system.

NOTE

7-4

Advertising