1-wire reader & laser sensor

Brian,

1st - Yesterday I tried downloading your latest b61 with the cronlazersnow program. I was running version s56. When I downloaded the zip file and unzipped it the issue dates were 12/10/17 on the 2 files. I opened WD b61. Cronlazersnow program opened but it did not open the lrtimelog program. It could not locate the laser sensor. The cronlazersnow screen would not connect to the laser sensor. I mentioned this to Mike and he said that after unzipping your zip file the 2 programs should be dated 12/11/17 not 12/10/17. So he sent me his 2 programs that were dated 12/11/17. I tried using his 2 programs but I still have the problem of cronlazersnow not being able to connect to the laser sensor.

2nd - With all of my changes yesterday trying to get the cronlazersnow program running some file got corrupted and now the snow values on my “webpage” are not correct when using WD version s61 BUT the snow values in Weather Display’s local page are correct. The "Input Local Weather, Snow " values are correct and the registry is correct For my snow values to be correct on my “webpage” I have to run your old version B81. When I run that older program the snow values on my webpage are correct.

So I have 2 issues. 1) The new b61 and cronlazersnow does not connect to my laser sensor and 2) when using the new b61 vesion the snow values on my webpage are not correct.

I hope that this is not too confusing.

it might be a problem with the dll file included ,AtUsbHid.dll
i.e you might not be using the latest LRtimelog.exe version
download the latest (i.e original from source) of both files
http://www.weather-display.com/downloadfiles/lrprogram.zip
and unzip to where you have WD installed

I unzipped the 2 filles into my WD folder but still not loading LRTimelog. What should be set in control panel, comm port settings?


Brian

I tried to update my weather computer with the new weatherdisplay.exe, LRTimelog.exe, cronlazersnow.exe, AtUsbHid.dll and cronlazersnow will not see the lazer. Then I copied the entire subdirectory from the test computer I was using the past few day to the weather computer to a subdirectory totally independent of my original WD subdirectory and it works perfectly. It appears that there is a file missing somewhere and I can’t figure out where. I’ll go back over all the files you sent during the last week and see if I can find the missing link.

:?

MikeyM

maybe it is
http://www.weather-display.com/downloadfiles/usb.dll
http://www.weather-display.com/downloadfiles/hid.dll

?

I just downloaded and installed those 2 files but “cronlazersnow.exe” still does not connect to the laser sensor.

did you restart it?

Yes, shutdown WD and cronlazersnow and restarted. Also, not that it may not be relative, but when my page is refreshed the snow information is correct but after the 3 second ajax update the snow data is not correct. See here http://indiantrailweather.com/index.php . Snow today should be “0” and snow depth should be “.2”

not sure about your web page, expect that it sounds like it goes wrong when it gets the data update from your clientraw.txt file?
I did make any changes to the format in the clientraw.txt file
question
using windows device manager, what is the VID and PID of your lazer sensor?
does the LRtimelog.exe program find it?

I’m not sure how to find the VID and PID of the lazer sensor using Device Manager. The original (Porcupine) LRtimelog.exe and LRDemo program do find and connect to the lazer sensor

I'm not sure how to find the VID and PID of the lazer sensor using Device Manager.
its easy just run windows device manager then under ports, you should be able to find ports, then there should be a list of USB/HID devices and then find the lazer one, and see what info in regards to PID and VID show under properties

I think it’s Port #0004 and Hub# 0004

I need to know the VID and PID
not port and hub numbers

It’s USB\VID_0417&PID_DD03&REV_1000
USB\VID_0417&PID_DD03

make sure that the dallas1wirereader is not running
nor the LRtimelog.exe
and then try this version
http://www.weather-display.com/downloadfiles/cronlazersnow.zip

which shows what devices it does find

The cronlazersnow screen page is still empty. No change

it has been working for 3 others,connecting
so that is strange
what I could do is get you to try a test program

OK, what do I have to do to run the test program?

http://www.weather-display.com/downloadfiles/BasicDemo.zip

I unzipped it to the WD folder and ran it. It comes up blank.