README Contents
WeatherLink for Vantage Pro, Envoy, 
Monitor, Wizard, and Perception stations

Table of Contents

Version History
Known Bugs
To Install the Program
Installing New USB Drivers
Uninstalling WeatherLink
Requirements for HTML help
Note about Internet Upload configuration
Note to 5.2, 5.3, 5.4, 5.5, and 5.5.1 upgrade users
Note to APRS users
Features that require Rev B console firmware
Requirements for VP2 Repeater Support 
Converting 4.x and 5.0/5.1 weather stations
Importing WeatherLink 3.x, 4.x, and 5.0/5.1 data files
Retrieving Data From the Data Logger
Time and Date formats supported
Using the Included Sample Templates
DataSets.dat and DataLists.dat File Structures
Data File Structure
Format of the Expansion_Modules\ModuleList.dat file
Interpreting ISS Reception values

Version 5.9.2 Bugs Fixed
*	APRS data transfers with Vantage Pro2 firmware version 1.90
*	Slow internet transfer issue introduced in WeatherLink version 5.9.1.
* Corrected the “Plot” unit label for "Inside Air Density"

 Version 5.9.1 Features
* Air density unit could be configured as either “kg/cu m” or “lb/cu.ft”.
* Added communication delay for getting HiLow data and the Time for Internet upload.  Also added some miliseconds delay for getting reply from firmware.  This avoids some of the “Data read error”.
* USB spike handling is now done by unloading and re-loading the USB Express driver upon drop-out.  If the bulletin is running after USB connection is dropped for a period of time – more than 20 seconds, software shall display error to inform user the loss of connection.
* “Open Plot” problem introduced in 5.9.0 has been fixed so the “Open Plot” dialog shall show up.

Version 5.9.0 Features
* USB Connection Dropout issues, which might happen to a nominal number of USB WeatherLink users, has been reduced.  Now even if a “drop-out” actually occurs and re-connection detected a second or later, WeatherLink software will be able to put itself back into a ready state.  Drop out and reconnection activities are logged.  
* The Vue model is now supported.  This model is similar to the VantagePro Plus model.  But the only supported optional “accessories” are: Rain Collector, Solar Radiation, and UV.
* WeatherLink software, upon starting, shall create the “Expansion_modules” folder, if it does not yet exist.  That will get rid of the potential problem seen during Expansion module software installation.
* Information dialog boxes are suppressed for better usability.  That include the following 3 scenarios:
a. When the WeatherLink program is minimized.  
b. After the screen saver has been activated.  
c. If any Active Monitor windows, such as Bulletin, Strip charts and Plot, are running.
* The “Readme.wri” has been converted to “Readme.rtf” file, in order to be sure that the file type is recognized by more Operating Systems.
* Web download Password may contain special characters.  Now WeatherLink.com users can safely use those special characters for their password and WeatherLink application software will recognize them.   Here is the complete special character set: “!”, “*”, “\”, “(“, “)”, “;”, “@”, “&”, “=”, “+”, “$”,”,”, “/”, “?”, “%”, “#”, “[“, “]”.
* Added the ability to set the Wind Direction calibration on the VP2 console, Vue console, or Envoy.
* Added the ability to synchronize the units used on the VP2 console, Vue console, or Envoy console with the software settings.
* WebDownload TimeOut has been lengthened from 30 seconds to 60 seconds.
* “Show indoor data only” mode should be available for all Vantage models.  That is, if the “Show indoor data only” checkbox is checked in the Station Config screen, all “Accessories” sensors information shall be invisible.  Two pieces of “Indoor data” -- EMC and Air Density – have been added to all Vantage Models.
* Upon entering the “Set Transceiver” screen, the software will check for model mismatch between hardware and software configuration.  The user will be prompted to change the console model in the “Station Config” screen, if there is a mismatch.

Version 5.9.0 Bugs Fixed
* Right Click on Bulletin now leads to the Summary screen.
* The “Station renaming” problem has been fixed.  Now stations stored outside the WeatherLink directory can also be renamed
* Fixed the issue so that WeatherLink, when using a dial-up modem connection, will not dial the modem upon quitting the program.
* Sunshine/Sunset now will not show time with hours and “60 minutes”.  “60 minutes” shall be rounded to the next hour.
* For Wind Run, the unit is now denotedas “n mi” (nautical miles) instead of “knots” – this can be seen on the Plot and on the Web Graph.

Version 5.8.3 Features
* Added the ability to set the Wind Direction calibration on the VP2 console or Envoy.
* Added the ability to synchronize the units used on the VP or Envoy console with the software settings.
* Save weather data received from a station when a download is interrupted. The next download attempt does not have to start over from the beginning.

Version 5.8.3 Bugs Fixed
* Fixed the "Unable to copy log file" pop-up error when logging messages.
* Fixed the issue where WeatherLink, when using a dial-up modem connection, dials the modem upon quitting the program.
* Fixed bad error message "Error (-1) on COM0" when testing Comm port with no station attached.

Verson 5.8.2 Feature
* Updated Silicon Lab direct USB driver and VCP driver to version 5.30 for both Windows XP and Vista.

Version 5.8.1 Bugs Fixed
* Updated USB driver DLL files, CP210xManufacturing.dll and SiUSBXp.dll
* Fixed problem with using direct USB driver with Vista.
* Fixed CRC error when using direct USB communication.

