LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
rex1030

Add Frame After and Split Frame in Sequence Structure

Status: New

Currently if code is already written, it is difficult to put it into a sequence structure, splitting the code into multiple frames, without breaking wires. It would be great if when I right clicked on the edge of a sequence structure and chose "add frame after" it allowed me to draw the next frame before placing it.

 

Add-frame-after-sequence.png

 

I would also like to be able to selectively split an existing frame up

 

Split-frame-in-flat-sequence.png

 

Wouldn't this be easy and intuitive?

 

I tried to look for other ideas like this on the exchange and all I found was this but he was a little confusing in explaining his idea and how would it work. 

 

---------------------------------
[will work for kudos]
11 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

Years later, just browsing and I don't understand the above argument.

What is the problem with bundling the green arrow VI error output with that of the open handle VI, AFTER clearing the error of the green arrow VI like this:

 

Screen Shot 2016-03-04 at 18.31.53.png

 

The correct order is obtained, and the hypothetical error of Green Arrow VI won't affect the Close Handle VI.

Ergo, this is not a situation where Sequence Structures are needed.

If there had been no error input/output in one of the VIs (or if they had been replaced by old fashioned error code out, nothing in), I would have understood the temptation.

For this kind of situations, I actually have a more compact icon:

 

Screen Shot 2016-03-04 at 18.39.51.png

 

For other cases (such as the error code output I mentioned above), I use these:

 

Screen Shot 2016-03-04 at 19.06.19.png

 

No diagram space wasted, serialization, no sequence structure.

These bullet VIs live in my Favorites palette.