Jump to content

moving LVOOP class to user library efficiently


Recommended Posts

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....

Link to comment
  • 4 weeks later...

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.