Thursday, August 31, 2006

Virtual Weather Station Version 13.00p08

There are several complaints about lock-ups, high CPU usage during internet operations. I have changed several things - it now downloads all of the data at once, resulting in faster reponse. I also kill the threads after 3 minutes - if the threads are left open and another thread is launched, it tends to increase the CPU resources - after some time, this can cause a lock-up.

Here is the update link:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

Tuesday, August 29, 2006

Virtual Weather Station Version 13.00p07

Thanks to Chas Rimpo of www.Rimpo.org (he is our very first beta tester from 1999) he pointed out that the Calibration panel is not properly displayed when upgrading from an older version, so it has been repaired in this version. You will need to re-enter your calibration data, so write these variables down before you upgrade or you will lose your data.

He also mentioned ghosting (this is a Windows thing). The best fix is to minimize and then remaximize the window.

You can download this version here:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

By the way, Chas has way too many hobbies (if you visit his website). How does he find time to beta test?

Sunday, August 27, 2006

Virtual Weather Station Version 13.00p06

Oops. I broke the rapid fire in Version 13.00p05. This is now fixed:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

Regards,

Ed

Virtual Weather Station Version 13.00p05

There have been several complaints ragarding lock-ups of the Virtual Weather Station download during uploading data from Weather Underground (Forecast, Mesonet, Climate and Warning Data). I have not been able to put my finger on the problem, but it may be due to multi-threading. I was lauching a seperate thread within a thread and it appears the Windows does not always like this (I was following all of the rules).

I am not able to reproduce the problem, but with the help of a customer that is getting this issue on a regular basis, we are working through it.

Version p05 addresses this problem by simplifying the thread functionality.

Here is the download link:
http://www.wunderground.com/autoasp/downloads/vws_install.exe

Friday, August 25, 2006

Virtual Weather Station Version 13.00p04

We fixed the issue with the Oregon Scientific communication issues introduced in this new version. By resetting the sensor communication panel, everything is fixed. You will still need to check the appropriate boxes.

Here is the download link:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

Virtual Weather Station Version 13.00p03

Read your post about the WMR-968 Channel 1 issue, and this problem was there all along, which I fixed in this version. If you use the feature that replaces the Channel 1 sensor with the outdoor sensor, there was an issue with this station because all of the sensors do not report in at the same time. This would cause the outdoor temperature to cycle to zero if you have a non-working outdoor sensor.

Here is the donwload link:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

Thursday, August 24, 2006

Virtual Weather Station Version 13.00p02

Greetings from the rainy Sonoran Desert!

