DatastormUsers Home
DatastormUsers HomeArticles and DownloadsPlot your location on the DatastormUsers MapLook up terms in the GlossaryInformation on past and upcoming ralliesList of people attending the next rallyMember photosSupport the cost of running DatastormUsers
Post New Topic  Post A Reply
my profile | directory login | register | search

faq | forum home

  next oldest topic   next newest topic
» Datastorm Users Forum » General Interest Forums » Utilities - Add Ons - Resources » Map locator (Page 1)

 - UBBFriend: Email this page to someone!   This topic comprises 3 pages: 1  2  3   
Author Topic: Map locator
Sterling
Member
Member # 60

Icon 3 posted      Profile for Sterling   Author's Homepage   Email Sterling   Send New Private Message       Edit/Delete Post   Reply With Quote 
I have written a small Windows program that pulls your latitude and longitude from the registry and updates your position on the user map here on this site. It is available for download by clicking on this link.

It's quite easy to use; just save it to your desktop (or elsewhere) from the link above, and double-click it to run. Click the Retrieve button to load your position, then the Submit button to update the map.

A few notes:
  • To retrieve the lat/lon, it must be run on the computer where you run the dish positioner software. If you only have one computer, that's it; if you run clients and a server, this means the server computer.
  • It uses the cookies set by Internet Explorer for this forum to identify you to the map. If your server computer is not also your browsing computer (or you don't use IE), simply log into this forum once from IE on your server. This should set the cookie and enable the Locator.
  • If you don't want the map to show your precise location, check the Approximate box in the Locator to randomly move you by 5-10 miles.

One more important note: The current DataStorm software has a bug whereby it doesn't always write your location to the registry. The best workaround for this seems to be to use Windows' Services console to shut down DSServer, rather than Task Manager. Here's how to set up a shortcut to do so:
  • Open your Control Panel
  • Open the Administrative Tools section
  • Right-click on Services and select Copy
  • Right-click on your desktop, and select Paste

Any comments on the Locator, please feel free to post them here!

Sterling

--------------------
Can't see the satellite for the trees? Try the free Satellite-Friendly Directory!

Posts: 682 | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DonB
Administrator
Member # 1

Icon 1 posted      Profile for DonB   Author's Homepage   Email DonB   Send New Private Message       Edit/Delete Post   Reply With Quote 
Several of us have beta tested this thing, and it really is very easy to use. If the registry lat/long were perfect this thing would be foolproof. I can update my position in about 3 seconds without opening a browser - click on the program, click retrieve, click submit. The 3 seconds are mostly spent making sure the lat/long are correct. It will accept manual entry of the lat/long also, if the registry is wrong.

It even counts down 30 seconds for you, and you can open a browser to the map directly from the program.

Good job, Sterling!

--------------------
Don Bradner
2004 Blue Bird M380
See our current location

Posts: 11215 | From: Eureka, CA | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DWSson
Member
Member # 20

Icon 1 posted      Profile for DWSson   Email DWSson   Send New Private Message       Edit/Delete Post   Reply With Quote 
Sterling:

I have a problem. I downloaded your new utility. It is neat. However, when I opened it up and hit retreive, it pulled up funny numbers. So I pulled up Administrator (it was running the entire time, along with the positioner) and compared. The utility pulled up the data from Tampa. To be sure, I told your utility to update - sure enough it put me back on my lot at Lazy Days.

Comments?

Don Smucker

Posts: 111 | From: San Angelo, Texas and mobile | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
Scott Whitney
Member
Member # 17

Icon 1 posted      Profile for Scott Whitney   Author's Homepage   Email Scott Whitney   Send New Private Message       Edit/Delete Post   Reply With Quote 
Hi Don,

This probably has to do with Datastorm not updating your location in the registry. You can check the registry by going toStart Menu --> Run --> regedit --> HKEY_LOCAL_MACHINE --> Software --> MotoSAT --> Satellite locator and see what values are set for lat & long.

Here is what Sterling sez about the issue:

The current DataStorm software has a bug whereby it doesn't always write your location to the registry. The best workaround for this seems to be to use Windows' Services console to shut down DSServer, rather than Task Manager. Here's how to set up a shortcut to do so:

Open your Control Panel
Open the Administrative Tools section
Right-click on Services and select Copy
Right-click on your desktop, and select Paste

Scott

--------------------
dishrebuilder.com
transitionarizona.com
Click to donate to this user-sponsored website.

Posts: 2198 | From: Prescott, AZ | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DWSson
Member
Member # 20

Icon 1 posted      Profile for DWSson   Email DWSson   Send New Private Message       Edit/Delete Post   Reply With Quote 
Scott;

You missed my point. My understanding is that if the administrator is closed, then the issue is did it write the latest info to the register. But I purposely left my administrator running, with the current data in it. Prior to that, to cover Sterling's issue, I had closed Dsserver by Sterling's method, so my register should have been updated, either by closing dsserver with administrative services, or because dsserver was still open (I reopened it). Then I got the utility, and then it entered the old data.

My point is that Serlings's utility is great. But if there is a data error, it needs to be fixed.

Don S.

Posts: 111 | From: San Angelo, Texas and mobile | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DonB
Administrator
Member # 1

Icon 1 posted      Profile for DonB   Author's Homepage   Email DonB   Send New Private Message       Edit/Delete Post   Reply With Quote 
My testing indicates that the only time that Datastorm writes lat/long to the registry is when the DSServer is closing. That is not the way Ed thought it worked, and I don't think it should work that way - it should write after any successful pointing. Hopefully that will be addressed in a future Datastorm release. Leaving the Administrator running has no effect on Sterling's app, but perhaps it should.

Sterling, what about first checking to see if the Administrator is running, and pulling the lat/long from it if it is, then going to the registry as second choice?

--------------------
Don Bradner
2004 Blue Bird M380
See our current location

Posts: 11215 | From: Eureka, CA | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
Sterling
Member
Member # 60

Icon 1 posted      Profile for Sterling   Author's Homepage   Email Sterling   Send New Private Message       Edit/Delete Post   Reply With Quote 
I have found that shutting down DSServer from the Services console is the only reliable way of making it write the lat/lon to the registry. It will occasionally do it by itself at other times, but not with any pattern I can discern.

I have never seen DSServer fail to update the registry when "asked" to shut down from Services, but that doesn't mean it can't happen. The registry updating is pretty flaky, so nothing would surprise me at this point about it.

This is why I have separate Retrieve and Submit buttons - to allow the user to verify (and, if necessary, correct) the lat/lon before submitting it. If it were reliable, one button would suffice. Hopefully we can move to this at some point.

quote:
Originally posted by DonB:
Sterling, what about first checking to see if the Administrator is running, and pulling the lat/long from it if it is, then going to the registry as second choice?

I'd love to. How? [Smile]

Sterling

--------------------
Can't see the satellite for the trees? Try the free Satellite-Friendly Directory!

Posts: 682 | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DonB
Administrator
Member # 1

Icon 1 posted      Profile for DonB   Author's Homepage   Email DonB   Send New Private Message       Edit/Delete Post   Reply With Quote 
Originally posted by Sterling Udell:
I have never seen DSServer fail to update the registry when "asked" to shut down from Services, but that doesn't mean it can't happen. The registry updating is pretty flaky, so nothing would surprise me at this point about it.

I have never seen it fail when it does shut down from services. I have seen it fail to shut down from services, with the only thing I could do at that point being to crash it.

quote:
Originally posted by DonB:
Sterling, what about first checking to see if the Administrator is running, and pulling the lat/long from it if it is, then going to the registry as second choice?

I'd love to. How? [Smile]

Enumerate the toplevel windows, looking for one with a caption starting with "MotoSAT DataStorm Administrator" and if it exists then enumerate the child windows of that one. Look first for one titled "GPS Longitude" and the next immediately following window will be the value. Look next for "GPS Latitude" and the next immediately following will be the value. The window list does not follow the order in which they are displayed, so latitude actually comes after longitude.

I haven't looked at what you are programming in, but I can supply VB source code to do that.

--------------------
Don Bradner
2004 Blue Bird M380
See our current location

Posts: 11215 | From: Eureka, CA | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
Sterling
Member
Member # 60

Icon 1 posted      Profile for Sterling   Author's Homepage   Email Sterling   Send New Private Message       Edit/Delete Post   Reply With Quote 
Silly me, I was thinking you had the inside track on DLL calls or something... hadn't even considered screen-scraping. [Cool]

I'll get right on it. Might be a little while, we have a lot of driving to do in the next couple of days - not to mention work - but it's certainly doable.

Sterling

[ November 17, 2003, 08:14 PM: Message edited by: Sterling Udell ]

--------------------
Can't see the satellite for the trees? Try the free Satellite-Friendly Directory!

Posts: 682 | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
Sterling
Member
Member # 60

Icon 1 posted      Profile for Sterling   Author's Homepage   Email Sterling   Send New Private Message       Edit/Delete Post   Reply With Quote 
Version 1.1

Don's suggestion has been incorporated, along with a few other tweaks, and a new version of the Locator app is now available for download:

DataStorm Locator

Release notes:
  • It first looks to see if the DataStorm Administrator application is open, and if it is, gets the lat/lon from there. This seems to be pretty close to foolproof, if DSAdmin is open and its GPS is locked on.
  • If it's not open, the Locator looks for the lat/lon settings that DSServer is supposed to write to the registry. "Supposed to" is the operative phrase here - see notes above about shutting down DSServer from Windows' Services console, not from ctrl-alt-del.
  • I have also added a link to MapQuest which should allow you to verify your location before submitting.

As usual, feel free to post any questions or issues here. And my thanks go out to the folks who have beta tested these releases.

Don, maybe we should have an Article posted here about the map and this program?

Sterling

--------------------
Can't see the satellite for the trees? Try the free Satellite-Friendly Directory!

Posts: 682 | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DonB
Administrator
Member # 1

Icon 1 posted      Profile for DonB   Author's Homepage   Email DonB   Send New Private Message       Edit/Delete Post   Reply With Quote 
Originally posted by Sterling Udell:
Don, maybe we should have an Article posted here about the map and this program?

Yes. I will also put up a copy on this site for download. I'm still adding things (see one of the other active threads), so I will wait a bit before doing the article.

--------------------
Don Bradner
2004 Blue Bird M380
See our current location

Posts: 11215 | From: Eureka, CA | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
DonB
Administrator
Member # 1

Icon 1 posted      Profile for DonB   Author's Homepage   Email DonB   Send New Private Message       Edit/Delete Post   Reply With Quote 
There is now an article (in the articles section, click the logo above left to go to the main DatastormUsers.com page) about the map and how to use it.

--------------------
Don Bradner
2004 Blue Bird M380
See our current location

Posts: 11215 | From: Eureka, CA | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
Sterling
Member
Member # 60

Icon 1 posted      Profile for Sterling   Author's Homepage   Email Sterling   Send New Private Message       Edit/Delete Post   Reply With Quote 
I have just put another release of the Locator program out for download, from the same location as before. Only change is the addition of a Minimize button.

Don, if you'd like to put a copy for download here that's fine, otherwise I don't mind hosting it where it is.

Sterling

--------------------
Can't see the satellite for the trees? Try the free Satellite-Friendly Directory!

Posts: 682 | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
George M Campbell
Member
Member # 461

Icon 1 posted      Profile for George M Campbell   Author's Homepage   Email George M Campbell   Send New Private Message       Edit/Delete Post   Reply With Quote 
quote:
Originally posted by DonB:
There is now an article (in the articles section, click the logo above left to go to the main DatastormUsers.com page) about the map and how to use it.

DonB,

With the latest Beta version of Opera 7.50 the map functions perfectly, including updating and logging in. No more IE cookie issues.

The new version can be downloaded here, still in Beta, be sure to install in a separate directory from any existing copy of Opera you may have on your computer.

http://snapshot.opera.com/windows/o750tp1_3494.exe

George M. Campbell

--------------------
Driver Does Not Carry Cash
F1, D2, 4020, SatMex5, 1130. http://raffinorgangrind.textamerica.com/

Posts: 418 | From: Charleston, SC | Registered: Aug 2003  |  IP: Logged | Report this post to a Moderator
Bill Adams
Member
Member # 24

Icon 1 posted      Profile for Bill Adams   Author's Homepage   Email Bill Adams   Send New Private Message       Edit/Delete Post   Reply With Quote 
George,
I have been playing with Opera (7.5 and 7.23) for the last few days. I cannot find that it does anything better or faster than IE. What is your reasoning for Opera and what are the advantages that I am missing?

--------------------
Bill Adams
Winegard Company

Posts: 15695 | From: Traveling the Western US | Registered: May 2003  |  IP: Logged | Report this post to a Moderator
  This topic comprises 3 pages: 1  2  3   

Quick Reply
Message:

HTML is not enabled.
UBB Code™ is enabled.

Instant Graemlins
   


Post New Topic  Post A Reply Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


E-Mail DonB | DatastormUsers.com | Forum hosting courtesy of Arcata Pet Supplies

Powered by Infopop Corporation
UBB.classic™ 6.7.0