Sandaysoft

Support forum for Cumulus weather station software
It is currently Wed Jun 19, 2013 10:09 am
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Re: Will this software interfere with the Davis software
PostPosted: Tue May 15, 2012 6:47 am 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17832
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
Note that there are also known issues with using Virtual VP with Cumulus (i.e. with the Davis DLL which Cumulus uses) which Steve Hatchett has been unable to fix, possibly because he was unable to get any help from Davis.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Will this software interfere with the Davis software
PostPosted: Tue May 15, 2012 12:08 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1698
Location: World...
Weather Station: No weather station
Operating System: No operating system
Indeed! Over the past weeks, on both my Windows 7 64-bit computers, Cumulus has 'frozen' without producing any error, more so if Cumulus was using one of the serial ports rather than one of the TCP/IP ports.


Top
 Profile  
 
 Post subject: Re: Will this software interfere with the Davis software
PostPosted: Tue May 15, 2012 12:20 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17832
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
I think that particular problem occurs when Cumulus calls the DLL to read some data, the DLL calls VVP, and nothing ever comes back, so the Cumulus data reading thread is stuck inside the DLL. Other problems include invalid logger entries being returned, missing logger entries, and no logger data being returned at all (the latter because of a problem where VVP can't read the EEPROM data from the station).

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
 Post subject: Re: Will this software interfere with the Davis software
PostPosted: Tue May 15, 2012 12:52 pm 
Offline
User avatar

Joined: Thu Jan 07, 2010 9:44 pm
Posts: 2595
Location: Wilmslow, Cheshire, UK
Weather Station: Davis VP2
Operating System: XP SP3, Win 7
As I see this, the protocol to the data logger is published (and the same protocol works direct to the station), but all the client software seems to use the Davis DLL to proxy this protocol?

So two options:

1. Clients connect direct to the data logger - but then no shared connections.
2. Someone writes a 'server' DLL that connects to the Davis and accepts multiple client connections

Hmm, option 2 sounds very much like what we do with telescope mount drivers, where there are multiple clients an a single (usually serial) connection to the telescope controller. The server shares the connections, arbitrates between them, caches responses from the station (so rapid fire queries from clients do not queue on serial responses from the station). The 'scope community has templates for DLLs that implement all of that.

Now if I had a Davis I might have a bash at implementing that...

_________________
Mark
Wilmslow Astro Weather


Top
 Profile  
 
 Post subject: Re: Will this software interfere with the Davis software
PostPosted: Tue May 15, 2012 12:58 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 02, 2008 6:49 pm
Posts: 17832
Location: Sanday, Orkney
Weather Station: Davis VP2
Operating System: Windows Home Server 2011
mcrossley wrote:
As I see this, the protocol to the data logger is published (and the same protocol works direct to the station), but all the client software seems to use the Davis DLL to proxy this protocol?

Cumulus (1) and VWS use the DLL, WD and WL (and Cumulus 2) don't.

Quote:
2. Someone writes a 'server' DLL that connects to the Davis and accepts multiple client connections

Hmm, option 2 sounds very much like what we do with telescope mount drivers, where there are multiple clients an a single (usually serial) connection to the telescope controller. The server shares the connections, arbitrates between them, caches responses from the station (so rapid fire queries from clients do not queue on serial responses from the station). The 'scope community has templates for DLLs that implement all of that.

Now if I had a Davis I might have a bash at implementing that...

What you've described is basically what VVP does. It also caches logger data.

_________________
Steve
Sanday Weather
----------------------------------------------------------------------------------------------------------------------------------
Like Cumulus and want to support it? Please donate! Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group