PaulL Posted December 18, 2007 Report Share Posted December 18, 2007 OK, this is one I decided I should figure out eventually, and eventually is now here! I have a number of LVOOP classes in my current project that I want to reuse in other projects. Accordingly, I want to move these classes to the user library. How do I do this effectively (without breaking the calls to the member VIs from other project files and without saving one VI at a time)? I have done this a couple times with small classes, saving each VI in succession, but I think there must be an easier way I'm missing.... Quote Link to comment
Aristos Queue Posted December 18, 2007 Report Share Posted December 18, 2007 Use AppBuilder to build a source distribution. Quote Link to comment
PaulL Posted January 9, 2008 Author Report Share Posted January 9, 2008 For the record, the following seems to work (thanks to NI support!): Select the class in the Items tab in the project and do a Save As... Rename to put the class in the desired folder in the user.lib. Then in the Files tab select the class methods in the old location and use the Move on Disk... option. The old directory will disappear from the Files view if there are no other project files in that folder. (Be mindful that any files that may have been associated with the class but are not part of the project could still exist on disk.) This method requires a bit of care but seems to work OK and is reasonably efficient. I did encounter some issues with my project, but I think they are related to other issues with the particular project file. 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.