LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What's the quick way to check if the current stack sequency contains nothing or not?

Solved!
Go to solution

Hi all,

  I switch from C++ to labview not long before. I have got some code written in labview 7 from someone else and I am trying to modify some code in my labview 2012. In the code, there are many nested structures (like stack sequency, case, etc.). Some code contains 30 stacks but not all of the sub-sequences contains controls or code. Someone when I switch to one sequence, it looks blank but some controls or code might be hiding somewhere beyong the current view. So, instead of zoom the current sequency block, is that any fast way to identify if the block contains anything or not? Thanks.

0 Kudos
Message 1 of 2
(2,416 Views)
Solution
Accepted by topic author dragondriver

It is spelled "sequence".

 

Make sure autogrow is turned on for the stacked sequence so you won't have the problem of code hiding beyond the edges.

 

Right click on the Stacked Sequence and choose Replace with Flat Sequence.  This will stretch things out, but how you can see all frames.

 

Use block diagram cleanup to get rid of extra space and clean up the code.

 

If you see empty frames, you can right click on the border between frames and select Merge Frames.  You should also do this if you have separate frames that shouldn't be because there is already a data dependency that determines the sequence of operation.

0 Kudos
Message 2 of 2
(2,413 Views)