02-14-2013 08:52 AM
Hi everyone
I start objected oriented program with labview, I have two sample project and I want to import their classes into my new project? is it possible to do that ? how can I import them ?
thanks
02-14-2013 08:58 AM
You can simply add them like you would any other VI or library. I would recommend creating a virtual folder for your classes so you can keep your project organized.
02-29-2016 07:37 AM
Drag & Drop can bring you so many problems.
The best way I found is:
Ciao!
Carmine
05-14-2020 03:48 PM
i am having the same problem. drag and drop does not work as the icon of the class i am dragging immediately turns into a circle with a slash across it as soon as it gets into the project window, much less the virtual folder i have created.
next i did a right click on the virtual folder and selected "add" then "file", navigated to the lvclass file and selected "OK". i couldn't understand the errors that came up next.
i wish someone would explain how this should work.
05-14-2020 06:01 PM
Can you post what the errors said?
05-14-2020 08:55 PM
no error messages. i could drag the .lvclass file but could not drop it into my virtual folder.
05-14-2020 09:17 PM
Well you said "i couldn't understand the errors that came up next." so I assumed there was an error message...
If there's no error message, it just doesn't let you add the class, I guess I'm not sure what the issue is for you, sorry. For me it works to add a class either by drag and drop or right click to add. Maybe for you there is some dependency issue where it can't load the dependencies of the class or something?
05-15-2020 09:13 AM
sorry about the confusion. the drag and drop method never worked. i didn't get the error messages until i tried the right-click/add file method. i wish i had done a screen capture and provided that as an attachment.
i have redone the exercise three times now and on this last go around the right-click/add file method is now working without giving me and error message.