04-11-2013 01:24 AM
Yes, any sequence local can spoil a perfectly good sequence. 🙂
(In 17 years of LabVIEW programming, I've only found a single instance where a stacked sequence was useful, and it did not involve any locals.)
04-11-2013 05:54 AM
@PaulG. wrote:
Looks similar to some code i inherited. I made a small help-vi that extracts the Channel clusters and build them into an array, that way it's easy to look or index individual ones. 🙂
/Y
04-11-2013 07:26 AM
@altenbach wrote:
Yes, any sequence local can spoil a perfectly good sequence. 🙂
(In 17 years of LabVIEW programming, I've only found a single instance where a stacked sequence was useful, and it did not involve any locals.)
I'm trying to remember the last time I used a stacked sequence before this instance. It was in my noob days (>10 yrs ago). When I was whipping this up the stacked sequence seemed like a useful choice. After I wrote it I felt "dirty".
04-11-2013 10:53 AM
@altenbach wrote:
Yes, any sequence local can spoil a perfectly good sequence. 🙂
(In 17 years of LabVIEW programming, I've only found a single instance where a stacked sequence was useful, and it did not involve any locals.)
I've found quite a few instances of stacked sequences which were useful. Mind you, they were all in order to show people why you shouldn't use them so yeah, they're not a common visitor to my block diagrams.
04-12-2013 07:58 AM - edited 04-12-2013 07:58 AM
LOL!!
04-12-2013 08:21 AM - edited 04-12-2013 08:27 AM
WHY???
If not a dirty patch to add some channels where only one was designed 😉
EDIT:
so a dirty patch to get 3 Ch on a dirty patch to get 2Ch ? 😉 and never mind, for the cluster we have a type def everywhere ... (I hope!)
or
04-12-2013 09:01 AM - edited 04-12-2013 09:12 AM
This stacked sequence was used mostly for real estate concerns on my block diagram. However, the functionality has expanded to where not only will the stacked sequence go away but the all of the code it contains will go into a sub-vi. "Problem" solved.
Sorry for causing a disturbance in the Force.
But I would do it again.
04-12-2013 10:50 AM
LOL!! The Force needs to be disturbed... otherwise it becomes static (and useless)