11-17-2013 06:38 PM
why a disable_structure does not allow a wire not connected to anything ?
... and allows a wire with a loose end.
because it's not possible to put the wire into the structure!
The wire (not connected to anything) is always behind the structure.
why this behavior ? is this a bug ? ... or an expected behavior ?
Solved! Go to Solution.
11-18-2013 11:29 AM
This looks just like you are placing the structure over top of the wire. It does that for all other structures as well.
11-18-2013 11:35 AM
Although I can't imagine why you'd want to keep the disconnected wire, you can select it through the structure and paste it inside.
11-18-2013 12:35 PM
@jcarmody:
Although I can't imagine why you'd want to keep the disconnected wire
sorry, my english is not good enough for explain that.
@crossrulz:
it does that for all other structures as well.
in this case, the question becomes :
why the labview structures don't accept a disconnected wire (disconnected both side) within itself,
while a wire with a loose end is accepted ? (disconnected one side)
11-18-2013 01:33 PM - edited 11-18-2013 01:41 PM
@ouadji wrote:
why a disable_structure does not allow a wire not connected to anything ?
... and allows a wire with a loose end.
because it's not possible to put the wire into the structure!
The wire (not connected to anything) is always behind the structure.
What is your LabVIEW version. I just tested In LabVIEW 2013 and I can place a broken wire fragement freely inside a diagram disable structure and the VI is no longer broken.
Wires without any function connected are never included when dragging a structure around them.
11-18-2013 03:49 PM
I can place a broken wire fragement freely inside a diagram disable structure and the VI is no longer broken.
yes, me too, there is no problem in this case.
the problem comes from this behavior : Wires without any function connected are never included when dragging a structure around them.
Is it a wanted behavior by developers? and if "yes" ... why this choice?
In the case of the "Disable structure", I think this behavior should be different, and allows to drag this structure around unconnected wires.
This structure should allow to disable any code, Including the unconnected wires.
11-18-2013 04:06 PM - edited 11-18-2013 04:16 PM
This is common to all structures. if you try to drag any structure exclusively around wires (broken or not), the wires will stay underneath. There are already existing ideas for that in general (see e.g. here.)
If this should be changed, it should be done globally for all structures. There are arguments for both sides and sometimes one is better than the other. Maybe we should be able to select based on what we need (e.g. by using ctrl-drag to include wires and plain dragging to keep the current behavior).
11-18-2013 04:39 PM
This is common to all structures.
if you try to drag any structure exclusively around wires (broken or not), the wires will stay underneath.
Indeed, it's true, you are right.
broken or not, it's not possible to drag a structure around wires (+1)
by using ctrl-drag to include wires and plain dragging to keep the current behavior
great idea! ... allow both behaviors, it's my dream
thank you altenbach for these explanations and for your time.