LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Another thing not to do (Show Hierarchy view feature)

I may make this my weekly boneheaded bug.  I inadvertantly dropped a sub-vi on a block diagram today that the calling vis call chain.  LabVIEW correctly broke my vi since the sub was not reentrant.  Bonehead me then figured it should be easy to find the reason by View>> Vi Heirarchy Smiley Embarassed.   This was probable a mistake in judgment on my partSmiley Wink.  The result "LabVIEW has encountered a problem and needs to close."  While this feature prevented the IDE from triing to do the impossible I feel it could have been handled a bit more delicatly.  Like, by disabling the Menu option while the error existed or just a pop-up saying "what were you thinking bonehead?"


"Should be" isn't "Is" -Jay
0 Kudos
Message 1 of 3
(2,446 Views)

@Jeff Bohrer wrote:

I may make this my weekly boneheaded bug.  I inadvertantly dropped a sub-vi on a block diagram today that the calling vis call chain.  LabVIEW correctly broke my vi since the sub was not reentrant.  Bonehead me then figured it should be easy to find the reason by View>> Vi Heirarchy Smiley Embarassed.   This was probable a mistake in judgment on my partSmiley Wink.  The result "LabVIEW has encountered a problem and needs to close."  While this feature prevented the IDE from triing to do the impossible I feel it could have been handled a bit more delicatly.  Like, by disabling the Menu option while the error existed or just a pop-up saying "what were you thinking bonehead?"


Maybe that is NI's way of providing negative reinforcement 

Message 2 of 3
(2,443 Views)

Which version of LabVIEW are you using?  I just did the same thing in LabVIEW 2012, and the VI Heirarchy shows the recursive loop.  (Vi1 -> Vi2 -> Vi3->Vi1...etc.)

Systems Engineer
SISU
0 Kudos
Message 3 of 3
(2,397 Views)