LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX GEPlugin Unspecified Error

Hi all,

 

I'm trying to use the Google Earth plugin with ActiveX in LabVIEW. Attached is the VI that I have been working on.

 

It mostly works, but I keep experiencing an error that I don't know how to resolve. Sometimes, for no reason that is obvious to me, one of the invoke nodes will throw a "-2147467259 Unspecified Error" upon execution, and the Google Earth control will not populate.  Rerunning the VI after that point will always throw the same error.  However, closing LabVIEW completely and then reopening it will usually cause the error to go away, and then the control will populate. However, running it again after it has populated will throw the error, which will keep reoccurring as before.

 

It's rather annoying to have to completely close LabVIEW every time an error is encountered; has anyone experienced this before?

Also, just a warning: I'm a mechanical engineering student with only a very small amount of computer programming experience.  This is all quite new to me.

 

Thanks in advance!

Download All
0 Kudos
Message 1 of 2
(2,199 Views)

Hi BFinney,

I found a bunch of other exmples to help you with your problem. Seems that using the Google Earth Plugin with LabVIEW is common. Hopefully the below forum posts and examples can help you with your application.

http://forums.ni.com/t5/LabVIEW/Google-Earth-in-Labview-in-2012/td-p/1875339
http://forums.ni.com/t5/LabVIEW/Control-Google-Earth-Plugin-API-in-Labview/td-p/802199
http://forums.ni.com/t5/LabVIEW/Viewing-google-earth-maps-in-labview/td-p/821255
https://decibel.ni.com/content/docs/DOC-11225

http://forums.ni.com/t5/LabVIEW/Need-help-solving-Error-3005-using-activex-server-and-automation/td-... - this one references the same error code you have

The error you are experiencing is very vague and most likely due to improper use of the API functions. I think it will be very helpful for you to reference the posts listed above. I hope this helps!

Michelle G
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(2,174 Views)