11-26-2013 10:07 AM
I have two LabVIEW projects. One of them works fine. I want to use two VIs from the working project in my other project. However, when I copy the VIs to the other project, it states that the subVIs are not executable and there is an invalid method, refnum class and constructor.
11-26-2013 11:03 AM
You have the advantage of having a working set of Vi's. Look at the broken Vi and then figure out how to fix it by looking at the working Vi.
For example, the method is pointing to something in the working version. But in the copied version that something is missing, so it is broken. Since I don't have any code to look at I have no idea what it should be pointing to.
11-26-2013 02:14 PM
What exactly do you mean by project? The issue you are describing sounds more like you are trying to use a few VIs from either a library or a class. Projects do not impose any restrictions on the scope of VIs. It would be much easier if you could post some screen shots of the project and indicate what you are trying to copy.
The real question though is why are you copying the VIs? If you take the time to organize your code correctly you should be able to simply reuse the code without having to copy it.
11-26-2013 02:29 PM
Never mind I've got it. Thanks all.