01-19-2010 07:10 AM - edited 01-19-2010 07:19 AM
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?
01-19-2010 08:00 AM
you probably could use ActiveX
Wolfgang
01-20-2010 10:41 AM
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
01-20-2010 01:36 PM
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
01-22-2010 08:22 PM
01-25-2010 04:28 AM
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
01-25-2010 04:06 PM
Hello jr_2005.
Thanks for your reply.
As you can see in the image below, I load plguin Google Earth.
What I really need to know is how to display this other image of the Earth. As was done in the example above site.
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
01-26-2010 03:41 AM
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
05-28-2010 04:53 AM
Hello.
How do I get sample code?
I load plguin Google Earth. but I have same problem..