klessm1 Posted October 10, 2006 Report Share Posted October 10, 2006 I have noticed that when you call the LabVIEW developement environment using ActiveX it will only open a reference to the last used version of LabVIEW. Is there a simple way to call the version you want. I can think of two ways, but they are not very pretty. One is to open the version of LabVIEW using the call exe function before calling the ActiveX open (haven't tried this, so I don't know if it will work). The other is to update the registry so the ActiveX call thinks the last LabVIEW opened was the one that you want. Isn't there a simple way out there? The target application I am thinking of using this functionality are tools that can save vi's in any version, but the entire tool is written in only one version. It would be an EXE that calls out to the LabVIEW development environment using ActiveX for the save. Thanks for any inputs. Quote Link to comment
Aitor Solar Posted October 11, 2006 Report Share Posted October 11, 2006 Have you tried invoking the server object with the desired version? For example, "LabVIEW.Application.7.1" instead of just "LabVIEW.Application". Saludos, Aitor Quote Link to comment
klessm1 Posted October 14, 2006 Author Report Share Posted October 14, 2006 Have you tried invoking the server object with the desired version? For example, "LabVIEW.Application.7.1" instead of just "LabVIEW.Application".Saludos, Aitor Yeah...you can't really do that. You can't really force the activeX through the registry, or by calling the exe first and then calling the activeX. It will call the LabVIEW version that was first opened when multiple versions are opened, the version that is open if you are just using one version, and the last called version if you call the ActiveX from an EXE with no versions open. The way we are going to use the function though I think it will work as long as they don't have more than one version of the devlepment environment open. It will use the version that is open that they are calling the EXE from. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.