Using single-frame-sequences is one (beside other) possibility to keep the code well structured and good readable:
- clustering code in logical groups
- defined place of description by using sub-diagram label
- frame- and background colors
- exclude from diagram cleanup option
- moving the frame will move the code inside, too
But there is also two disadvantages:
- clustering the code in sequences changes the execution order. Especially on high optimized and parallel code this can lead to unwanted performance loss
- only code which follows the data flow can be placed within one frame
An alternative is the frame decoration element. But this is not grouping the code, it is just floating over the code. This has several disadvantages:
- during diagram cleanup the frame will be moved to somewhere
- moving the frame will not move the code
- documentation ability
- no background color
My idea / request:
The frame-decoration-element shall be extended by a visual code-clustering ability so that it has the same usability like a sequence but without an influence to the execution order. Additinally it shall be possible to place code inside, even if this does not follow the data flow.
The two images are showing the current situation - first with a decoration frame, second with a sequence.
Remark: I'm using LV2015SP1
Duplicate of http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-a-quot-structure-quot-that-does-not-affect-compila...