OK, found the problem with the crashing. If you install the new version over the top of the old version without uninstalling the old version first, it crashes (not sure why). Now, I force an uninstall of the old version first by matching the GUID of the old version (for those that care what GUID is, search on the Micrsoft website - my head is spinning with technical jargon.

Here is the download link:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

Wednesday, August 23, 2006

Virtual Weather Station Version 13.00p01 (debug)

If you are experiencing crashing issues with the new version V13.00p02, download the following debug installation kit:

http://www.wunderground.com/autoasp/downloads/vws_install_debug.exe

The purpose of this application is to determine why some programs are crashing. If it is crashing within the program, I can pinpoint the line and execution because there is a full memory map. It may run a little slower as well.

Virtual Weather Station Version 13.00p01

I uploaded the new version on the server. There were a couple of issues with Version 13.00p00. The VantagePro and VantagePro 2 windspeed was not updating, and I found that I had mixed some of the new DLL components with the old VantagePro dll components, and everything worked except the windspeed (they had changed the casting from an integer to a float). Anyway, problem solved, download the new version here:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

I did receive a comment that Version 13.00p00 crashed as soon as one customer ran it, and hopefully it was solved with the new version. If not, I can pinpoint why this occurred by creating a debugging application.

Monday, August 21, 2006

Virtual Weather Station Version 13.00p00

I uploaded a new pre-release version of Virtual Weather Station here:

http://www.wunderground.com/autoasp/downloads/vws_install.exe

This is a pre-release version, so I am limiting the number of users and not posting this on the website to get some feedback. You can email issues to:

support@ambientweather.com

Here are the major changes:

1. VantagePro2 Loss of Communcation. Found this problem to be associated with the VantagePro.DLL, which will randomly drop communication (and not recover) if the historical highs and lows are called. This is not a show stopper since it can still get this information from the real-time updates. You may miss a gust or two if it happens within the communication rate, but this is far better then losing communication to the unit. I have informed Davis of the problem, and as a minimum, they need to add a timeout.

2. VantagePro2 Lock-up During Archive Download. This problem was solved by creating a seperate thread for the download function. To speed the downloads up, I temporarily max out the CPU Performance.

3. WMR-100 Support. This new weather station from Oregon Scientific is now supported. The station has not been released by Oregon Scientific yet. The WMR-100 supports up to 10 temperature and humidity sensors, so you will see references to these sensors. The Davis VP and VP2 additional sensors are not supported at the moment - they released a new DLL with this support (archive memory download), but the DLL has a bug in it - it will not download any data. I have brought this to Davis Instrument's attention.

4. 3D Graphic Drivers Included on Installation Kit. We are using a new compiler, and now have the ability to check and update 3D graphical interface drivers. The problem before was that the program could crash if your graphic drivers were not up to date. This problem is fixed.

5. New Compiler. The new compiler fixes a number of installation issues. You will no longer have to remove the previous version of the software.

6. Foreign Language Support. This is a work in progress. You will see a window pop-up, but there are little changes to the software and does not include full language support, but we are working with translators.

7. Oslog.txt File too large. If you select Help Internet Status and File Log, you will see that there is an operating states log generated (if selected). This file allows me to troubleshoot issues and see if timeouts are occurring. However, this file was not being managed and would grow to a huge size, resulting in slow performance after several months. Virtual Weather Station will not delete this file every day at midnight to improve VWS performance.

8. Other Issues. The file for the calibration values has changed to reflect the new sensors, so if you have values in this calibration panel, write them down before installing. The Broadcast and Icon desktop displays will be slightly moved because their designated position has changed. No worries, simply move the images on your desktop back to their original position.

9. Additional Comments. You will see references to the parameters THW and THWS, which are calculated for the VantagePro2. However, these parameters are not yet implemented. We are waiting for Davis to fix their latest DLL.

Saturday, August 19, 2006

Welcome to our new Ambient Weather Blog, where we will discuss interesting new weather products and features, upcoming discussions to our flagship product, Virtual Weather Station, and features on our website, http://www.ambientweather.com.

We are busy making changes to Virtual Weather Station. One of the key problems that will be addressed in the next version is the loss of communication to the VantagePro2 weather station.

I was never able to reproduce this problem, so I decided to dedicate many hours to solving it.

To fill you in on the difficulty in finding this problem, I set up five computers all running Virtual Weather Station and Vantage Pro units with five data loggers, five different operating systems, and then hammered them with communication. I found that the VantagePro.dll we use has a flaw in that it will lose communication if you request the daily highs and lows. This is intermittent and may be related to reading and writing data at the same time (the console writes the data, the software reads the data). By removing this function, the problem went away.

This is itself should not be a problem if the timeout function worked properly, but it does not. The communication is lost until you restart the program.

Removing this function has little impact. It was possible that Virtual Weather Station could miss the high wind gust for the day. I will be using a more direct method to get this data (direct communication that circumvents the higher level commands associated with the DLL).

Why do we use the DLL? Davis Instruments developed this tool to make programming easy. Virtual Weather Station calls this DLL to download archived data and update data real-time. It results in less bugs and problem free operation.

There are some drawbacks - the communication rate is slower, and we can not easily debug problems like the loss in communication problem.

Davis has released a new VantagePro.dll which will offer archiving of all the auxillary sensors as well as calculate THW and THWS, but there is a bug - it will not download archvied data.