Books: LabView programming with style!

Embedded programmers already familiar with National Instruments’ LabView can improve their software’s speed, footprint, and maintainability by following the principles they can learn from The LabView Style Book, written by highly experienced system integrator Peter Blume.

04/26/2007


Embedded programmers already familiar with National Instruments’ LabView can improve their software’s speed, footprint, and maintainability by following the principles they can learn from The LabView Style Book , written by highly experienced system integrator Peter Blume. Blume is the founder and president of Bloomy Controls , a National Instruments Select Integration Partner that specializes in LabView-based systems development. Blume and his staff have solved over 1,000 industrial applications for customers throughout the Northeastern U.S.

Over the past 20 years, I’ve seen a lot of data acquisition and control applications written in LabView and can report that good style matters. Unfortunately, good style doesn’t simply happen. It’s the result of disciplined attention to detail and a willingness to put a little extra effort into “cleaning up” your virtual instrument diagrams.

Poor diagrams are confusing, difficult to follow, disorganized.

Good diagrams are clear, concise, easy to follow and, well, beautiful .

We need more good diagrams!

Blume’s encyclopedic style guide starts by discussing the significance of style: what it is and why it’s important. It goes on to describe best practices in preparation, front panel layout, block diagram design, the righ ways to use icons and connectors, data structures (my particular failing as a LabView programmer), error handling, design patterns, documentation, and code reviews (both self reviews while developing the code and peer reviews after you’re done). Each chapter ends with several virtual instrument (VI) examples illustrating the principles described in the chapter.

I described the book as encyclopedic, and that’s what I mean. Blume has covered aspects of LabView coding that I, as a 30+ year veteran programmer never thought of.

Although novice LabView programmers can learn some good habits from the book, it is not a basic text. It assumes familiarity with the development environment and the language. I daresay that the more you know about LabView programming, the more you will get out of it. Pick the book up early in your career, then refer to it often as you gain experience. It will make you a better embedded-system programmer.

For more information, visit the Prentice Hall Website or the Bloomy Controls website.

Blume, Peter A., The LabVIEW Style Book , Prentice Hall, Upper Saddle River, NJ, ISBN 0-13-145853-3, hardbound, 372 pp, 2007.

C.G. Masi , senior editor, Control Engineering Machine Control eNewsletter .





No comments
The Engineers' Choice Awards highlight some of the best new control, instrumentation and automation products as chosen by...
Each year, a panel of Control Engineering editors and industry expert judges select the System Integrator of the Year Award winners.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
Learn how to increase device reliability in harsh environments and decrease unplanned system downtime.
This eGuide contains a series of articles and videos that considers theoretical and practical; immediate needs and a look into the future.
Learn how to create value with re-use; gain productivity with lean automation and connectivity, and optimize panel design and construction.
Go deep: Automation tackles offshore oil challenges; Ethernet advice; Wireless robotics; Product exclusives; Digital edition exclusives
Lost in the gray scale? How to get effective HMIs; Best practices: Integrate old and new wireless systems; Smart software, networks; Service provider certifications
Fixing PID: Part 2: Tweaking controller strategy; Machine safety networks; Salary survey and career advice; Smart I/O architecture; Product exclusives
The Ask Control Engineering blog covers all aspects of automation, including motors, drives, sensors, motion control, machine control, and embedded systems.
Look at the basics of industrial wireless technologies, wireless concepts, wireless standards, and wireless best practices with Daniel E. Capano of Diversified Technical Services Inc.
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
This is a blog from the trenches – written by engineers who are implementing and upgrading control systems every day across every industry.
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.

Find and connect with the most suitable service provider for your unique application. Start searching the Global System Integrator Database Now!

Case Study Database

Case Study Database

Get more exposure for your case study by uploading it to the Control Engineering case study database, where end-users can identify relevant solutions and explore what the experts are doing to effectively implement a variety of technology and productivity related projects.

These case studies provide examples of how knowledgeable solution providers have used technology, processes and people to create effective and successful implementations in real-world situations. Case studies can be completed by filling out a simple online form where you can outline the project title, abstract, and full story in 1500 words or less; upload photos, videos and a logo.

Click here to visit the Case Study Database and upload your case study.