MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




LabView Example?

This is a discussion on LabView Example? within the MapPoint 2006/2009 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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2006
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2006
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,322
Blog Entries: 1
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
__________________
~ Now taking orders for MapPoint 2009 ~
~
~ Upgrade to MapForums Plus membership ~
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-05-2006
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 01-06-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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);
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2006
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2006
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
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)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 05:03 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Flights Spain
Flights to Spain don't have to burn a hole in your pocket. Holiday Hypermarket can help you to find the latest great offers from a range of airlines.

Travel Counselors
Travel Counselors are an award winning Travel Agent. Why not have a personal Travel Counselor help with your travel plans.

Cuba Holidays
After years of neglect by the western world, Cuba is coming back onto the holiday scene. Cuba Holidays are a unique and enjoyable experience. Book at dealchecker.co.uk.

Jamaica Holidays
Jamaica holidays give you the chance to enjoy the vibrant cultural heritage and wonderful laid back atmosphere of the Caribbean. Book here!

Cheap Holidays
Hunting for cheap holidays? Well save time by booking online with ulookubook.com and you can even check out our top tips to help you hunt down a bargain holiday.

Price Compare
Visit Travel.co.uk for and compare not only price, but also the wide variety of options available.

Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal at On The Beach.


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