LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Collection of Well-Made, Moderately-Complex State Machine

The purpose of this thread is to form a collection of state machines.

Please post to this thread only if you are willing to attach a .vi file of a moderately complex state machine. That is, please do not post if you are not attaching a vi. (I realize that some people may be upset by this request. If that is the case, me culpa, but please do not post to this thread. If you want to give a suggestion or google search idea, please post to this related thread http://forums.ni.com/t5/LabVIEW/well-oiled-typical-state-machine/m-p/3106643#M890213 ).

 

The primary reason for this collection is educational. For a student of Labview, or any subject for that matter, studying well-made examples is a way to learn the craft. This is not a short cut method. This requires time and effort to examine each machine in detail, to note what is similar and what is different. But this also is a short cut method, "A picture is worth 1,000 words." There is no need to ask a bazillion questions when you can see for yourself.

 

For the purpose of this thread, please post State Machine vi the following criteria:

1. The author of the vi feels that it is an example of a well-made state machine.

2. There is something that could be commented on by the author, such as "I liked the way I handled the decision making for state A to state B, C or D. 

3. It is moderately complex. More complex than the introductory tutorials or stock examples. Perhaps 6-20 states. 

 

There are many places where vi's are posted in this forum. But there is not a single repository, that I know of, where vi's are collected. This collection will benefit the thousands of people who start their posts like this "Hi, I'm new to LV..."    Having a single collection of examples that can be referred to allows people to say things like, "Have you checked the state machine collection. I think you'll find your answer in the third state machine there. Look at the initialize state. You can probably change that one slightly and it will work for your application."

 

Please note: if you want to post a link to another collection of state machine vi's, please don't post the link here. Post it instead to http://forums.ni.com/t5/LabVIEW/well-oiled-typical-state-machine/m-p/3106643#M890213 .

 

If you don't like this thread, and I understand that some people will not like this or agree with the ideas here, please do not post to this thread. Instead I invite you to post to http://forums.ni.com/t5/LabVIEW/well-oiled-typical-state-machine/m-p/3106643#M890213 . Thank you.

 

Eventually, it would be nice to make threads to collect examples for other LV architectures. State machines are a good place to start as they are usually the first introduction to LV architecture. 

 

Thank you for your time and your efforts. I hope that I have created a thread that is useful for the entire community of LV learners and to the many, many LV teachers on this forum who take their time, presumably for free, and generously contribute to doing LV the right way. 

0 Kudos
Message 1 of 2
(2,706 Views)
There IS a place where example programs are collected - https://decibel.ni.com/content/community/zone

I really don't want to see the forum used the way you suggest. I believe these boards should be where people post specific questions and I don't see where you have asked that, either in this thread or the other you created.
0 Kudos
Message 2 of 2
(2,694 Views)