04-24-2008
02:39 PM
- last edited on
07-10-2024
10:32 AM
by
Content Cleaner
For the past couple of days I’ve been exploring the new StateChart Module Toolkit. With a little bit of help I managed to work my way through the Getting Started Tutorial. But still felt I was missing a few pieces.
Starting at this page: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x3UMCAY&l=en-US I found many useful links. But I couldn’t find a link to the code for the Vending Machine that was described. It seemed like it would be a very good exercise to try and create my own.
It took me a few hours to do it. But I think it was a very worthy exercise. In the few years that I have been using LabVIEW, I’ve never really made use of the Event Structure or the Project Manager. So this made things even more challenging. Although I suppose I could have done it without using either.
I’m posting my code because feedback from other developers is always useful to me. There’s also not a whole lot of StateChart examples around yet. If you work with this example or improve it, post your code if you would. I’d like to see how others use this tool.
If anyone knows of other examples, I’d love to see them.
04-24-2008 08:10 PM
04-24-2008 08:40 PM
04-25-2008 12:41 PM
04-25-2008 02:23 PM