LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What is Best Practice for how to move VI from Parent to Child Classes?

I have a project with one Parent class and two Child classes.  I have a need to move a VI from the Parent class to a child class and move the VI from the other child class to the Parent class.

The Project example looks like this:

 

Project.png

 

Is there a way using the Project to easily move the VIs with a minimum number of steps?  I can move them and reselect the lvclass control.  I can accomplish this with more steps than what I would like.  (moving in the project, pointing to the new class, applying library icon, moving on disk, making SVN know what happened, etc.)

 

What I am asking is the easiest way to do this.  What is the best and easiest method?

 

 

Mark | CLA
0 Kudos
Message 1 of 4
(3,104 Views)

I generally use the "clone method" feature of LVOOP Assistant for this kind of thing (though that still leaves the extra step of deleting the original method, so it's not a easy as it could be).

0 Kudos
Message 2 of 4
(3,089 Views)

Or you could use G# . It has a Move Method function that renames, moves on disk, applies icon, all in one go. It supports LabVIEW-native classes too.

Certified LabVIEW Architect
Message 3 of 4
(3,012 Views)

How about leaving the VI in the parent and making it dynamic dispatch?  Create an override in the child class?

CLA
0 Kudos
Message 4 of 4
(2,985 Views)