Version 5.8.0 Features
* Support has been added for the new WeatherLinkIP data logger (# 6555). 
* The Communications Port now supports both a direct USB connection  and multiple connection methods for WeatherLinkIP.
* The Station Walkthrough has been modified to accommodate the addition of a web station.

Version 5.8.0 Bugs Fixed
* WeatherLink will crash if it cannot access database files over a network.

Version 5.7.1 Features
* Updated new daylight savings dates for North America for years after 2006.
* Calculated hourly rain and last 24-hour rain for APRS.
* Changed APRS default server to "cwop.aprs.net".
* Changed Console Diagnostic screen to display console or Envoy firmware version and/or date.

Version 5.7.1 Bugs Fixed
* Fixed problem with yearly rain fall not showing up correctly on the "Set Yearly Rain" dialog box when the unit was "mm" instead of "inch".

Version 5.7 Features
* APRS Feature changes - Option of APRS vs. NOAA report has been removed.   The standard is NOAA.   WeatherLink software now sends 2 minute average wind speed and 10 minute gust into the APRS string for NOAA requirement.   For Vantage Pro console, altimeter setting is reported instead of barometer in the APRS string.   WeatherLink now supports rotating APRS server.   The default APRS server is "rotatewx.aprs2.net"
* Bright Sunshine Hours Report has been added to the reports menu
* Number of COM ports have been increased to 18 ports

Version 5.7 Beta Bugs Fixed
* WeatherLink will no longer lock up if database files are readonly.
* Bulletin bar no longer shows -32.767 if bar value is missing
* Sunrise/Sunset calculation for Monitor/Wizard does not always default to Pacific Time Zone settings
* WeatherLink now allows Palm .pdb and capitalized .PDB files to be imported into the WeatherLink software
* Saving the plot templates now works correctly


Version 5.6 Features
* Support for configuring VP2 repeaters.
* Display repeater battery status.
* Changed layout of the Alarm & Battery Status window
* Ability to separately clear Day, Month, or Year High and Low data in the Clear dialog. Still does not allow individual sensor high/low values to be cleared.
* If the Bulletin, Summary, etc. window is open when an APRS upload is scheduled, then additional wind parameters are included in the APRS data packet. The new data is user selectable between a 1 minute average speed with a 5 minute high speed, or a 2 minute average speed with a 10 minute high speed.
* A table of wind speed data is displayed in the Summary window with Average and High wind speeds over the last 1, 2, 5, and 10 minutes.
* New HTML tags for Weather Forecast, Moon Phase, Average Wind Speeds (1, 2, 5, & 10 min), High Wind Speed (1, 2, 5, & 10 min),
* Inside Dewpoint and Inside Heat Index are calculated and shown in the Browser, Plot, and Summary windows. See the instructions below to enable this feature in existing weather station databases. 
* In the Browser window, "Rain" is renamed "Total Rain" and "ET" is renamed "Total ET" See the instructions below to enable this change in existing weather station databases.
* Following international reporting standards, current wind direction readings of due north in the Bulletin, Summary, HTML templates, and APRS data packets, is reported as 360 instead of 0. 
* FTP uploads attempt to reset the FTP connection on the first failure, and skips uploading the rest of the files on a second (consecutive) failure.
* Modified Wind Chill calculations between 40 F (4.4 C) and 93 F (33.9 C) to give more "intuitive" readings for temperatures above the upper limit of the official wind chill formula (which is 40 F). The result of this modification is lower wind chill values in the above temperature range than using the official formula.
* Slight change in the Bulletin Layout for VP Plus
* 8 update profiles are available in the Internet upload feature for increased flexibility.
* Internet Proxy settings are available in the Internet Configuration dialog. 
* Extend range of Air Density measurement value below 0 C (32 F) and above 49 C (120 F).
* Added the ability to reset the timestamp of the last data uploaded to Weather Underground, if the Weather Underground module is installed. 
* New USB drivers that can be installed automatically when WeatherLink is installed.
* Add a Mediterranean forecast zone between 30 N to 45 N and 10 W to 45 E.
* Updated the default APRS server to arizona.aprs2.net and updated the default password to reflect the WeatherLink version number.
* Fixed some issues with uploading to Weather Underground.

Known Bugs in 5.6:
* Will not print in color on a Tectonics Phaser 850 Printer
* Weather Underground upload is not interruptible.
* Occasionally WeatherLink tries to send the same record twice to Weather Underground (i.e. the last record of one upload is sent as the first record for the next upload). This generates a "Duplicate key" warning message which can be ignored.
* When a Plot or Strip chart starts at midnight, the first midnight record is not displayed. This is because it "belongs" with the previous day's data.
* The progress dialogs for downloads and internet uploads can not be hidden or minimized, even when the WeatherLink program has been minimized.
* If you maintain your weather station on Standard time, but Windows sets your PC to Daylight savings time (or if for some other reason your station time is different from your PC time), the barometer graph in the Bulletin will have a 1-hour gap between the last data record and the current time. For Monitor and Perception stations, this means that a forecast can not be generated until the Bulletin has been running continuously for 3 hours.
* 64-bit drivers are not available for the USB datalogger. Until they can be provided by our supplier, the USB datalogger does not support 64-bit versions of Windows.

Version 5.6 Beta Bugs Fixed
* The Forecast HTML tag works for Monitor stations.
* Fixed problems with reporting negative ISS reception percentages.
* Added Inside Dew and Inside Heat to the Summary Window
* Fixed APRS reporting of the new average and high wind values in non-MPH units.
* Added "Low Console Batteries" warning message to the Bulletin and Summary windows and added the current console battery voltage to the Alarm & Battery Status window.
* Modified the Wind Chill and Heat warning messages in the Bulletin and Summary to reflect the messages that appear on the Vantage console when the particular weather data is selected on the console, instead of the general message if another variable is selected.
* Fixed a problem with viewing log files in different directories. 
* NOAA Year reports blank out rain data for months with no data
* Historical gifs with Week and 2 Week time spans use Windows date format for M/D vs. D/M. 
* Fixed issue with default strip chart templates not being stored in the correct folder.
* Fixed memory leak generating historical upload graphs
* Fixed some anomalous High wind speed issues with internet uploads.

Version 5.5.1 Features
* Includes USB Drivers for Vantage USB support.  (CP2101)
* Auto Detect functionality in communication setup dialog box.  Used to detect which port the Vantage Console is connected.  
* Includes Streaming Data Logger Configuration software
* High/Low Soil moisture values larger than 128 are correctly reported as positive numbers.

Version 5.5 Features
* Supports Software Expansion Modules to provide additional and optional functionality.
* The Expansion Module Programming Interface will be published after the final 5.5 version is released to allow 3rd parties to write their own modules. This will involve creating Windows DLLs. C or C++ is the recommended development system.
* Module Management function added to WeatherLink under the File menu.
* Supports GLOBE soil data report format.
* Both WeatherLink and the Expansion Modules use HTML Help. Windows 95, 98, and NT 4 require Microsoft Internet Explorer 4.0 or later and the latest version of HHUPD.exe from your WeatherLink CD or from www.microsoft.com.  

Version 5.5 Bug Fixes
* Fixed the calculation of derived wind values (such as wind chill) when the wind units are not MPH.
* The toolbar tip window does not create a Taskbar button.
* Fixed the font printing problem with the Strip Chart.
* Fixed plotting of ET. The line graphs do not drop to zero at the end.
* Station communication errors are logged more often. (Where 5.4 only displayed an error message box.)
* Fixed Weather Underground upload problems with older browsers by using an escape sequence for the space characters in the date field of uploaded data.
* Forces the APRS call sign to be in upper case. This was requested by the CWOP/FSL administrator.
* Fixes some errors in Daily Summary calculations that are not visible in 5.4 but are used in 5.5 and the new expansion modules. Please use the "Recalculate Daily Values" command from the Browse menu to fix the values in your current database.
* Fixed SensorLink and Leaf/Soil transmitter selection in the "Set Transceivers" dialog.
* Clears out the values in the Sunburn Risk window when the UV Index drops to zero.
* Add the year to the dates displayed in the Strip Chart.
* NOAA reports are stored in the Station directory instead of the Program directory so that NOAA reports from different stations do not overwrite each other.
* UV Dose alarm is displayed correctly in the Alarm Status window.
* Correctly scrolls the error/download log file display horizontally when there are lines longer than 127 characters.
* Fixed the bug that causes WeatherLink to crash when you try to set the Latitude & Longitude from the Weather Underground Setup dialog.
* Fixed loss of newly downloaded data when Windows shuts down WeatherLink.
* [mm/hr] is shown correctly in the Summary Window.
* Fixed a Vantage Bulletin display problem in the Current Rain section by forcing the lower limit of the vertical axis to zero.
* Fixed a problem with year long Internet upload graphs of high / low / accumulation variables that caused an erroneous zero value at the end of the current month when the year is a leap year.
* Command-line downloading of Monitor, Wizard, and Perception stations work for leap years.
* Fixed invalid GLOBE midnight records (i.e. reporting 24:00 instead of 00:00).
* The "Use 00:00" option for exporting data is fixed.
* Fix Memory leaks in internet upload. 
* Set Transceivers dialog correctly sets Temp Only station on Vantage and Envoy systems.
* Fix Bulletin barometer graph freezing when a month rolls over.
* Fixed a bug in the allowed range of ET entry in the Edit record dialog. (0.254 inches is allowed).
* Valid Barometer values for data entry and calibration are 16.00 to 32.50 inches. Values outside of this range are dashed.
* Fixed Summary display of High/Low values with inappropriate large negative values. Specifically, soil moisture values greater than 127 or missing temperature sensors.



Version 5.4 Features
* Support for Monitor, Wizard, and Perception stations
* Support for sending archived data to Weather Underground
* Option to download archive data when you start the Bulletin/Summary
* Duplicate midnight records on export are fixed.
* GLOBE wind run reported in km instead of m
* Correctly set Temp and Temp/Hum stations for Vantage and Envoy stations
* NOAA mean temps are converted correctly from 4.x and 5.0-5.1 weather stations
* Heat Index range extended to -57 F to 250 F
* Sunrise Report daylight savings settings are separate from Set Time dialog settings. Automatic daylight savings time adjustments in Sunrise Reports for US, European, and Australian daylight savings times dates.
* Improvements to Internet features
* More HTML tags 
* Allow FTP transfer to the home directory 
* Current wind speed gif image will not fill the background blue.
* HTML Tags only work if the corresponding sensors are present on the station.

Changes from WeatherLink 4.04 for Monitor, Wizard, and Perception Weather Stations
* New Bulletin features
* Moon phase Icon
* Sunrise and Sunset times.
* Weather Forecast in the Bulletin/Summary for Monitor and Perception stations - Both as a text message and as a forecast icon.
* Bulletin renames Daily rain on the Monitor/Wizard to CURRENT rain
* New formula for Wind Chill. Software will show different values than the Monitor or Wizard console.
* Heat Index value calculated in software is designed to work for cool and cold conditions. 
* New data parameter Temp-Hum-Wind (THW) Index that combines the features of the Heat Index and Wind Chill. 
* (GLOBE) Data Format Support for exporting records.
* The Internet features of the Toolbox program have been integrated directly into WeatherLink
* New Internet features include
* 3 independent profiles allow different files to be updated at different frequencies.
* Internet APRS weather reporting is supported for the Citizen Weather Observers Program
* Support for sending archived data to Weather Underground

Version 5.3 Features
* Added all extra temps and hums to the Summary Window.
* Alarm Status with PC Buzzer Support & Diagnostic windows.
* Support for extra temp hum calibration.
* Support for extra temp hum alarms.
* Support for Leaf/Soil alarms.
* THSW variable supported in the browse, plots, and strip charts.
* Console messages appear in the Summary window.
* Console Diagnostics Report dialog added. 
* Support for WeatherLink Downloader (Palm OS product)
* Internet Wind Chill Tag bug fixed
* ET plots are smoother
* Low Battery and Reception monitoring
* (GLOBE) Data Format Support for exporting records.
* Skin Type Scale Factor implemented for UV Meds calculations

Version 5.2 Features
* New database format with space for all Vantage sensor data, including Rain Rate, Solar, UV, ET, Extra Temperature, Extra Humidity, Soil Moisture, and Leaf Wetness.
* New formula for the Heat Index designed to work for cool and cold conditions. 
* New data parameter Temp-Hum-Wind (THW) Index that combines the features of the Heat Index and Wind Chill. 
* Bulletin and Summary windows include Solar, UV, and ET data.
* The program automatically opens the station that was open when the program was last run.
* Supports archiving of average temperature values (instead of the temperature at the end of the archive period).
* Dialog to set up transmitter types, and other options found in the Vantage console setup screens.
* Convert 4.x and 5.0/5.1 weather stations or import data files from these database versions.
* Internet APRS weather reporting is supported for the Citizen Weather Observers Program 

Version 5.1
* Internet Features implemented: HTML template files, NOAA reports, Archived Data reports, Current images, and Historical graphs.
* Inside dew point and heat index values are calculated for HTML uploads.
* Sample templates are included.
* Improved davisticker java applet.
* The National Weather Service's new wind chill formula is used for all data downloaded after the software is installed.
* Wind direction is dashed, when downloading, if the high wind speed for the archive is zero.
* The Auto-Download feature works in the case where there is only one station.
* Printing NOAA and Browse reports work on HP printers.
* The CPU usage of the software is not reported as 100%.



TO INSTALL THE PROGRAM

From the Web:
Download and run the file WeatherLink 56b1 Install.exe to begin the installation.
Follow the on screen prompts.

From the CD:
Place the Install Disk in your CD ROM drive
The install program should start automatically. If the install program does not start, 
choose Run from the Start menu, type D:SETUP (or E:SETUP, substituting the correct 
drive letter for D or E), and choose OK to begin the installation.
Follow the on screen prompts.

We recommend installing WeatherLink 5.6 into a different directory from any previous WeatherLink versions.

Installing New USB Drivers

This version of WeatherLink contains version 4.28a of the USB drivers needed for the USB datalogger (product 6510USB). WeatherLink Version 5.7 and 5.6 shipped with version 4.28a and WeatherLink Version 5.5.1 shipped with version 4.20 of the USB drivers. 

If you do not have a USB datalogger, you do not need to install the USB drivers.

This version (4.28a) of the drivers does not support 64-bit versions of Windows! 

If you have NOT previously installed a USB driver for your USB datalogger, make sure you select to install the USB Drivers when you install WeatherLink and then click Yes when the installer asks you if you want to install the drivers.

Uninstalling the Old USB Drivers

If you have previously installed the previous version of the driver and have experienced problems with your USB connection, or if you want to update your driver on general principles, you will need to first un-install the old driver before you install the new driver. or before you install WeatherLink.

To uninstall the old USB driver, first open up the Device Manager. Depending on which version of Windows you have, you can get to the device manager either by right-clicking the "My Computer" desktop icon and selecting Properties (or opening the System icon on the control panel), opening the Hardware tab, and clicking on the Device manager button; or by right-clicking on the "My Computer" desktop icon, selecting Manage, and clicking on the Device Manager icon in the left hand window.

In the Device Manager, open the tree under the heading "Universal Serial Bus controllers". If you do not see an entry named "CP2101 USB Composite Device" or "CP210x USB Composite Device", plug in your WeatherLink USB datalogger to cause it to appear. 

Double click on the device entry ("CP2101 USB Composite Device" or "CP210x USB Composite Device") to bring up the property page. Click on the "Driver" tab to view the driver version and date which should be one of these two values: Old driver 4.20.0.2700 3/11/2004, the new value should be 4.28.0.2700 12/16/2004.

If the driver version and date match the ones for the new driver, you are done. Otherwise, click the Uninstall button to uninstall the driver. Disconnect the USB datalogger so that Windows does not try to find a new driver for it. (If the Hardware Wizard launches, cancel out of it without loading a driver.)

To install the new drivers, run the program PreInstaller.exe that is located in the USB_Drivers_4.28a folder inside the WeatherLink program folder where you installed it. (The default is "C:\WeatherLink\USB_Drivers_4.28x\PreInstaller.exe".) One way to do this is to click the Start menu and select Run. Then click the Browse... button navigate to and select the PreInstaller.exe file and click "Open". Click "OK" to launch the USB driver installer, and click "Install" to install the USB drivers.


Uninstalling WeatherLink.

Versions 5.5 and earlier
WeatherLink versions 5.5 and earlier do not have uninstall programs. If it is installed in a different directory from the current WeatherLink installation, you can uninstall it by deleting all of the files directly in the old WeatherLink install folder and in all of the sub-folders that are NOT weather station data folders. 

If the earlier version of WeatherLink was installed in the same directory as the current version, it can be uninstalled by deleting the following files: the exe file (WeatherLinkXX.exe where XX is the old version number), the online help file (WeatherLinkXX.chm or WeatherLinkXX.hlp, *.GID, and *.cnt) and the obsolete header files NOAA.hdr, Rain.hdr. 

Finally, delete any desktop shortcuts by single clicking and pressing the delete key or right clicking and selecting Delete from the pop-up menu. The Start menu folder and icons can be removed by right clicking them and selecting delete from the popup menu.

Versions 5.5.1 and later
Starting with version 5.5.1 WeatherLink uses the InstallSheild install engine which provides automatic uninstall functions. Starting with version 5.6, an Uninstall shortcut icon is included in the WeatherLink Start menu folder. 

To uninstall version 5.5.1, open up the "Add or Remove Programs" icon from the control panel. This will bring up a list of programs that have been registered with Windows. Select WeatherLink 5.5.1 from the list and press the Change/Remove button, and select Remove from the InstallShield Wizard dialog box.

WARNING! If 5.5.1 is installed in the same directory as 5.6 or later, uninstalling 5.5.1 will delete important file used by 5.6 (progdata.dat (program configuration file); monitor.str, percep.str, wizard.str, vantage.str (default strip-chart templates); monitor.ate, percep.ate, wizard.ate, vantage.ate (default plot templates); the Sample Template directory, and the Streaming Data Module Utility directory. You can restore the factory default versions of these files can be recreated by reinstalling the latest version of WeatherLink after 5.5.1 is uninstalled. If you want to save custom settings in any of these files, you should move, copy, or rename the file before uninstalling 5.5.1 and restore the file after re-installing the latest version of WeatherLink.

To uninstall version 5.6 or later, you can either use the uninstall icon that is placed in the WeatherLink Start menu folder, or use the same "Add or Remove Programs" interface used by version 5.5.1. 

Starting with version 5.6 the program configuration files and default plot and stripchart template files are marked as "Shared" files and are either not deleted at all, or are deleted only if there are no other (5.6 or later) versions of WeatherLink installed. This feature will cause InstallSheild to generate a lot of "do you want to delete a Shared file" messages when you delete the last version of WeatherLink from your computer.


Requirements for HTML help

If you experience problems opening WeatherLink's online help files with Windows 95 or NT, please make sure you have Internet Explorer version 4.0 or later installed. For problems with other versions of Windows, please visit the Microsoft website to install the latest updates to your operating system.

In addition, you will need to install the HTML Help system on your computer. If your Internet Explorer is version 4, run the program HHUpd_IE4.Exe which can be found the WeatherLink installation CD. If your Internet Explorer is version 5 or later, run the program HHUpd_IE5.Exe which is also on the WeatherLink installation CD. 

If you do not have a WeatherLink installation CD, you can download the appropriate file from Microsoft's web site:
Version for IE 4: 
1) Go to the following website and download hhlpinst.EXE
http://www.microsoft.com/downloads/details.aspx?FamilyID=2363a6fc-cb70-464d-85e6-f598c11ccecf&DisplayLang=en
2) Run the program to extract the file HHUpd.Exe into a directory you select
3) Run the program HHUpd.EXE to install the HTML Help components

