hi
yes I have 2 consoles running Davis Pro2 and the Vue
and I have 2 weather displays running on the wx computer
have also 2 different maps on the server for al the files
I have your script here Vue =
http://www.weerstation-woerden.nl/davconvueCW.php still into test
and the Pro2 =
http://www.weerstation-woerden.nl/davconvp2CW.php also into test ( most translate some rules )
the rule : if (isset($SITE['clientrawfile'])) {$dataurl = $SITE['clientrawfile'];} // Use Saratoga setting if available
this looks for het file clientrawfile via the ajaxWDwx3.js ore it is another file I don’t know ??
don’t shoot my if I am wrong
my settings Pro2
if ($WXsoftware == 'WD') {
$dataurl = './WDL/clientraw.txt'; // for Weather Display 'realtime' data
if (isset($SITE['clientrawfile'])) {$dataurl = $SITE['clientrawfile'];} // Use Saratoga setting if available
$graphurl = './WDL/clientrawextra.txt'; // for Weather Display graph data
My settings Vue
if ($WXsoftware == 'WD') {
$dataurl = './WDL_VUE/clientraw.txt'; // for Weather Display 'realtime' data
//if (isset($SITE['clientrawfile'])) {$dataurl = $SITE['clientrawfile'];} // Use Saratoga setting if available
$graphurl = './WDL_VUE/clientrawextra.txt'; // for Weather Display graph data
If I remove the // it will read ./WDL/clientraw.txt and not ./WDL_VUE/clientraw.txt
I have test it
I have remove the file clientraw.txt for the folder WDL = for the Pro2 on the server
and I see this
And if the file clientraw.txt is back into the folder it’s read the clientraw.txt from the Pro2
And if I disable the line with // before it no problem
For test I have made a new page 1 is without the //
And one is with the // before
See for your self there are not the same
1=
http://www.weerstation-woerden.nl/davconvueCW-kopie.php2= //
http://www.weerstation-woerden.nl/davconvueCW.php sorry I can not good explain my self into Engels
but I hope you know what I mean
greetings Gert
This is only if you have 2 weather stations and run weather display two times !!!!
This an untested use of the scripts.
Do you mean you have two websites, two WDs and two consoles running? If so the paths should be different and therefore there should be no conflicts.
If you are doing something else then a much better description of the setup for each system would be needed.
A good start would be links to the different websites.
But it seems you have found one solution. Perhaps a better one for your special setup would be to hard-code the paths to the essential files in each instance.