LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Jump in Sequence

Hello everybody,

 

is there an option to jump to the last frame of a sequence with a button, or just finish the sequence earlier than being through all the cases?

 

Thx for any help

 

Michael

0 Kudos
Message 1 of 8
(3,108 Views)
No, that is why the sequence structure should be avoided. Use a proper state machine.
Message 2 of 8
(3,099 Views)

Michael,

 

do not use the sequence structure. You cannot "jump" between frames, they are strictly sequential (hence the name!).

What you can/should do is to replace the sequence structure with a state machine. With that architecture, you can implement any "jump".

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 3 of 8
(3,097 Views)
No there isn't -- which is why you should NEVER use sequences in deliverable code. As a starting place, check out the state machine design pattern.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 8
(3,096 Views)

@Dennis_Knutson wrote:
No, that is ONE ISSUE why the sequence structure should be avoided. Use a proper state machine.

Added one important note above. The sequence structure has several issues. There are only spare use cases where it is suitable, in most of these, the structure will only have a single frame!

 

Norbert

 

@Dennis: Wanted only to strongly endorse your statement 😉

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 8
(3,092 Views)
Holy cow! It's 3AM, isn't anybody asleep?!?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 8
(3,088 Views)

@mikeporter wrote:
Holy cow! It's 3AM, [...]

Mike...

Not everywhere on this planet 😄

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 7 of 8
(3,085 Views)

@mikeporter wrote:
Holy cow! It's 3AM, isn't anybody asleep?!?

Mike...

My cat started to wake me up when you made this post.  So, your answer is technically "Yes".


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 8
(3,047 Views)