LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
SteveP

Conditional terminal for individual frames of sequence structures

Status: Declined
State Machines are a lot more robust architectures than this functionality in a Flat Sequence Structure.

A conditional terminal for each frame of a sequence structure would allow one to exit the sequnce at any frame.  This could be useful in case something occured in one frame that meant the remaining frames should not be executed.  Easier than having to use case statements in the later frames.

 

4 Comments
RavensFan
Knight of NI
I don't think such a thing is needed.  If you've spent any length of time in the forums, you know sequence structures are frowned upon in most cases and should be replaced with a state machine that would allow you to exit the structure at any given iteration of the state machine loop.
crelf
Trusted Enthusiast
Sounds like you're after a state machine...




Copyright © 2004-2024 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 4.0 License.
JackDunaway
Trusted Enthusiast
BAIL.png
G-Money
NI Employee (retired)
Status changed to: Declined
State Machines are a lot more robust architectures than this functionality in a Flat Sequence Structure.