LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

broken cluster elements

Sometimes when I load my rather large Main VI it comes up "broken arrow" even after saving it after correcting the errors. I usually have to go 3 or 4 subvi's and relink broken cluster elements. The elements are there, and there may be a dozen broken wires to or from the cluster, but once I reselect the first element all the others relink and it's fine. Its always the same clusters in the same vi's. If I save it and reload, sometimes it comes back OK but sometimes it comes back broken and I have to relink the cluster elements. This is very strange. Has anyone else seen this?
 
Paul
7.1.1/XP
PaulG.
Retired
0 Kudos
Message 1 of 4
(2,878 Views)

Do you have multiple copies of the same Sub VI in different directories??

My guess is that, sometimes your main VI might be taking sub VI's (with same name but different cluster bundles) from a different locations.

To test his, the next time you open your main vi, if you find broken wires coming into/going out of clusters, check the location of sub vi's

Hope this helps

regards

Dev

 

 

0 Kudos
Message 2 of 4
(2,857 Views)

Hi Paul,

Just to let you know that you're not alone out there. I've seen this behaviour now and then as well, and have found no apparent reason for it.

Martin (7.1/2000)



CLA
https://www.prevas.se/expertis/test--regulatoriska-krav.html
0 Kudos
Message 3 of 4
(2,855 Views)
I don't have any good reasons why your cluster elements would become broken, but I do have a suggestion.  The rule that I follow is that if I am going to be using a cluster in more than two places I will go ahead and create a type def. for it.  This would make it easier for you to add to the cluster in one place and have it update everywhere, and it should help with these linking errors.  If your cluster is a constant, a quick trick is to change it to a control, create a type def. for it.  Once you have replace the cluster control with the type def., change it back to a constant. 

Hope this helps!
Andy F.


-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 4
(2,833 Views)