Hi
I previously had a Delphi compiled program workin with the
pakbus.dll using the pakbus.pas header
and a weatherhawk station
I am now using the latest Dephi compiler
which has some changes needed, e.g pchar is now different
i.e needs to become either pansichar or pwidechar
the question is: does using the pakbus.dll ..will that work with the
latest data logger
or do I need to use the simplepb.dll
and if so do you have a pascal header for that or even better some sample Delphi code ?
Thanks!
Brian Hamilton
weather-display.com
Hi
made some progress
I determined that for the latest Delphi compiler I had to replace
pchar with pansichar
Now, the question is, the tables names used with the weatherhawk probably are different for other station /data logger types?
also though it seems the code I have to work with the weatherhawk data logger (RF410) does not open the latest data loggers...
update: seems it does if the address is changed to 1 instead of 4
Update : I have managed to get the original sample.exe program compiled and working with my weather hawk data logger
But things have changed since the weatherhawk for the data loggers...commands/tables/definitions...etc
Update: added ability to set what table field name for a weather data to the example.exe and it worked, for getting windspeed data back :)
Thanks!
Brian
* Last updated by: mewindy2 on 10/29/2015 @ 11:41 AM *
Hi
just another udpate:
I got the new simplepb.dll working for all the needed functions now with Delphi :)
Brian
www.weather-display.com
* Last updated by: mewindy2 on 11/3/2015 @ 3:51 PM *