Wrap It Up


Wrap It Up!

This chapter covered a potpourri of interesting and useful LabVIEW features. We covered aspects such as the Options, VI Properties, and SubVI Node Setup options, the VI Server, key focus, radices, units, creating subVIs from selections, the VI Hierarchy, and the Find function.

The Options . . . command allows you to control a myriad of options under several categories. These options give you control over the LabVIEW environment and let you personalize aspects such as fonts, colors, printing options, paths, and so on.

VI Properties and SubVI Node Setup contain useful selections to customize the aspects of a particular VI at the top-level or as a subVI. With VI Properties, you can hide or show the Toolbar buttons, center the window, control execution options, and so on. The SubVI Node Setup allows you to "pop up" the window of a subVI as it's called and close it afterwards.

The VI Server was introduced as a powerful object-oriented approach to controlling VIs and LabVIEW. You saw how you can use the Property Node and Invoke Node to work with methods and properties of the LabVIEW Application class, VI class, and Control class.

Key focus is a Boolean attribute of a control that decides whether the control is "selected" and ready for input from the keyboard. You can set the key focus programmatically, or simply tab through all the controls. You can also assign special keys, such as function keys to toggle a particular Boolean control.

Radices and units are special built-in features of LabVIEW numeric displays. A numeric control, indicator, or constant whose radix is shown can be changed to a decimal, binary, octal, or hexadecimal representation. The optional built-in units on numeric types allow you to perform mathematical operations on numbers with units and provide automatic conversion for different unit systems.

The modularity of LabVIEW is highlighted by the ability to select any part of the block diagram and, under certain conditions, turn it into a subVI with the appropriate inputs and outputs.

You also learned how to create custom probes to help you debug your data.

Finally LabVIEW provides some advanced programming tools, such as a VI Hierarchy window, a Find utility that lets you search (and replace) functions and subVIs, and more.




LabVIEW for Everyone. Graphical Programming Made Easy and Fun
LabVIEW for Everyone: Graphical Programming Made Easy and Fun (3rd Edition)
ISBN: 0131856723
EAN: 2147483647
Year: 2006
Pages: 294

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net