06-23-2010 06:52 PM
Hi,
I am trying to use a master vi to call a slave vi by using the activex server option. The steps i have taken are:
These steps actually worked on the machine that I built the vis on but if I build the exes and transfer them to another computer I get error 3005 when it tries to open the slave.exe program. In each instance the master and slave vis are both local (not trying to go through a network or anything). I have registered the slave.exe and .tlb file on the new computer, rebooted etc and nothing seems to work. I also tried running the master vi as source code but that didn't work.
The master vi was originally built in labview 7.1 and the slave is built in LV 9.01 but I have since upgraded the master vi to 9.01 to try and resolve the problem.
Is there something that happens during a build that needs to be replicated on the new computer?
Thanks for any help.
Solved! Go to Solution.
06-24-2010 02:41 AM
06-24-2010 11:40 AM
Hmm interesting; I had not seen that article. I wonder if that also applies to LV 7.1? I don't think the vi that has the automation open has ever been edited in 8.5 but I'll give the mass compile a shot anyway. I'll let you know how it goes.
Thanks!
06-24-2010 12:11 PM
Nice, it worked!
I deleted the automation open part of the code from the main vi,
Mass compiled in LV 2009 sp1,
Rebuilt the automation open part from scratch,
Mass compiled again in 2009sp1 just to be sure.
Some of those steps may be redundant but after I did that it worked on the other computer.
06-24-2010 11:27 PM
Glad it worked!!!
04-07-2011 07:42 AM
Help needed ..
am also getting this error 3005 in automation open in LV.
i am trying to design a GPS software by integrating Google Earth Application in LV. i am successful in that. but when i am trying to use its properties like drawing a pilygon or point at particular longitude and latitude am getting error.
I read that mass complie thing was for older LV versions.
am using LV2009.
Attached is the part of code thats creating trouble.
04-11-2011 11:21 AM
Hi KM3.
Did you read and/or try the suggestions in the document linked in the second post? I understand you are using a later version but the OP suggested that it fixed his problem in LabVIEW 2009. If you have tried all of these suggestions, please let us know what exactly the results were.
Regards,
Michael G
04-11-2011 12:10 PM
i made the VI from scratch .. and now its not giving this error in automation open. but now its giving Error -2147467259 in property node of GEPlugin.
Cant figure out the reason why its happening. the node have just one string input and that is of id of GEPlugin ( like id of polygon or point or line)
04-12-2011 11:44 PM
Hi again KM3.
While the error you mentioned can mean a wide range of things depending on the situation, my guess here is that the ID specified is not one that is valid according to the property node. Where exactly are you getting this ID? Where is it specified?
Michael G
04-13-2011 11:27 AM
here is the whole story..
I integrated google earth application in labview, and its working fine. then i wanted to draw lines and draw polygon on the map at required long/lat .. so from "GEPlugin type library version 1.0" i selected "GEPlugin.IGEPlugin" as an activeX class. now properties from GEPlugin.IGEPlugin are working fine.. but methods are not.. and all methods are giving errors.. i guess i am selecting the wrong library :s
i am using Google Earth version 6.0.1.2032 (beta)