Monday, September 25, 2006

Virtual Weather Station Version 13.00p15

Greetings!

I looked into the issues with WeatherFlash not updating, and although I could not find anything, I did not like the way this was implemented. Instead of launching a seperate thread, I decided to put the whole function on a separate async timer and it works great! The CPU usage droped and the memory useage dropped. I did the same thing with Rapid Fire and will look at this implementation on other functions if I get positive feedback from this build.

Also, I am in the middle of modifying panel sizes in support of the foreign language versions that are coming soon.

Here is the download link for the latest:

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

for those running WeatherFlash, lemme know if this fixes your problems.

Thanks!

Ed

Saturday, September 16, 2006

Virtual Weather Station Version 13.00p14

With the support of a patient and helpful customer, the issue with lock-ups (where the menu freezes and the program is non-responsive), memory leaks (caused by threads opening but not closing) and other related issued caused by this problem (increased CPU useage and ftp functionality problems) are now solved! I was able to reproduce the issue with increased thread and VM loss. I ran this version for 24 hours with no noticable loss in Virtual Memory.

Here is the download link:


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

Also , the launch default browser function in previous versions is now fixed.

Virtual Weather Station Version 13.00p13 was a no-go... lucky #13 I guess :-)

Wednesday, September 13, 2006

Virtual Weather Station Version 13.00p11

Another fix related to Version 13.00p10. I forgot to add the same mult-thread flag for MesoNet updates...

Here is the download link:

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

Tuesday, September 12, 2006

Virtual Weather Station Version 13.00p10

yet another build addressing the lock-ups and memory issues all related to the Internet uploads and downloads to and from Wunderground...

I found that I was still launching a new thread if the last one was still in use and it may be causing multiple threads doing the same thing and eventual lock-ups.

I found and corrected this problem.

Here is the download link:

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

I will need the next month or so to finish up the foreign language version of Oregon Scientific WMR-100. If you post comments under this link, I will read them and make changes, but it may be at least one month.

I will need you to distinguish between Lock-Ups (where Virtual Weather Station freezes and you can not update menu items, change the display, etc) and Loss of Communication (this occurs when the data stops updating and it is specifically related to the VantagePro2 with their USB interface).

Sunday, September 03, 2006

Virtual Weather Station Version 13.00p09

Thanks to everyone for sending me their oslog.txt files. The lock-ups appear to be related to terminating a thread before it is completed. In reading the Microsoft documentation, this is a no-no, although I never reproduced it.

One issue is that you do not want to wait 5 minutes for an internet operation to complete, so I have a seperate watchdog timer that checks when threads finish and terminates them.

So that the program adheres to the FTP Timeout value, the program will move on to other operations even if the thread has not finished. If you upload your data every minute, and the thread takes five minutes to complete, it will not restart this thread until the first one completes. I found that if you do this enough time, it will consume CPU and lock up your computer.

Note that if your download times out, select Internet FTP General Settings, and adjust the FTP Timeout (the default is 120 seconds).

So I feel we are close to the solution if not completely solved. Here is the link:

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