Atnaujinkite slapukų nuostatas

LabVIEW Style Book [Kietas viršelis]

3.83/5 (36 ratings by Goodreads)
  • Formatas: Hardback, 400 pages, aukštis x plotis x storis: 259x208x28 mm, weight: 996 g
  • Išleidimo metai: 06-Mar-2007
  • Leidėjas: Prentice Hall
  • ISBN-10: 0131458353
  • ISBN-13: 9780131458352
Kitos knygos pagal šią temą:
  • Formatas: Hardback, 400 pages, aukštis x plotis x storis: 259x208x28 mm, weight: 996 g
  • Išleidimo metai: 06-Mar-2007
  • Leidėjas: Prentice Hall
  • ISBN-10: 0131458353
  • ISBN-13: 9780131458352
Kitos knygos pagal šią temą:
Drawing on the experiences of a world-class LabVIEW development organization, The LabVIEW Style Book is the definitive guide to best practices in LabVIEW development.

Leading LabVIEW development manager Peter A. Blume presents practical guidelines or rules for optimizing every facet of your applications: ease of use, efficiency, readability, simplicity, performance, maintainability, and robustness. Blume explains each style rule thoroughly, presenting realistic examples and illustrations. He even presents nonconforming examples that show what not to doand why not.  While the illustrations in the print book are in black and white, you can download  full-color versions from the publisher web site for free.

 

Coverage includes





Significance of style: How good style improves quality and actually saves time over the full project life cycle Before you code: Configuring your LabVIEW environment, and organizing your files on disk and in the LabVIEW project LabVIEW project specifications: A specialized standard for specifying LabVIEW application requirements Efficient VI layout and development: front panel, block diagram, icons, and connectors Data structures: Choosing data types, efficient use of arrays and clusters, and special considerations with nested data structures Error handling strategies: Trapping and reporting errors for robust and reliable applications Design patterns: Standard VI architectures and application frameworks that promote good style Documentation: Essential rules for source code documentation and streamlining the process Code reviews: Enforcing a style convention using a checklist, the LabVIEW VI Analyzer Toolkit, and peer reviews Appendixes: Convenient glossary and style rules summary

 

This book will be indispensable to anyone who wants to develop or maintain quality LabVIEW applications: developers, managers, and end users alike. Additionally, it will also be valuable to those preparing for NIs Certified LabVIEW Developer or Certified LabVIEW Architect exams, which contain significant content on development style.

 

Foreword by Darren Nattinger 



Preface 



Acknowledgments 



About the Author 



 

Chapter 1 The Significance of Style 



Chapter 2 Prepare for Good Style 



Chapter 3 Front Panel Style 



Chapter 4 Block Diagram 



Chapter 5 Icon and Connector 



Chapter 6 Data Structures 



Chapter 7 Error Handling 



Chapter 8 Design Patterns 



Chapter 9 Documentation 



Chapter 10   Code Reviews



Appendix A Glossary 



Appendix B Style Rules Summary 



Index 



 

 

Daugiau informacijos

