02-26-2014 04:36 AM
Hello all!
I'm wondering if it is possible to return to the last step of the program to run it again in labview.
For example, a vi doing computation, if the final result doesn't satisfy a certain standard, I would like that a one button diagram shows out saying "the
program should run again", and when I click the "OK" the program automaticly re-run.
Please let me know how could I realize this. Thanks in advance!
Chao
Solved! Go to Solution.
02-26-2014 08:21 AM
Sounds like a state machine. Possibly with an event structure that looks for a button press. When you press the button the event is generated and then the state machine goes into the state that does the work you want. LabVIEW comes with several examples of state machines and there are a few white papers.
http://www.ni.com/white-paper/3024/en/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-26-2014 08:40 AM
02-26-2014 08:58 AM
Hi Gerd,
That works! Thank you very much!
Chao