Chapter 8 _____________________________________________ Sensor and data message settings
VAISALA________________________________________________________________________ 67
Examples (ASCII and NMEA 0183, device address 0):
You need 20 seconds averaging time for average wind speed and
average direction data to be available both in wind data message and
composite message in every 60 seconds. Wind speed in knots and
wind direction corr10
°
.
Changing the measurement interval to 60 seconds:
0WU,I=60<cr><lf>
0WU,I=60<cr><lf>
NOTE
Several parameters can be changed with the same command as long
as the command length does not exceed 32 characters, see below.
Changing the averaging time to 20 seconds, the wind speed units to
knots, and making the direction correction:
0WU,A=20,U=N,D=10
<cr><lf>
0WU,A=20,U=N,D=10
<cr><lf>
Changing the wind parameter selection:
0WU,R=0100100001001000
<cr><lf>
0WU,R=01001000&00100100
<cr><lf>
NOTE
Character '&' is not allowed in the command !
The response after the change:
0R1
<cr><lf>
0R1,Dm=268D,Sm=1.8N
<cr><lf>
Example (SDI-12, device address 0):
Changing the measurement interval to 10 seconds:
0XWU,I=10!
0<cr><lf>
In SDI-12 mode a separate enquiry (0XWU!) must be given to check
the data content.