LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Naming a wire prior to bundling?

Solved!
Go to solution

I have a wire coming out of a series of math functions. The wire had a name prior to going into the math functions, but it became unnamed after exiting.

 

This is fine, normally, but it plays havoc when I bundle it into a cluster. I can no longer unbundle it by name because it doesn't have one anymore.

 

Is there a way to name the wire prior to bundling?

 

I know I could create a 1-in/1-out subVI that would  name the wire, but I was hoping for something more elegant.

0 Kudos
Message 1 of 3
(2,858 Views)

Use a bundle by name node?  If you know how many elements you're going to have clustered, it's more efficient to use a bundle by name (with an initialization cluster at the beginning of your program to set all the names) because you're only accessing fixed data space.

 

Message Edited by JeffOverton on 11-14-2008 12:29 PM
Message 2 of 3
(2,851 Views)
Solution
Accepted by topic author PConrad

When you use a bundle by name function, you create an input wire to the middle terminal of that function.   The constant that defines that cluster can have the values named.

Message Edited by Ravens Fan on 11-14-2008 12:30 PM
Message 3 of 3
(2,849 Views)