Version for IE 5:
1) Go to the following website and download HHUPD.EXE
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hwmicrosofthtmlhelpdownloads.asp
2) Run HHUPD.EXE to install the HTML Help components.

Windows XP, 2000, ME, and 98 users should not run any version of HHUpd.Exe. 

Any urgent updates will be handled by means of service packs or Windows Update. Please check the Microsoft website to make sure you have the latest updates for your operating system.


Note about Internet Upload configuration
In order to support new internet upload functionality, WeatherLink 5.6 uses a new internet configuration file format. WeatherLink 5.6 automatically converts the Internet.cfg file to the new format when it first opens a weather station. The new configuration file is named "Inet-Configuration.cfg". 
If you switch back and forth between WeatherLink 5.6 and earlier WeatherLink versions, changes to the internet configuration only apply to the active WeatherLink version.

Note to 5.2, 5.3, 5.4, 5.5, and 5.5.1 upgrade users

There is no need to "convert" 5.2, 5.3, 5.4, 5.5, or 5.5.1 weather stations or weather data for WeatherLink 5.6.  Simply use Open Station and select the station you were using with 5.2 (through 5.5.1). If you installed 5.6 in a different directory from your previous WeatherLink version, you can use Windows Explorer to copy or move your station directory into your 5.6 program directory. 

