If you missed my presentation at the Certified LabVIEW Architects (CLA) Summit 2011, fear not! The slides and example code are now available for download below. Thanks to everyone who attended; your questions, comments, and insight made it a success.
I'm working to evolve and expand this presentation for the future. With any luck, I'll deliver an upgraded and improved version of it at NIWeek 2011, so stay tuned. In the meantime, if you love it, hate it, or have questions, please let me know in the comments.
Title: Beyond State Machines: Building Modular Applications in LabVIEW Using Public & Private Events
Abstract: Learn about a template for inter-process communication that’s easy for intermediate developers, but powerful and flexible enough for CLAs. Nearly every significant LabVIEW-based application uses multiple loops and multiple pieces of hardware. Without a clear design pattern, coordinating all these moving pieces is a recipe for spaghetti code. Justin Goeres presents an elegant, powerful, and easy-to-use template for inter-process communication based on the concept of "Public" and "Private" events.
Slides & Example Code: cla-summit-2011-JKI-public-private-events.zip (3.5 MB)
Notes:
• Example code is written in LabVIEW 2009.
• Example code requires VI Package Manager 2010 Community Edition or higher because it uses the JKI State Machine. If you have LV2009 you can apply the included VIPC file. If you have LV2010 or later, just install the JKI State Machine directly from the LabVIEW Tools Network from within VIPM or from this web page.
You can try out the JKI State Machine on your own projects, too! It's free and you can install it in just a few clicks using VI Package Manager.