I am calling a sub-VI's dynamically using the Run VI Method, and displaying it's front pannel in a sub-pannel, using the SubPanel Invoke Node.

You can drag and drop this snippet in LabVIEW to copy the code.
When calling two identical sub-VIs (
sub1.vi and
sub2.vi) the elements from each sub-VI are not aligned within the sub-pannel. In this case, Boolean1 in
sub1.vi and Boolan2 in
sub2.vi don't appear at the same position in the sub-pannel.


I have tried editing the sub-VI's properties in order for each sub-VI to have the same position. However, if I moove the sub-VI's scrolling bar, the position of the front pannel is overwritten when called in a sub-pannel.

To edit the front pannel position :
1. Open the sub-VI
2. Navigate to
Files >
VI Properties3. Select
Window Run-TIme Position in the Category drop-down menu
4. Select
Custom in the Position drop-down Menu
5. Deselect
Use Current Position6. Choose origin using the
Top and
Left Position