Do not attempt to use the Import Database Files with files created by WeatherLink 5.2 (through 5.5.1). Instead, you can copy these database files directly into 5.6 weather stations.

If you have a Solar Radiation sensor, please run "Recalculate THSW Index" from the Browse menu to calculate THSW values for your historical data downloaded with 5.2. This is not required for 5.3 or later data sets.
 

Note to APRS users

The default APRS server has been changed from "aprswest.net" to "arizona.aprs2.net". 

The names of the preferred servers to use to upload APRS data are subject to change, so it is a good idea to check documentation on the internet for the latest information. A good site to use is http://wxqa.com/index.html .

In addition, the default "password" has been updated to reflect the current version of WeatherLink.
 
Please open the APRS Setup dialog (via the Configure APRS button in the Data Upload Profile X dialog) and click the Default button to switch your APRS connection to the new APRS server.

APRS call signs should be in upper case. WeatherLink will convert lower case call signs into upper case.


Features that require Rev B Vantage console firmware

Some of the features of the software require Rev B Vantage console firmware.
Note: All VantagePro 2 consoles are Rev B.

Press the Done and + keys to see the firmware version and date on the ticker display.

The following features are not available with Rev A consoles:
Barometer trend on the Summary display and HTML tags
High Solar Radiation and High UV Index for each archive interval. 

