12-31-2013 09:31 AM
Remove once and for all the stacked sequence structure from labVIEW
It's an absolute horror.
12-31-2013 11:18 AM
There are (rare) scenarios where a stacked sequence is appropriate. The main problem are sequence locals.
01-01-2014 02:18 PM - edited 01-01-2014 02:21 PM
Thats like saying "Remove Globals and Locals." It really makes no sense. Sure, the SSS, like Globals and Locals, can be abused. And, unfortunatly often is! But, it does provide a syntatactic element in LabVIEW that serves a unique purpose.
You could argue that you can always code around the lack by choosing a state machine. LabVIEW 1 and 2 did not have Globals! you can code around them! Performance improvements were made possible by their introduction.
I'll make you a deal! I'll Kudos the idea if you provide a benchmark of a SSS and a SM with IDENTICAL functionality (including MUST complete and in an exact inveriable order) where performance is not impacted. You might surprise me.
01-01-2014 05:44 PM - edited 01-01-2014 05:45 PM
" ... it does provide a syntactic element in LabVIEW that serves a unique purpose"
and what is this "unique purpose"?
Is this purpose so important to justify the use of an architecture as bad as the Stacked Sequence ?
" ... where performance is not impacted"
Does the performance justify the use of everything and anything?
(sorry for my bad English, I do my best, thank you)
01-02-2014 03:19 AM
01-02-2014 03:31 AM - edited 01-02-2014 03:40 AM
> Sequence locals are sometimes (for very few cases) usefull if you know how to use them properly
What does that even mean????
(.. and you are repeating basically the same statement about four more times as if the use of sequences and sequence locals is an advanced skill, only to be used by LabVIEW masters. Your post is so redundant that it could be condensed to 20% of the size without loss of information).
It is clear that the stacked sequence can never disappear from LabVIEW, because of the need for backward compatibility. (It could be taken out of the palette, but why...).
01-02-2014 03:44 AM - edited 01-02-2014 03:44 AM
@altenbach : "it is clear that the stacked sequence can never disappear from LabVIEW, because of the need for backward compatibility."
I understand, but ...it's unfortunate to keep bad things "indefinitely" just for backward compatibility.
01-02-2014 06:55 AM - edited 01-02-2014 06:56 AM
@altenbach: Sorry I repeated myself, should have read it a third time... However I don't think it's that redundant. My post states my way of using the structure and my opinion to one of their alternative. The last part is a bit harsh, but again my opinion (sorry if I offended you or anybody). There are more polite words to describe it I guess...
I don't think the structure is only for skilled LabVIEW masters as I don't think state-machines or for-loops are. Its the developer who has to decide when to use which tool, based on his knowledge and experience. Would be sad to have a tool removed just because it is used the wrong way (whatever the wrong way is).
To your question: I make use of sequence locals on very few occasions where initial data is produced in the first sequence and used in any following (could easily be replaced by tunnels...). There is no other need to it for me (anymore I must say).
01-02-2014 08:20 AM
I love SSS arguments, uh, umm I mean "discussions".
The SSS is useful. It should stay. The sequence locals, however are an Obamanation.
If shift registers were added to the SSS I would find them extremely useful.
01-02-2014 08:57 AM - edited 01-02-2014 08:58 AM
@PaulG: The sequence locals, however are an abomination.
we agree, the sequence locals are an absolute horror.
@PaulG: If shift registers were added to the SSS ...
an interesting idea ...this could restore my faith in the sss 😉