Reading from. dat file

Hi Brian, Goody morning :smiley:

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.

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)

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.


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?

Hi Brian,

Do i have a setting set wrong maybe?

if you could post a screen shot of how you have it setup in WD

here they are Brian, i hope this is what your looking for :smiley:


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)

Ah ok, but cronpakbusnew isnt running, should i delete those values in the second picture,or not needed if cronpakbusnew isnt running?

not needed

Ok thanks.
So not related to the solar and precepitation type issue?

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

Great, im looking forward for the update then :smiley:
Much appreciated Brian, thank you :smiley:

I just see under view, debug info there is a message list “rain type 0” updating every second, is that Ok?

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

Sorry, no hurry, im just a enthusiast wd user :smiley:

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.


Hi Brian, good morning :smiley:

I just noticed when i choose the file input option, it doesnt save that setting.
When i reopen it, its always set to CR200…
I dont know if thats the cause of the above?

the next update of WD will fix that

make sure in the wdisplay.ini file
that
[Hawk settings]
device typenew=0

device type=0

Hi Brian,

Thanks for your reply.
I checked the wdisplay.ini file, they were set to 0.

Hi Brian,

Im running latest update, but no change unfortunately.
I noticed the following:

1 The file input selection still doesnt save.
2 The minute change takes aproximately 5-7 seconds.
3 The rain amount isnt correct, on mainscreen and in the custom log file, see attached picture.
4 The max and min time values on the mainscreen from all weather data are all one minute before the actual
Time max/min values.
5 the solar value on the mainscreen is showing 1.5 w/m2 at night, while the solar source (the .dat file) is actually zero.

One minor thing, but maybe related to an error: the data received box on the mainscreen is always red.
Maybe because of an error on my side?


IMG_20180907_034128.jpg

Hi Brian, good afternoon.

I have checked all my settings and with my little knowledge i hope i have set up WD ok.
But i may have missed a setting #-o i dont know of :oops: perhaps…?

With kindest regards.