LAVA 1.0 Content Posted January 27, 2009 Report Share Posted January 27, 2009 I want to get a reference to a library that already is in memory. For a VI I would use 'Open Vi' with a string with the VI name. Now I would like to do the same for a library. Unfortunately the App.Open Library method only accepts strings. Does anyone know how to do that? Thanks, Ton Quote Link to comment
Francois Normandin Posted January 27, 2009 Report Share Posted January 27, 2009 QUOTE (Ton @ Jan 26 2009, 03:42 PM) I want to get a reference to a library that already is in memory.For a VI I would use 'Open Vi' with a string with the VI name. Now I would like to do the same for a library. Unfortunately the App.Open Library method only accepts strings path. There's a private property "App.Project.Librairies[]" that returns an array of references to all librairies in the current project window. With its name, you can sort it out. However, it won't work in RTE... I don't know of a more direct public method. 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.