Most LabVIEW programmers are engineers, scientists, or technicians, including students pursuing degrees in these fields. They develop large applications in test and measurement, data acquisition, embedded control, scientific research, and process monitoring systems. Application development often involves a team approach. Often the applications are of a mission critical nature. If the LabVIEW programmer follows the guidelines in this book, his or her work will be efficient and robust, readable, easier to use, maintain, and review. This book has lots of practical information learned through years of professional LabVIEW development experience; including many source code illustrations, small code snippets as well as complete application examples; and incorporates newer features of LabVIEW versions 6.1 and soon to be released 8.0, which is a major new release.
Foreword xv
Preface xvii
Acknowledgments xx
About the Author xxii
The Significance of Style
1(20)
Style Significance
2(16)
Ease of Use
6(1)
Efficiency
7(2)
Readability
9(2)
Maintainability
11(1)
Robustness
12(3)
Simplicity
15(2)
Performance
17(1)
Style Tools
18(1)
Style Versus Time Tradeoff
18(3)
Prepare for Good Style
21(26)
Specifications
22(7)
Best Practices for Specifications Development
24(1)
LabVIEW Project Requirements Specification
25(4)
Design
29(3)
Search for Useful Resources
30(1)
Develop a Proof of Concept
30(1)
Revise the Specification
31(1)
Configure the LabVIEW Environment
32(7)
LabVIEW Options Dialog Box
32(2)
Code Reuse
34(5)
Project Organization, File Naming, and Control
39(8)
Disk Organization
40(2)
The LabVIEW Project
42(2)
File-Naming Conventions
44(1)
Source Control
45(1)
Endnotes
46(1)
Front Panel Style
47(40)
Layout
48(13)
General Rules
48(3)
GUI VI Panel Layout
51(8)
SubVI Panel Layout
59(2)
Text
61(8)
General Rules
61(5)
Control Labels
66(2)
SubVI Panel Text
68(1)
Industrial GUI VI Text
69(1)
Color
69(2)
GUI Navigation
71(4)
Control Scope
71(3)
Consistency
74(1)
Examples
75(12)
SubVI from Selection
75(2)
Dialog Utility VI
77(2)
Capacitor Test & Sort
79(2)
Centrifuge DAQ
81(1)
Spectralyzer
82(1)
Parafoil Guidance Interface
83(2)
Endnotes
85(2)
Block Diagram
87(42)
Layout
88(5)
Layout Basics
88(2)
SubVI Modularization
90(3)
Wiring
93(8)
Clear Wiring Techniques
94(3)
Cluster Modularization
97(4)
Data Flow
101(14)
Data Flow Basics
101(3)
Practical Variables and Sequence Structures
104(4)
Impractical Variables and Sequence Structures
108(3)
Optimizing Data Flow
111(4)
Examples
115(14)
SubVI from Selection
115(2)
Excessively Nested VI
117(2)
Haphazard VI
119(1)
Right to Left VI
120(1)
Left to Right VI
121(1)
Centrifuge DAQ VI
122(2)
Screw Inspection VI
124(3)
Optical Filter Test VI
127(1)
Endnotes
128(1)
Icon and Connector
129(28)
Icon
132(8)
Icon Basics
132(3)
Icon Shortcuts
135(4)
International Icons
139(1)
Connector Pane
140(5)
Examples
145(12)
Obnoxious Examples
145(3)
Instrument Drivers
148(3)
Miscellaneous Examples
151(2)
Clever Examples
153(2)
Endnotes
155(2)
Data Structures
157(46)
Data Structure Design Methodology
158(14)
Choose the Controls and Data Types
158(11)
Configure the Properties
169(1)
Create the Data Constructs
170(2)
Simple Data Types
172(8)
Boolean
173(2)
Numeric
175(2)
Special Numeric
177(2)
String, Path, and Picture
179(1)
Data Constructs
180(13)
Simple Arrays and Clusters
181(5)
Special Data Constructs
186(1)
Nested Data Structures
187(6)
Examples
193(10)
Thermometer VI
193(1)
OpenG Variant
194(3)
Haphazard Data
197(2)
Centrifuge DAQ VI
199(2)
Endnotes
201(2)
Error Handling
203(36)
Error Handling Basics
204(13)
Trapping Errors
205(5)
Reporting Errors
210(4)
Error Codes
214(3)
SubVI Error Handling
217(5)
Prioritizing Errors
222(4)
Error Handling Tips
226(4)
Structure Wiring
226(1)
Merging Errors
226(2)
Clearing Errors
228(2)
Automatic Error Handling
230(1)
Examples
230(9)
Continuous Acquire To File
230(1)
Suss Interface Toolkit
231(1)
Merge Parallel Errors
232(2)
Screw Inspection VI
234(1)
Test Executive VI
235(3)
Endnotes
238(1)
Design Patterns
239(60)
Simple Design Patterns
241(13)
Immediate SubVI
241(3)
Functional Global
244(2)
Continuous Loop
246(4)
Event-Handling Loop
250(4)
State Machines
254(13)
Classic State Machine
257(3)
Queued State Machine
260(2)
Event-Driven State Machine
262(3)
Event Machine
265(2)
Compound Design Patterns
267(5)
Parallel Loops
269(3)
Complex Application Frameworks
272(15)
Dynamic Framework
272(6)
Multiple-Loop Application Framework
278(5)
Modular Multiple-Loop Application Framework
283(4)
Examples
287(12)
Elapsed Time VI
287(1)
Poll Instrument Response VI
288(1)
Unconventional State Machine
289(3)
Centrifuge DAQ VI
292(1)
Transducer Control Utility
293(3)
Distributed Control System
296(1)
Endnotes
297(2)
Documentation
299(20)
Front Panel Documentation
301(3)
Block Diagram
304(7)
Icon and VI Description
311(1)
Online Documentation
311(4)
Examples
315(4)
SubVI from Selection VI
315(1)
Filter Test VI
316(1)
Meticulous Control Descriptions
317(1)
Temperature Profile Illustration
318(1)
Endnotes
318(1)
Code Reviews
319(20)
Self-Reviews
320(14)
VI Analyzer Toolkit
320(10)
Manual Checklist
330(4)
Peer Reviews
334(5)
Endnotes
338(1)
Appendix A Glossary 339(10)
Appendix B Style Rules Summary 349(8)
Index 357


Peter Blume is the founder and president of Bloomy, a National Instruments Select Integration Partner that specializes in LabVIEW-based systems development. Since LabVIEW Version 2.5, Blume and his staff of engineers have solved more than a thousand industrial applications for customers throughout the northeastern United States. To promote consistent quality among multiple developers in multiple offices, Blume established and evolved the companys LabVIEW development practices.

 

Blume has written and presented multiple LabVIEW style-related presentations, including Bloomy Controls Professional LabVIEW Development Guidelines at NIWeek 2002 and Five Techniques for Better LabVIEW Code at NIWeek 2003. He also has published technical articles in various trade publications, including Test & Measurement World, Evaluation Engineering, Electronic Design, and Desktop Engineering.

 

Blume holds a Bachelor of Science degree in electrical engineering from the University of Connecticut. He is a National Instruments Certified LabVIEW Developer and Certified Professional Instructor. The company has offices in Connecticut, Massachusetts, and New Jersey. For more information, visit www.bloomy.com.

Readers who want to contact Blume regarding style-related suggestions, questions, or comments may do so at the following email address: lvstyle@bloomy.com . Readers interested in contracting Bloomy for a LabVIEW development project should call us directly or contact us through our website at www.bloomy.com/quote.