Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 6 of 6

LabView Example?

This is a discussion on LabView Example? within the MapPoint Desktop Discussion forums, part of the Map Forums category; I am new to mappoint and using LabView 7.1. Have not found any examples on using MapPoint (MP2004 on any ...

  1. #1
    rramage7 is offline Junior Member White Belt
    Join Date
    Jan 2006
    Posts
    3

    LabView Example?

    I am new to mappoint and using LabView 7.1. Have not found any examples on using MapPoint (MP2004 on any LabView forum and not finding any examples using LabView on this forum. Hoping someone here will provide an example to get me started. Thanks in advance for your help.
    RR

  2. #2
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4
    Is this the software? http://www.ni.com/labview/whatis/

    What do you want to do with MapPoint? Maybe we can help you with that approach.

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

  3. #3
    rramage7 is offline Junior Member White Belt
    Join Date
    Jan 2006
    Posts
    3
    Hi Eric,

    Yes, you have the correct web site, Labview is an NI product.

    My project requires use of a GPS, MapPoint 2004 NA, LabView and either Win2k or WinXP platform. The added use of MapPoint with very large existing LabView program prevents me from looking at other development options at this time. Since the computer may not have access to the internet, we need to use stand alone MapPoint installations instead of using web access. However, the web access may be an alternative with a corporate license, but I have not checked on the cost??

    Basically I want to input lat-lon, specify a size and pull up map of the area, with capability to zoom in and out. We also plan to overlay data on the map. I planned to use MapPoint ActiveX control to accomplish this, but am open to other suggestions. Mainly trying to get an example to get started with.

    Would appreciate any help you can provide.

    Thanks.
    RR

  4. #4
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    This example get a Location object form a given coordinates, place a pushin on that point, give is a symbol and some text in balloon, then it pan/zoom the map to a given coordinate. I think this will get you start. mp is the activeX control.

    Code:
                Location loc = mp.ActiveMap.GetLocation(lat, lon, alt);
                Pushpin pp  = mp.ActiveMap.AddPushpin(loc, "Hello");
                pp.Symbol = 1;
                pp.Note = "test\r\n" + "and next line";
                pp.BalloonState = GeoBalloonState.geoDisplayBalloon;
                pp.Highlight = true;
                mp.ActiveMap.GoToLatLong(lat, lon, alt);

  5. #5
    rramage7 is offline Junior Member White Belt
    Join Date
    Jan 2006
    Posts
    3
    Do you have a sample vi that shows how to implement this text based code in Labview? I appologize, but am relatively new to both LabView and MapPoint and have not implemented text based code with the LabView G type programming .... not yet anyway.
    RR

  6. #6
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Sorry no. But I did take a _very_ quick view to their website and it seems a kind of graphical programming environment, and is compatible with acitveX components, so it should be possible to use mappoint direcly from it. Is this your intention ?

    If it is then (maybe I'm completely wrong here) I should discourage it and make the mappoint application from a popular programming language to ge more support and use the develped program as an API for labview.

    I dont want to shoot you in the foot, but it seems reasonable to me. You develop in C# or Delphi or VB or whatever and in fact you develop an API for labview. Working as sutch you get optimal support I think

    Sorry if I'm completely wrong hre but please if others have a better idea then please speak and your mouth will go open (Flemish proverb)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96