Skip over navigation to the main content.

A Software Engineering Approach to LabVIEW

Downloads: Software for LabVIEW 6.0.2

Please note that all source code files are offered in ZIP format for downloading convenience. If you're in a hurry to get started, you can download all the source code in a single archive (3 MB).

Chapter 3

All chapter 3 source code (144 kb).

Abstraction
This example demonstrates high and low levels of abstraction.
Info Hiding
This example demonstrates good and bad information hiding.
Measurement VI
This example demonstrates loose coupling.
Word Component
This example demonstrates strong cohesion. You will need a copy of Microsoft Word 97 for this to work. Unpack the zip file and move the word document "Word Example.doc" to the C: root directory. You will need a copy of Microsoft Word 97 for this to work.

Chapter 5

All chapter 5 source code (56 kb).

101 Things Enumerated type
This example demonstrates some of the different things you can do with an enumerated type.
Basic Component Test
This example demonstrates the basic structure of a component.

Chapter 6

All chapter 6 source code (820 kb).

washingMachine
This example is the washing machine state machine.
LCOD User Interface Control Example
This is a demonstration of controlling the User Interface using message sending and queues. This example is a useful pattern.
Detail Outside Code
This is the code used in describing Detail in the code and Detail outside the code.
Config ini
This is the complete configuration pattern, including encrypted section key files and simple data management components.
Error States
This example demonstrates modeling errors as states of the system.
Pre and Post Conditions
This is the source code used to demonstrate precondition and postcondition checking.
Menu Buttons Merge Example
This is the source code used in the merge VI example.
Menu Buttons Template Example
This is the source code used in the template example.

Chapter 8

Layout Example
This is used to demonstrate how a few simple techniques can improve the readability of your code.

Chapter 9

All chapter 9 source code (2 MB).

Widgetometer Test System llb
This is the complete widgetometer test software in LLB format. This will download and run straight away.
Widgetometer Test System
This is the complete widgetometer test software how it really appears on our computers, using the filing system to "enforce" the hierarchy. The main front panel can be found in ..\Widgetometer Test System\1 Displays\1 Main Display\ Widgetometer User Interface.vi

Choose Downloads by LabVIEW Version

Further Reading

Read Prentice Hall PTR to stay on the cutting edge of computer science and engineering.