LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transfering a case structure to event structure

This entire thing needs to be recoded as a proper state machine instead.

0 Kudos
Message 11 of 12
(347 Views)

@Intaris wrote:

This entire thing needs to be recoded as a proper state machine instead.


This.

It's probably the easiest and best solition in this case. Think and define which different phases the program uses and make a state machine with those.

It'd be something like:

Initialise

Grab image

Calculate

Save image

End or goto Grab image

 

If the states are a typ def'd enum (which it should be), it's easy to add states as needed.

Check Help, Find examples, State machine.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 12 of 12
(340 Views)