Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: RR and Windows 7/8 Location/Sensor API

  1. #11
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    589
    Quote Originally Posted by obrienj View Post
    VegasGuy,

    You describe the System.Devices.xxx (xxx = Location for GPS) correctly except for Windows 8 which will not allow (easily) that capability in desktop apps according to some MS doc I have read. Other non-MS doc says you can "fool" Windows into allowing one to use the sensors in a desktop app but it requires some obscure privileges manipulation. Since I have no plans to use Metro (or Modern if you prefer) this might present a problem. One option is to use a third party program that allows Metro apps it run on the desktop and "hack" that way.

    On the other hand, I would assume your Localizer requires Centrafuse to work and is not a stand-alone package. Might be attractive if it was standalone. It and Franson GPSGate would be an interesting combination for tablets with built-in sensors unless Franson decides to do it themselves. What I have heard from them is that it is being considered.

    BTW, my tablet is a Lenovo Thinkpad Tablet 2 and should arrive this week and I will start "playing" with it.

    Regards,
    Jim
    Centrafuse Localizer is completely standalone. It will work with any desktop application. I use it with Franson GPS gate to split the output to multiple nav programs during testing. Works like a champ.
    http://www.centrafuse.com/centrafuse-localizer

    Cheers!

  2. #12
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    VegasGuy,

    Excellent!

    I ordered and downloaded Localizer this AM.

    I have my BU-385 plugged in and it is at COM20 which I can't access from the Localizer menu.

    Will Localizer work with an external GPS receiver or should I wait until my tablet gets here?

    Or are there other setup things I must do?

    Could you explain how you setup Localizer and Franson GPSGate?

    I need to use GPSGate as I have 3 apps (Sygic being one) that need their own GPS com port.

    Any help or doc pointers would be helpful.

    Regards,
    Jim

  3. #13
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    589
    Quote Originally Posted by obrienj View Post
    VegasGuy,

    Excellent!

    I ordered and downloaded Localizer this AM.

    I have my BU-385 plugged in and it is at COM20 which I can't access from the Localizer menu.

    Will Localizer work with an external GPS receiver or should I wait until my tablet gets here?

    Or are there other setup things I must do?

    Could you explain how you setup Localizer and Franson GPSGate?

    I need to use GPSGate as I have 3 apps (Sygic being one) that need their own GPS com port.

    Any help or doc pointers would be helpful.

    Regards,
    Jim
    Well obviously, Localizer isn't actally needed in this scenario, since you have a GPS connected to a comport already. But for testing purposes and to get the concept of operation, here's what you'll need:

    1. Download the GPSDirect from the Centrafuse repositiory: (x86) http://repo.centrafuse.com/centrafus...st/gps7s32.exe , (x64)http://repo.centrafuse.com/centrafus...st/gps7s64.exe
    2. Install the appropriate version and run it. Set it to use the right comport for your GPS, verify that it is receiving data, and close it. This is the driver for the location platform. This creates the GPS sensor for Localizer to attach to.
    3. Now run Localizer. It should find the GPS sensor, and start displaying data. The port list is the one YOU are offering to the system, not the port you use to connect to the GPS.
    4. If localizer reports that the sensor is ready and you are receiving data (you can see $GP data in the bottom window, select a comport and press the "play" button. Localizer is now delivering NMEA data to the selected port.
    5. You can attach Franson GPSGate to the selected port as you would any normal comport.

    Cheers!

  4. #14
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    VegasGuy,

    Thank you for the detailed explanation.

    And yes this is only for testing but will help during future development which occurs on my Win 7 laptop with an external GPS.

    BTW, when I ordered and paid for Localizer I was presented with an invoice that included a download option, all of which I expected.

    However, when I clicked the "Download" option I was told I was downloading the "trial" version.

    Is there a license code or something or does the download know it was purchased?

    Just a little confusing, nothing major.

    Again, thanks.

    Regards,
    Jim

  5. #15
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    589
    On your "My account" page on www.centrafuse.com, you'll see a link to "Manage License". On that page you can create a license file for localizer. You'll need the hardware ID (click the "About" menu item in localizer). THe license will be emailed automatically to your account email address. Drop it in the localizer folder and you're all set.

  6. #16
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    VegasGuy,

    Thanks for the license info, I will wait for my tablet and just have the one license for now. The trial will serve my testing purposes.

    I did the GPSDirect exercise and Localizer now sees the BU-3xx external GPS and displays the incoming data which, from casual glance, looks OK.

    I selected COM8 as the output comport.

    When I start Franson GPSGate and select COM8 as the input and start it I get "Running OK" and "Unknown data is coming in".

    It would seem I have done something wrong. Does that port accessed in GPSGate need any special settings?

    Device manager shows COM8 as an Eltima Virtual Serial Port.

    Regards,
    Jim

  7. #17
    Variable Bitrate
    Join Date
    Nov 2006
    Posts
    265
    VegasGuy,

    Localizer seems to have some problem with resuming from hibernate.

    I hibernated the machine at the state indicated in my previous post.

    After resume, I see:

    1. None of the incoming variables except timestamp update and most of the others except lat and lon are zeros.

    2. "GSP Status" is stuck displaying "Initializing".

    3. NMEA sentences are being updated at the bottom.

    4. COMx (COM8 in my case) shows "Connected".

    5. Franson GPS gate shows "Running OK" and "Unknown data is coming in" (As in my previous post).

    BTW, would you like me to move this discussion to the Centrafuse forums as it isn't really RR related.

    Regards,
    Jim

  8. #18
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    589
    Yeah, lets move it to the localizer forum over on the Centrafuse forums. That way, everyone can benefit.

    Thanks!

  9. #19
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1
    Quote Originally Posted by VegasGuy View Post
    I offer my personal observation (for what its worth)
    As far as native support for external GPS goes, no. Windows 8 will not recognize your external GPS (automatically) unless it has the necessary sensor driver installed.
    I am afraid I did not word what I said correctly, sorry. What I meant, is in Android & iOS at least, if you connect to an External GPS, it will automatically switch to using that signal overriding the internal GPS sensor. Yes, drivers are needed for Windows I am sure, UNLESS you connect a Bluetooth GPS device, then it is just a matter of pairing it.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  10. #20
    Maximum Bitrate
    Auto Apps:loading...
    VegasGuy's Avatar
    Join Date
    May 2009
    Location
    Las Vegas
    Posts
    589
    Quote Originally Posted by JohnWPB View Post
    I am afraid I did not word what I said correctly, sorry. What I meant, is in Android & iOS at least, if you connect to an External GPS, it will automatically switch to using that signal overriding the internal GPS sensor. Yes, drivers are needed for Windows I am sure, UNLESS you connect a Bluetooth GPS device, then it is just a matter of pairing it.
    John,

    I still don't think you've quite got the picture with regards to Windows 8. There is no auto-discovery mode in Windows 8 that will detect the presences of an external GPS device, install a sensor driver, and then make the location data available to the system. A GPS is not a sensor until it has a sensor driver associated with it. What Win8 WILL do is enumerate the installed sensors, and if it has a high-precision location sensor (GPS/GNSS), it will automatically use that for positional data rather than lower precision methods. GPSDirect is a generic GPS device driver which can be used with external GPS devices, but it only works manually. You have to configure it for the specific port that the GPS is attached to (USB, Serial or Bluetooth). Once configured, it will launch at startup and make the device available to the system as a high-precision location sensor.
    From my experience, It WILL NOT necessarily override the internal GPS/GNSS device. They are both high-precision sources. I can't state for a fact that the Windows location platform can differentiate between two location sources of the same precision type. That would require it to compare the HDOP/VDOP/PDOP values. In some cases, all of those values might not be present for both devices. Probably getting too deep into the weeds here, but lets just say I haven't seen any thing on the web that suggests Win8 refines its locational data to that level when multiple HP location sources are available.



    The short version is that a "sensor" in Win8 is basically a device driver. The input side may get its data from hardware or possible a software emulator, and the output side exposes a more or less standardized set of properties, methods and events that are accessible by the OS and applications.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 06-28-2013, 07:27 AM
  2. Replies: 0
    Last Post: 12-20-2011, 03:11 PM
  3. Replies: 1
    Last Post: 10-10-2009, 04:57 AM
  4. Ideal location for a temperature sensor??
    By carpcnoobie in forum General Hardware Discussion
    Replies: 12
    Last Post: 10-07-2005, 12:07 AM
  5. Windows 95-98 networking + Windows machine booting in dos mode every time...
    By SkinnyBoy in forum General Hardware Discussion
    Replies: 29
    Last Post: 08-21-2001, 12:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •