cloudy cloudy

Author Topic: Reading from. dat file  (Read 1154 times)

0 Members and 1 Guest are viewing this topic.

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 68.0.3440.91
Reading from. dat file
« on: August 26, 2018, 07:22:57 PM »
Hi Brian, Goody morning :D

Let me explain my question.
Currently WD is reading my .dat file by cronpakbusnew.exe
WD is running flawless, but my laptop isnt always that stable and because of that im losing weather data.
My datalogger (cr1000 from Campbell scientific) is getting data even when the laptop isnt running.
But unfortunately i cant run WD and Loggernet simultanious.
I tried to split my comport to use those programs but that didnt work out.

So id like to ask you kindly if its possible to have WD read my .dat file while its updating from Loggernet, without the use of cronpakbusnew.exe? Will it give trouble to still read the humidity in one decimal and the rain in 2 decimal place and the raintype shown?

With kind regards.
« Last Edit: August 26, 2018, 08:16:18 PM by Asperitas »

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #1 on: August 28, 2018, 12:27:47 AM »
yes WD  can be set to read that file (you need to make sure you have the coloumns for the data set etc)
and you need to set to not have the separate cron program run as well (via the type drop down)

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 68.0.3440.91
Re: Reading from. dat file
« Reply #2 on: August 29, 2018, 08:38:17 AM »
Yes that Works, thanks.
But the precipitation type data wont Work.
And the solar data above the windspeed dial on the mainscreen is empty,  the % and hrs data above the winddirection dial are showing data fine.

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Reading from. dat file
« Reply #3 on: September 01, 2018, 08:26:16 AM »
Hi,

i was watching in the wdisplay.ini file and saw the precepitation type isnt present, just the following:

field windspeed=Public.Windskm
field direction=Public.Windr
field humidity=Public.Vocht
field barometer=Public.BP_mbar
field rain=Public.Rain_mm
field solar=Public.SlrW
field battery=Public.BattV
field temperature=Public.Temp


could this cause the precepitation type not being shown when not using cronpakbusnew?
« Last Edit: September 02, 2018, 07:19:00 AM by Asperitas »

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 63.0.3239.111
Re: Reading from. dat file
« Reply #4 on: September 03, 2018, 03:42:52 AM »
Hi Brian,

Do i have a setting set wrong maybe?

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #5 on: September 03, 2018, 04:22:04 AM »
if you could post a screen shot of how you have it setup in WD

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Reading from. dat file
« Reply #6 on: September 03, 2018, 05:41:18 AM »
here they are Brian, i hope this is what your looking for :D

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #7 on: September 03, 2018, 08:44:31 PM »
you seem to be getting confused between the 2 data injest types
the first screen shot is how you set it up to use the .dat file
and you can set the column for preciptitation type there

the second screen shot you posted is for if you are using cronpacbus direct communication (which you say you do not want to use now)

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 68.0.3440.91
Re: Reading from. dat file
« Reply #8 on: September 03, 2018, 08:47:42 PM »
Ah ok, but cronpakbusnew isnt running, should i delete those values in the second picture,or not needed if cronpakbusnew isnt running?

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #9 on: September 03, 2018, 08:49:16 PM »
not needed

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 68.0.3440.91
Re: Reading from. dat file
« Reply #10 on: September 03, 2018, 08:51:04 PM »
Ok thanks.
So not related to the solar and precepitation type issue?

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #11 on: September 03, 2018, 08:59:50 PM »
the rain type via the .dat file currently should show under view, debug info
it was not hooked up to the custom tag %campbellraintype%
but will be for the next update

the raw solar value you should be able to get via the custom tags for solar OK
i had not made that info available to above the windspeed but I could add that

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Android 7.0
  • Chrome 68.0.3440.91
Re: Reading from. dat file
« Reply #12 on: September 03, 2018, 09:02:37 PM »
Great, im looking forward for the update then :D
Much appreciated Brian, thank you :D

I just see under view, debug info there is a message list "rain type 0" updating every second,  is that Ok?
« Last Edit: September 03, 2018, 09:05:24 PM by Asperitas »

Offline Weather Display

  • Posts: 85,310
  • Davis VP2
  • New Zealand
  • OS/Browser:
  • Win NT 10.0
  • Chrome 68.0.3440.106
    • Weather Display
Re: Reading from. dat file
« Reply #13 on: September 03, 2018, 09:19:55 PM »
you hardly give me time to even think with your fast replies, your killing me here
try a new .zip update
no guarantees
also you should set the data logger type to file input in the second screen shot you posted

Offline Asperitas

  • Posts: 172
  • OS/Browser:
  • Win NT 10.0
  • Chrome 64.0.3282.140
Re: Reading from. dat file
« Reply #14 on: September 04, 2018, 06:04:24 AM »
Sorry, no hurry, im just a enthusiast wd user :D

update is running. i see the solar is working now, which is great.
i noticed the precepitation type isnt shown in the pic below, is that ok?
and i noticed almost every minute change, it takes about 5-7 seconds to start flowing data again.
« Last Edit: September 04, 2018, 05:54:46 PM by Asperitas »

 

cumulus