This does not affect Monitor or Perception stations. Barometer Trend is available on all versions of these stations. 

Requirements for VP2 Repeater Support 

Support for the VantagePro2 Repeater products (#7626 and #7627) is only available on Vantage Pro 2 consoles with firmware dated May 2005 or later. 

The Repeater products for the Original Vantage Pro product line (#7624 and #7625) do not require explicit support by either the console firmware or WeatherLink software, so no firmware date restrictions are imposed.. 

Converting 4.x and 5.0/5.1 weather stations

This method converts all the data files in an existing WeatherLink station directory. It also retains the previously entered station configuration data.

1.  Use Windows Explorer to copy the station folder from your previous WeatherLink program folder to the WeatherLink 5.4 program folder.
2.  Use the Open Station command in the File Menu to open the copied station folder.
WeatherLink will automatically detect that the station was created by a previous version of the software and ask if you want to convert the data and station.

3.  Choose OK to convert the station configuration, including the weather data files.

WeatherLink automatically creates a backup copy of the old files and converts them for use by WeatherLink 5.4. 


Importing WeatherLink 3.x,  4.x,  5.0, and 5.1 Data Files
(applies only to conversions from 5.1 or earlier)

This method allows you to select individual files or groups of files to be converted for use by WeatherLink 5.4.

1.  Create a new station, or open an existing station. Imported data will be added to this station's weather database. 
2.  Choose Import Data Files from the File menu.
3.  Select the data files you want to import. 
You can select one file or multiple files in the same folder.

4.  Choose OPEN to have the selected files copied to your current station directory and converted for use by WeatherLink 5.4.
Note: If you try to convert a data file for the same month and year as an existing WeatherLink 5.4 data file, the converted file will be put in a subdirectory called "Converted Database Files". 


Retrieving Data From the Data Logger
(applies only to conversions with Vantage stations from versions 5.0 - 5.1)

Retrieving Data From the Data Logger

The archive memory in your Vantage Pro WeatherLink data logger contains data not used by WeatherLink 5.0 or 5.1, such as UV, solar radiation, and rain rate. Depending on the archive interval, you may have up to 200 days of this data in your logger. Using WeatherLink 5.2 this data can be downloaded and included in your WeatherLink data files.
To incorporate this data into your WeatherLink data files:

1.  Choose New Station in the File menu to create a temporary weather station folder.
2.  Choose Download in the File menu or click on the download icon.
	WeatherLink will do a full download of all data stored in the data logger. 

3.  Choose Browse in the Window menu or click on the Browse icon.
4.  Scroll to the beginning of the data file, and write down the time and date of the first entry in the database.
5.  Open your original WeatherLink station using the Open Station command in the File menu.
6.  Choose Browse in the Window menu or click on the Browse icon.
7.  Choose Delete Records in the Browse Menu
8.  Select the records for all the days following the earliest date in your temporary station database. 
Note:	Do not select the records for the day on which your temporary database begins. We will individually delete the records for that day in the next step.

9.  In the Browse Window, you will need to individually select and delete each record in the data base that is dated after the earliest record in your temporary database.
10. Once you have finished with the deleting, choose Download in the File menu or click on the Download icon to download data from the data logger.
You should now have records in your data base up to the current time that include all the new information that has been stored in your data logger.
11. You can now delete the temporary station you created in Step 1.


Time and Date Formats Supported

Use the "Regional Settings" or "International Settings" in the Windows Control Panel. 

On the Time tab, select either 24 hour or 12 hour (am/pm) mode. 
You can also select a time separation character (usually it is ":")

On Date tab, you can select one of the following date orders in the Short date style:
Day-Month-Year, Month-Day-Year, or Year-Month-Day. Other date formats are not supported.
You can also select a date separation character (typically it is "/", "-", or ".")

Other aspects of Time and Date display are set in the program and can not be changed.


Using the Included Sample Templates

The master copy of the included sample Templates can be found in the directory "Sample Templates" in the installed program directory. There are several separate website examples in separate sub-directories. It is not intended that all included templates be used at the same time. 

We recommend that you copy the templates you intend to use into the "Templates" sub-directory in the station directory you intend to use. While this is not required in this release, because only one station at a time can upload to the internet, future releases may allow multiple stations to upload the same template file, which will need to be in separate directories to avoid collisions between the converted HTML files.

Each sample template directory contains a file named "Template Description.txt" that describes how to use the templates in that directory and what WeatherLink settings to use. 


Copyright Notice

The GIF images created for upload are generated by version 1.3 of the gd library. The following copyright notice applies only to that feature of the WeatherLink software.

COPYRIGHT STATEMENT FOLLOWS THIS LINE
Portions copyright 1994, 1995, 1996, 1997, 1998, by Cold Spring Harbor Laboratory. Funded under Grant P41-RR02188 by the National Institutes of Health. 
Portions copyright 1996, 1997, 1998, by Boutell.Com, Inc. 
GIF decompression code copyright 1990, 1991, 1993, by David Koblas (koblas@netcom.com). 
Non-LZW-based GIF compression code copyright 1998, by Hutchison Avenue Software Corporation (<http://www.hasc.com>, info@hasc.com). 
Permission has been granted to copy and distribute gd in any context, including a commercial application, provided that this notice is present in user-accessible supporting documentation. 
This does not affect your ownership of the derived work itself, and the intent is to assure proper credit for the authors of gd, not to interfere with your productive use of gd. If you have questions, ask. "Derived works" includes all programs that utilize the library. Credit must be given in user-accessible documentation. 
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. This software is provided "as is" without express or implied warranty. 
 
END OF COPYRIGHT STATEMENT

DataSets.dat and DataLists.dat File Structure

Each station has its own copy of the DataSets.dat and DataLists.dat files to record information about data values to plot and browse.
 
The file DataSets.dat contains information about all the data values that can be plotted and browsed. This file contains the master list, including sensors that have not been selected in the station configuration dialog.

The file DataLists.dat contains information about which variables to make available for plotting and browsing. 

Format of the DataSets.dat file

The file consists of 3 sets of data variables. The first set contains variables related to archived data. The second list contains variables related to daily summary values. The third set contains information about the colors to use with overlay plots. The daily summary variables are not fully implemented.

The first line of a data set is the name of the data set.
The next lines contain the data variables, one on each line.
The end of the data set is marked by a line with a single period (".").

The data variable definition is a tab delimited line with 12 fields.

Field		Type		Comments
Full Name	Text		The full name appears in plot titles
Data ID              Number	This number identifies what data value to retrieve from the weather database. Do not modify this value!
Browser Line 1	Text	The first line of the title used in the Browser. Use a "^" to indicate a blank line.
Browser Line 2	Text	The second line of the title used in the Browser. Use a "^" to indicate a blank line.
Browser Width   Number	Width of the data column in the Browser. This value is in characters, and includes the padding value. 
Browser Pad.	Number	Number of spaces to add to the right of numbers in the browser. The Browser Width and Browser Pad values control the spacing and alignment of the browser display. To add padding to Browser titles, use space characters
Short Name	Text	This text is used for the selection buttons in the plot window and in menus.
Screen Color	Color Value	Color to use on the screen
Color Printer	Color Value	Color to use on Color printers
B&W Printer	Color Value	Color (grey scale) to use on Black and White printers
Web Color	Color Value	Color to use on Internet graphics
Line Style	Number	Not implemented

While the Color Value is given in decimal in the DataSets.dat file, if it was converted to hex it would have the format 0x00bbggrr. bb, gg, and rr represent the intensities of Blue, Green and Red and can have values between 0x00 (0 = dark) and 0xFF (255 = light). When you use the color selector in the Plot and strip chart, the color selected is used for the Screen color, Color printer color, and Web color. At the same time an equivalent grey-scale color is created for the Black & While printer color.

Davis does not provide any support for modifications of this file. The only fields that should be modified are the name and title fields to create custom names, the width and padding fields if the modified titles require them, and the color values if you want greater flexibility (i.e. to use a different color for web graphics). Do not remove or add lines to the DataSets file.

If the DataSets.dat file is missing when the station is opened, a new one will be generated with the factory default values.

Format of the DataLists.dat file

The file consists of 5 lists of data variables. The first list contains variables to appear in the Browser. The second list is not implemented. The third list contains variables to appear in the Plot. The fourth list contains variables to appear in the Strip Chart. The Fifth list contains the Overlay variables.

The first line of a data list is the name of the data list.
The next lines contain the list entries, one on each line.
The end of the data list is marked by a line with a single period (".").

Each list entry consists of two numbers separated by a tab. The first number is the set number (starting with 0) found in the DataSets.dat file. The second number is the position within the data set. For example the entry (0  10) is in the 11'th entry in the first data set which is Wind Chill.

If this file is missing, a new one will be generated based on the settings in the Station Configuration dialog.


Data File Structure

What follows is a technical description of the .WLK weather database files. This is of interest mostly to programmers who want to write their own programs to read the data files. 

The data filename has the following format: YYYY-MM.wlk where YYYY is the four digit year and MM is the two digit month of the data contained in the file.

The structures defined below assume that no bytes are added to the structures to make the fields are on the "correct" address boundaries. With the Microsoft C++ compiler, you can use the directive "#pragma pack (1)" to enforce this and use "#pragma pack ()" to return the compiler to its default behavior.  

//   Data is stored in monthly files.  Each file has the following header.
struct DayIndex 
{
   short recordsInDay;  // includes any daily summary records
   long startPos;    // The index (starting at 0) of the first daily summary record
};      

// Header for each monthly file.
// The first 16 bytes are used to identify a weather database file and to identify
//   different file formats. (Used for converting older database files.)
class HeaderBlock
{ 
   char idCode [16]; // = {'W', 'D', 'A', 'T', '5', '.', '0', 0, 0, 0, 0, 0, 0, 0, 5, 0}
   long totalRecords;
   DayIndex dayIndex [32]; // index records for each day. Index 0 is not used
                           // (i.e. the 1'st is at index 1, not index 0)
};

// After the Header are a series of 88 byte data records with one of the following
//   formats.  Note that each day will begin with 2 daily summary records

// Daily Summary Record 1
struct DailySummary1
{
   BYTE dataType = 2;
   BYTE reserved;    // this will cause the rest of the fields to start on an even address

   short dataSpan;   // total # of minutes accounted for by physical records for this day
   short hiOutTemp, lowOutTemp; // tenths of a degree F
   short hiInTemp, lowInTemp;   // tenths of a degree F
   short avgOutTemp, avgInTemp; // tenths of a degree F (integrated over the day)
   short hiChill, lowChill;     // tenths of a degree F
   short hiDew, lowDew;         // tenths of a degree F
   short avgChill, avgDew;      // tenths of a degree F 
   short hiOutHum, lowOutHum;   // tenths of a percent
   short hiInHum, lowInHum;     // tenths of a percent
   short avgOutHum;             // tenths of a percent
   short hiBar, lowBar;         // thousandths of an inch Hg
   short avgBar;                // thousandths of an inch Hg
   short hiSpeed, avgSpeed;     // tenths of an MPH
   short dailyWindRunTotal;     // 1/10'th of an mile 
   short hi10MinSpeed;          // the highest average wind speed record 
   BYTE  dirHiSpeed, hi10MinDir; // direction code (0-15, 255)
   short dailyRainTotal;        // 1/1000'th of an inch
   short hiRainRate;            // 1/100'th inch/hr ???
   short dailyUVDose;           // 1/10'th of a standard MED
   BYTE  hiUV;                  // tenth of a UV Index
   BYTE timeValues[27];         // space for 18 time values (see below)
};  

// Daily Summary Record 2
struct DailySummary2
{
   BYTE dataType = 3;
   BYTE  reserved;   // this will cause the rest of the fields to start on an even address

   // this field is not used now.
   unsigned short todaysWeather; // bitmapped weather conditions (Fog, T-Storm, hurricane, etc)

   short numWindPackets;      // # of valid packets containing wind data, 
                              // this is used to indicate reception quality
   short hiSolar;             // Watts per meter squared
   short dailySolarEnergy;    // 1/10'th Ly
   short minSunlight;         // number of accumulated minutes where the avg solar rad > 150
   short dailyETTotal;        // 1/1000'th of an inch
   short hiHeat, lowHeat;     // tenths of a degree F
   short avgHeat;             // tenths of a degree F
   short hiTHSW, lowTHSW;     // tenths of a degree F
   short hiTHW, lowTHW;       // tenths of a degree F

   short integratedHeatDD65;  // integrated Heating Degree Days (65F threshold)
                              // tenths of a degree F - Day

   // Wet bulb values are not calculated
   short hiWetBulb, lowWetBulb; // tenths of a degree F
   short avgWetBulb;          // tenths of a degree F

   BYTE dirBins[24];          // space for 16 direction bins 
                              // (Used to calculate monthly dominant Dir)

   BYTE timeValues[15];       // space for 10 time values (see below)

   short integratedCoolDD65;  // integrated Cooling Degree Days (65F threshold)
                              // tenths of a degree F - Day
   BYTE  reserved2[11];
};

// standard archive record
struct WeatherDataRecord
{
   BYTE dataType = 1;
   BYTE archiveInterval;      // number of minutes in the archive
   // see below for more details about these next two fields)
   BYTE iconFlags;            // Icon associated with this record, plus Edit flags
   BYTE moreFlags;            // Tx Id, etc.

   short packedTime;          // minutes past midnight of the end of the archive period
   short outsideTemp;         // tenths of a degree F
   short hiOutsideTemp;       // tenths of a degree F
   short lowOutsideTemp;      // tenths of a degree F
   short insideTemp;          // tenths of a degree F
   short barometer;           // thousandths of an inch Hg
   short outsideHum;          // tenths of a percent
   short insideHum;           // tenths of a percent
   unsigned short rain;       // number of clicks + rain collector type code
   short hiRainRate;          // clicks per hour
   short windSpeed;           // tenths of an MPH
   short hiWindSpeed;         // tenths of an MPH
   BYTE windDirection;        // direction code (0-15, 255)
   BYTE hiWindDirection;      // direction code (0-15, 255)
   short numWindSamples;      // number of valid ISS packets containing wind data
                              // this is a good indication of reception 
   short solarRad, hisolarRad;// Watts per meter squared 
   BYTE  UV, hiUV;            // tenth of a UV Index

   BYTE leafTemp[4];          // (whole degrees F) + 90

   short extraRad;            // used to calculate extra heating effects of the sun in THSW index
   
   short newSensors[6];       // reserved for future use
   BYTE  forecast;            // forecast code during the archive interval

   BYTE  ET;                  // in thousandths of an inch
   
   BYTE soilTemp[6];          // (whole degrees F) + 90
   BYTE soilMoisture[6];      // centibars of dryness
   BYTE leafWetness[4];       // Leaf Wetness code (0-15, 255)
   BYTE extraTemp[7];         // (whole degrees F) + 90
   BYTE extraHum[7];          // whole percent
};

Notes:

Always check the dataType field to make sure you are reading the correct record type

There are extra fields that are not used by the current software. For example, there is space for 7 extra temperatures and Hums, but current Vantage stations only log data for 3 extra temps and 2 extra hums.

Extra/Soil/Leaf temperatures are in whole degrees with a 90 degree offset. A database value of 0 = -90 F, 100 = 10 F, etc.

The rain collector type is encoded in the most significant nibble of the rain field. 
rainCollectorType = (rainCode & 0xF000);
rainClicks = (rainCode & 0x0FFF);

Type		rainCollectorType 
0.1 inch	0x0000
0.01 inch	0x1000
0.2 mm		0x2000
1.0 mm		0x3000
0.1 mm		0x6000 (not fully supported)

Use the rainCollectorType to interpret the hiRainRate field. For example, if you have 
a 0.01 in rain collector, a rain rate value of 19 = 0.19 in/hr = 4.8 mm/hr, but if you have 
a 0.2 mm rain collector, a rain rate value of 19 = 3.8 mm/hr = 0.15 in/hr.

Format for the iconFlags field
The lower nibble will hold a value that will represent an Icon to associate with this data record (i.e. snow, rain, sun, lightning, etc.). This field is not used.

Bit (0x10) is set if the user has used the edit record function to change a data value. This allows tracking of edited data.

Bit (0x20) is set if there is a data note associated with the archive record. If there is, it will be found in a text file named YYYYMMDDmmmm.NOTE. YYYY is the four digit year, MM is the two digit month (i.e. Jan = 01), DD is the two digit day, and mmmm is the number of minutes past midnight (i.e. the packedTime field). This file is found in the DATANOTE subdirectory of the station directory.

Format for the moreFlags field
The lowest 3 bits contain the transmitter ID that is the source of the wind speed packets recorded in the numWindSamples field. This value is between 0 and 7. If your ISS is on ID 1, zero will be stored in this field.

WindTxID = (moreFlags & 0x07);

Time values and Wind direction values in Daily Summary records
These values are between 0 and 1440 and therefore will fit in 1 1/2 bytes, and 2 values fit in 3 bytes. Use this code to extract the i'th time or direction value. See below for the list of i values.

fieldIndex = (i/2) * 3;	// note this is integer division (rounded down)

if (i is even)
   value = field[fieldIndex] + (field[fieldIndex+2] & 0x0F)<<8;

if (i is odd)    
   value = field[fieldIndex+1] + (field[fieldIndex+2] & 0xF0)<<4;

A value of 0x0FFF or 0x07FF indicates no data available (i.e. invalid data)

The time value represents the number of minutes after midnight that the specified event took place (actually the time of the archive record).

The wind direction bins represent the number of minutes that that direction was the dominant wind direction for the day.

Index values for Daily Summary Record 1 time values
Time of High Outside Temperature   0
Time of Low Outside Temperature    1
Time of High Inside Temperature    2
Time of Low Inside Temperature     3
Time of High Wind Chill            4
Time of Low Wind Chill             5
Time of High Dew Point             6
Time of Low Dew Point              7
Time of High Outside Humidity      8
Time of Low Outside Humidity       9
Time of High Inside Humidity      10
Time of Low Inside Humidity       11
Time of High Barometer            12
Time of Low Barometer             13
Time of High Wind Speed           14
Time of High Average Wind Speed   15
Time of High Rain Rate            16
Time of High UV                   17

Index values for Daily Summary Record 2 time values 
Time of High Solar Rad             0
Time of High Outside Heat Index    1
Time of Low Outside Heat Index     2
Time of High Outside THSW Index    3
Time of Low Outside THSW Index     4
Time of High Outside THW Index     5
Time of Low Outside THW Index      6
Time of High Outside Wet Bulb Temp 7
Time of Low Outside Wet Bulb Temp  8
(Time value 9 is not used)

Index values for Dominant Wind direction bins in Daily Summary Record 2
N    0
NNE  1
NE   2
...
NW  14
NNW 15

Format of the Expansion_Modules\ModuleList.dat file

The file named ModuleList.dat in the directory Expansion_Modules, if it exists, tells WeatherLink which expansion modules to install. Each line of this text file lists information about one module, including whether or not to install it. WeatherLink will install the modules in the order listed in this file.

The file format is:
<module file name> <module ID number> <module version> <load Flag> <full module name>

<module file name> is the name of the DLL file that contains the expansion module.
<module ID number> is an ID number that uniquely identifies each module. The file name may change with different versions, but the ID will remain the same. This value is in hex.
<module version> is the version of the module installed. This is also in hex. for example 0x00010203 = version 1.2.3.
<load Flag> will either be "1" if the module should be loaded by WeatherLink or "0" if the module should not be loaded by WeatherLink
<full module name> is the module name, version, and date that appears in the WeatherLink About box for this module


For example the entry for the Email/Phone Alert Module looks like:

EmailAlertModule.dll 0x00000600 0x00010002 1 E-mail Alert Module v.1.0  04/07/2004

Where:
<module file name> = "EmailAlertModule.dll" 
<module ID number> = 0x000000600
<module version> = 0x00010002 - version 1.0.2
<load Flag> = 1 = Load this module
<full module name> = "E-mail Alert Module v.1.0  04/07/2004"

It is safe to delete lines or to change the order of lines (to change the order that modules are loaded into WeatherLink). If you wish to add a new module to the list, put the module file name on a line by itself. The next time WeatherLink is started, WeatherLink will try to load the module. If it is successfully loaded, the rest of the information will be added automatically by WeatherLink.

The Module Management function under the File menu in WeatherLink will perform the same functions.


Interpreting ISS Reception values

The ISS Reception numbers are intended to show the overall quality level of the radio reception between the Vantage console and the ISS or Wireless Anemometer station. The reception value is calculated from the number of wind speed samples received by the console (reported in the Wind Samp column of the data browser) divided by the expected number of packets that could have been received. 

The expected number of packets is calculated from the Transmitter ID and the archive interval. This value is an average value which has been rounded to an integer. The actual number of packet transmissions over an archive interval can be more or less than the calculated value depending on the phase relationship between the transmission clock and the data archive clock.. 

This means that it is possible to receive more than 100% of the expected packets in an archive interval, and that there is a small amount of "noise" in the calculated percentages. 

The displayed reception value is limited to 100%.

In addition, the number of packets with wind speed data received by a VantagePro 2 system is approximately 3% more than the number received by a VantagePro 1 system. The software, however, uses the same "expected number of packets" for both systems which will result in a small overestimation of the ISS reception value for VantagePro 2 systems.

Below are tables that list the expected number of wind speed packets for each transmitter ID and archive interval. WeatherLink uses the VantagePro 1 table. The VantagePro 2 table is for reference.

Expected number of Wind Speed packets
VantagePro 1
	Archive Interval (min)
Tx ID	1	5	10	15	30	60	120
1	23	114	228	342	684	1368	2736
2	22	111	222	333	667	1335	2670
3	22	108	218	326	652	1302	2606
4	21	106	212	318	637	1273	2545
5	21	104	207	311	622	1244	2487
6	20	102	202	304	608	1216	2432
7	20	99	199	297	595	1189	2379
8	19	97	194	291	582	1165	2328

VantagePro 2
	Archive Interval (min)
Tx ID	1	5	10	15	30	60	120
1	23	117	234	351	702	1405	2810
2	23	114	229	343	686	1371	2743
3	22	112	223	335	670	1340	2679
4	22	109	218	327	655	1309	2618
5	21	107	213	320	640	1280	2560
6	21	104	209	313	626	1252	2504
7	20	102	204	306	613	1226	2451
8	20	100	200	300	600	1200	2400


