Structures, an important type of node, govern execution flow in a VI, just as control structures do in a standard programming language. This chapter introduces you to the main structures in LabVIEW: the While Loop, the For Loop, the Case Structure, and the Sequence Structure, and then shows you how to combine the While Loop with the Case Structure into a powerful application framework. You will also learn how to implement lengthy formulas using the Formula Node and simple formulas with the Expression Node, how to pop up a dialog box containing your very own message, and a few basics on how to control the timing of your programs, as well as how the Timed Structures provide advanced timing and synchronization. You might want to take a look at some examples of structures in EXAMPLES\GENERAL\STRUCTS.LLB in LabVIEW.
|