12-12-2025 07:52 AM
After 25 years of LabVIEW, I still get that "threw up in my mouth a little bit" feeling when opening production code and finding endless nested stacked sequence structures, locals and globals everywhere with property nodes in every other frame to update the front panel.
12-12-2025 09:42 AM - edited 12-12-2025 09:43 AM
Even worse are "sequence locals"!
(Locals are sometime needed for UI related tasks and much better that value property nodes. Globals have their purpose too even though I typically use action engines instead so they can have more logic)
12-12-2025 01:10 PM
It has those too! 👀
12-22-2025 02:02 PM - edited 12-22-2025 02:11 PM
@PhillipDBrooks wrote:
It has those too! 👀
Fun fact about those sequence locals: they appear to be extremely fast (no thread switch like true Locals) until you actually unwind the SSS to a FSS and realize that they are instituted like wires in parallel to the sequence frames. CA and I went back and forth on the topic once upon a time. I don't think we ever got straight down to the nuts and bolts . I suspect (that means try it!) That "replace SSS with FSS" forces the sequence locals to be wired through each frame rather than exiting the structure and reentering as needed. In extremely rare conditions that could cause an extra synchronization unneeded by pure dataflow. Eliminating the FSS too would restore the original dataflow intent of the sequence local.
Moral: sometimes better is not as good but, best is always better.
Probably a corollary to Thornby's Law which states "Should be isn't is!"
12-28-2025 09:51 AM