04-14-2006 01:38 AM
04-14-2006 04:55 PM
ROMP,
In order to get a reference to a particular .lvlib and it's contents, you must use the VI's on the application control palette. In particular, you can use an invoke node that takes the path to your .lvlib file as input so you can get a reference directly to that LV Library file within your project. Then you can use a property node to look at the "children" within that .lvlib file. Index whatever "child" you want to affect and you can get and set properties, and in your case, get a reference to the shared variable within that library. Refer to the shipping example called "Add Files to Project" to get an idea of how to use the VI's on the application control palette in this way. Best of luck!
04-18-2006 12:37 AM
01-16-2013 06:09 AM - edited 01-16-2013 06:09 AM
Hi,
i might be overlooking something here, but i can only seem to open a vi refenece and not a "library" reference. when i use the "open VI reference.vi" from the programming->application controll menu it throws an error at me.
currently i have worked round this by using a member of the lib to then get its "library" property and do what i want from there. However this isnt the best way for me as i want to be able to start with just a .lvlib file path and then document information about this library.
Any help on how to open a ref to a .lvlib dirrectly would be fantastic.
Chris
01-16-2013 07:29 AM
You need to open an application reference, rather than a vi reference. You can the select the method Library.Open which takes the path to the library and returns a reference to it.
MC
09-28-2018 04:01 AM - edited 09-28-2018 04:02 AM
Digging up an old thread
Is there any way to do the same, but for a library/class that has not yet been saved and only exists in memory?
09-28-2018 05:48 AM
This method seems to work for unsaved libraries and classes well:
Application class Invoke node: Library.Get Ref By Qualified Name