Polling data using a query – Vaisala WAC155 User Manual

Page 35

Advertising
background image

Chapter 4 ________________________________________________________________ Operation

VAISALA _______________________________________________________________________ 33

$WIMWV,39,R,1.3,M,A*06

$WIMWV,39,R,0.5,M,A*01

$WIMWV,61,R,1.0,M,A*08

$WIMWV,59,R,1.2,M,A*01

$WIMWV,53,R,1.5,M,A*0c

$WIMWV,46,R,1.2,M,A*0f

$WIMWV,70,R,1.1,M,A*09

Polling Data using a Query

Polling for the MWV messages can be done using the following
command:

$WIP<ID>Q,*<CS><cr><lf>

The data in the response follows the MWV message format, but the
header is slightly different:

$P<ID>MWV,<a.a>,<R>,<s.s>,<U>,<S>*<CS><cr><lf>

After receiving a query that uses its device ID, the transmitter will reply
with an MWV message containing the wind data. However, if you have
not defined any messages of the type

mwvmessage

using the SETMES

command, the transmitter will not respond.

Example polling command for transmitter with device ID "A":

$WIPAQ,*72

where

$WIP=

Fixed text at the start of the query

<ID> =

Transmitter device ID

Q

=

Marks the message as a query

*

=

Asterisk, indicating that the next field is the checksum

<CS>=

Two character checksum for the device ID

where

$P

=

Fixed text at the start of the response

<ID> =

Transmitter device ID

MWV =

Marks the message as a wind speed and angle message

Advertising