02-13-2014 03:09 AM
Hi,
I thought that wires had a unique name, even if they enter inside some "box" (while loops, cases). Instead, as in the picture below, I was able to assing different name "Timeout" vs. "TimeoutW", to a wire which is basically the same.
Is there any option to give wires a unique name ?
02-13-2014 03:14 AM - edited 02-13-2014 03:15 AM
Hi Runawaycode,
well, branching a wire creates (or better: may create) a data copy - THINK DATAFLOW!
Different datacopies can have different labels…
AFAIK there is no such option, so you may propose your idea in the LabVIEW idea exchange!
02-13-2014 04:25 PM
I'm not clear on what you are asking for here, and if it is any different than what LabVIEW already does now. It make come down to terminology.
If a wire has multiple branches. It still has the same value and the same name. A wire can't have a different name just because it breaks off another wire at a joining dot. Now when a wire enters into another structure, it is a different wire and can have a different name, even if there are no other branches on the wire that is entering the structure.
Whether the different wires cause data copies or not is purely up to the compiler.
So what you show with a wire label in the inner most while loop having a different label than the wire in the outermost while loop is already available today.
If you are talking about something different, please clarify.