LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Example of the google earth plug in LabWindows

Hello.

 

Anyone ever used the Google Earth plugin LabWindows as was done here in C #.

 

http://fraserchapman.blogspot.com/2008/08/google-earth-plug-in-and-c.html

If so, could someone give a simple example.

Thank you.

 

 

Edit : The big question is, how to load the plugin in LabWindows?

Message Edited by ivan braga on 01-19-2010 07:18 AM
Message Edited by ivan braga on 01-19-2010 07:19 AM
0 Kudos
Message 1 of 9
(6,161 Views)

you probably could use ActiveX

 

Wolfgang

0 Kudos
Message 2 of 9
(6,150 Views)

Hello Wolfgang

 

Yes, I think it should also be with ActiveX.
I do not know how to load the plugin for google earth.
Could you give an example of how to do it.

 

Thank you.

 

Ivan

0 Kudos
Message 3 of 9
(6,105 Views)

Hi Ivan,

 

I am sorry to provide just a brief answer, but I am frantically busy...

 

There are some ActiveX examples coming with CVI, may be they can give you a clue of how to proceed...? Anyway, I have no experience with the Google earth plugin, so I cannot be much more specific.

 

Wolfgang

0 Kudos
Message 4 of 9
(6,095 Views)
Someone could at least give an example?

It can be quite simple, just how to load the plugin, and display the marker in any coordinate.

Seeing an example with these details, I manage the rest.

I ask this collaboration, because I finally concluded a project using a GPS tracker, GPRS and a microcontroller and a need to develop a PC application.

I tried to understand the example above site, but know nothing about C # and Visual Studio.

And as recently LabWindows used for another project with a microcontroller using USB, I felt very comfortable with the software, because I work with in linguagen C compilers for µC.

Thanks

Ivan
0 Kudos
Message 5 of 9
(6,050 Views)

I have no knowledge of the Google Earth plug-in in particular, but if it is in the form of a standard ActiveX one then you can easily load it into CVI. Just follow the wizard under the CVI menu item Tools->Create ActiveX Controller and see where it takes you. If it all works out OK you should end up with a CVI fp instrument with which you can make simple calls into the plug-in.

 

JR

0 Kudos
Message 6 of 9
(6,022 Views)

Hello jr_2005.

Thanks for your reply.

As you can see in the image below, I load plguin Google Earth.

 

 

GE_plugin.jpg plugin.jpg

 


What I really need to know is how to display this other image of the Earth. As was done in the example above site.

 

earth.jpg  local.jpg

Sorry for not express well what I tried to say. English is not my native language.

If I can see an example of how to get this image of the earth and the location of any location will be easy to understand the concept.

My big difficulty is that I'm not very familiar with LabWindows is much less programming for MS Windows, but I have done some things, however I never used ActiveX, this is the reason for the difficulty.

Well, as I wrote in a previous post, I am aware programming microcontrollers in C language and feel comfortable with LabWindows.

Thanks again for your reply.

Ivan

0 Kudos
Message 7 of 9
(5,997 Views)

I wouldn't worry too much about the terminology. The CVI wizard has handled all the ActiveX management for you - you now are presented with a list of functions that you can call with your own C program. The tricky bit is to figure out what functions you need to call and in what order. Clearly this is not a CVI issue - you need to have some knowledge of how Google Earth works. Along with the plug-in, there might have been a set of help files. If you double-click on any of the function names in the list shown in your screenshot (for example: IKmlCoord) this will open up the instrument panel for that function. Press Shift-F1 in that panel and with a bit of luck this will open up the help file that accompanied the plug-in and you should be able to figure things out from there. If no help file is present then it looks like you will have to look elsewhere - perhaps there is a user/programmer's forum at Google Earth?

 

JR

0 Kudos
Message 8 of 9
(5,984 Views)

Hello.

 

How do I get sample code?

 

I load plguin Google Earth. but I have same problem..

 

 

0 Kudos
Message 9 of 9
(5,569 Views)