Page 20 of 52
Make sure to issue this command after you set the Latitude or Longitude, and after you
change any of the Setup bits in the EEPROM (address 43 = 0x2B) especially the Rain
collector type,
Example (set a 10 minute archive interval):
>"
NEWSETUP
"
<LF>
<
<ACK>
"LAMPS <Lamp state: ’0’ (off) or ‘1’ (on)>"
It turns the lamps on the Vantage console on or off.
Example (turn the lamps off):
>"
LAMPS 0
"
<LF>
<<LF><CR>"OK"<LF><CR>
IX.
Data Formats
1.
LOOP data format
There are two different loop data formats. Rev "A" firmware, dated before April 24, 2002 uses
the old format. Rev "B" firmware, dated on or after April 24, 2002 uses the new format. The only
difference between these formats is the inclusion of the current 3 hour barometer trend in place
of the fixed value "P" in the fourth byte of the data packet.
Only values read directly from sensors are included in the LOOP packet. Desired values (i.e.,
Dew Point or Wind Chill) must be calculated on the PC. The LOOP packet also contains
information on the current status of all Vantage Alarm conditions, battery status, weather
forecasts, and sunrise and sunset times.
Contents of the LOOP packet.
Field Offset
Size Explanation
"L" 0
1
"O" 1
1
"O" 2
1
Spells out "LOO" for Rev B packets and "LOOP" for Rev A
packets. Identifies a LOOP packet
"P" (Rev A)
Bar Trend (Rev B)
3
1
Signed byte that indicates the current 3-hour barometer trend. It
is one of these values:
-60 = Falling Rapidly = 196 (as an unsigned byte)
-20 = Falling Slowly = 236 (as an unsigned byte)
0 = Steady
20 = Rising Slowly
60 = Rising Rapidly
80 = ASCII "P" = Rev A firmware, no trend info is available
Any other value means that the Vantage does not have the 3
hours of bar data needed to determine the bar trend.
Packet Type
4
1
Has the value zero. In the future we may define new LOOP
packet formats and assign a different value to this field.