LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug with block diagram labels in 2013

I just reported a minor but interesting bug with the block diagram free labels in LabVIEW 2013.  If you attach a free label to a structure of any kind using the gluph in the bottom right corner of the comment then resize the structure in the direction of the comment it causes the entire block diagram to resize in that direction.

 

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 1 of 5
(2,840 Views)

Kelly,

 

Thanks for pointing that out! When replicating the steps you took, it was expected that the block diagram would be expanded to make room for the structure. I believe the reason the entire block diagram is expanded is to keep your graphical data flow linear and minimize the number of wire bends.

 

However, when re-sizing the block diagram back to the original size, the comment and other items that were moved are left hanging in their relocated positions, which is unexpected behavior. I'll go ahead and file that behavior as a bug and see if they can fix it in future version of LabVIEW. Let me know if you have any further questions.

 

Thanks!

 

Rob B
FlexRIO Product Manager
Message 2 of 5
(2,793 Views)

I would disagree that the behavior is expected.  If the comment is not immediately next to the structure, but is a distance away, the block diagram does not resize if the comment is not attached to the structure but it does resize when the comment is attached.  I would expect the attachment arrow to simply get shorter unless the structure is resized so large that the comment has to move so as not to interfere.

 

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
0 Kudos
Message 3 of 5
(2,756 Views)

@kbbersch wrote:

I would disagree that the behavior is expected.  If the comment is not immediately next to the structure, but is a distance away, the block diagram does not resize if the comment is not attached to the structure but it does resize when the comment is attached.  I would expect the attachment arrow to simply get shorter unless the structure is resized so large that the comment has to move so as not to interfere.

 


Expected behavior?  Nobody expects the Spanish Inquisition.

 

I am afraid the problem here does lie with your expectations.  When you resize a structure and the new space is occupied by anything other than wires then LV will use "Make Space" to create room.  Make space obeys neither the laws of man or nature, it simply gets the job done with all  the subtlety of a steamroller.  I believe if there is something preventing Make Space from doing its job then NI engineers are automatically dispatched to your office with sledgehammers to fix the problem.

 

I do, however, share your wish for a world where you do not expect LV to wreak untold havoc on your BD when attempting to make space or "clean up".  Here they should probably treat the connecting arrow more like a wire and less like a rigid object.  I'd say bug myself.

0 Kudos
Message 4 of 5
(2,743 Views)

I have reported both behaviors to the development team and expressed that it is an inconvenience to some users. Hopefully they come out with a fix, but as always, thank you for helping to make LabVIEW better.

 

 

Rob B
FlexRIO Product Manager
0 Kudos
Message 5 of 5
(2,730 Views)