Chapter 2. Prepare for Good Style

LabVIEW style is positively influenced by preparing to develop your applications before you begin coding. First and foremost, write a requirements specification. It is much easier to develop good code when working from a specification instead of deriving the requirements on-the-fly. Second, design the software. Combine standard software design principles, such as the State Machine Diagram, with LabVIEW best practices, such as the State Machine design pattern. Third, configure the LabVIEW environment. Make use of desired preferences and previously developed code, such as reusable templates, instrument drivers, and utilities. Finally, establish some conventions for organizing, naming, and controlling your project ...

Get The LabVIEW Style Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.