04-28-2016 02:46 PM
I almost posted it in this thread, but figured it would be more appropriate here.
(For context, I work with several people who abuse stacked sequence structures. I figured I'd help them out...)
04-28-2016 03:08 PM - edited 04-28-2016 03:08 PM
This will be a little less disruptive...
04-28-2016 04:09 PM
@crossrulz wrote:This will be a little less disruptive...
I don't know. Removing a flat sequence might take longer to fix than rewriting the entire program from scratch....
04-29-2016 10:46 AM
@BowenM wrote:
@crossrulz wrote:This will be a little less disruptive...
I don't know. Removing a flat sequence might take longer to fix than rewriting the entire program from scratch....
Try crosrulz code
There is no code loss! It simply converts the SSS th a FSS then removes the FSS leaving the code within the frames intact.
04-29-2016 11:29 AM
See also this old community nugget 😄 Still valid today!
04-29-2016 11:34 AM
I love it!! 😄
I'm definitly going to use that. LOL!
04-29-2016 02:12 PM
Y'all should use Traverse for GObjects.vi instead of AllObjs[] if you want to nail Stacked Sequences on nested diagrams too.
Or upgrade to LabVIEW 2014 or later, where we removed Stacked Sequences from Quick Drop/palettes altogether. 😉
04-29-2016 03:29 PM
@Darren wrote:
Or upgrade to LabVIEW 2014 or later, where we removed Stacked Sequences from Quick Drop/palettes altogether. 😉
Sadly, they found the workaround 😞 Place flat, convert to stacked!
04-29-2016 04:29 PM
😮 😮 😮
04-29-2016 05:24 PM
@Darren wrote:Y'all should use Traverse for GObjects.vi instead of AllObjs[] if you want to nail Stacked Sequences on nested diagrams too.
Or upgrade to LabVIEW 2014 or later, where we removed Stacked Sequences from Quick Drop/palettes altogether. 😉
You know, I started making a version that does that, and it turns out that TRef Traverse.vi has a Stacked Sequence Structure in it! Bad Darren! Granted, it is a single frame just to perform a Class Operator.Remove regardless of an upstream error. But still. Maybe NI should change it to a Flat Sequence Structure...