Microsoft Word me104 lab1 2003. doc



Download 349.88 Kb.
View original pdf
Page6/22
Date28.02.2022
Size349.88 Kb.
#58329
1   2   3   4   5   6   7   8   9   ...   22
lab1 intro to labview

(a) front panel (b) block diagram
Figure 1. The two main components of a LabVIEW VI, called mult & div, that multiplies and divides two numbers (a) front panel and (b) block diagram. The front panel is equivalent to the user interface of a physical instrument where input and output devices reside. The front panel contains controls (input devices) and indicators (output devices. In Figure a, the front panel of the mult & div VI has two controls where users may enter two numbers, a and
b, to be multiplied and divided. It also has two indicators that display the results of multiplying (a x b) and dividing (a / b) the two numbers.
Similarly, the block diagram is analogous to the internal components and inner wirings that control and perform the desired functions of a physical instrument. In the block diagram, these internal components and inner wirings are simulated by three primary elements nodes, terminals, and wires.
Nodes are program execution elements, including many functions and structures from the builtin LabVIEW VI libraries. Examples of functions include Add, Read File, and Format Into String. Structures include For Loops, While Loops, and Case Structures. The Multiply and Divide functions are shown in the block diagram in Figure b.
1
Getting Started with LabVIEW, July 2000 Edition, National Instruments Corporation. Available online at http://www.ni.com/pdf/manuals/321527d.pdf
2
Based on LabVIEW User Manual (July 2000) and G Programming Reference Manual (January 1998), National Instruments Corporation. Available online at http://www.ni.com/pdf/manuals/320999c.pdf and http://www.ni.com/pdf/manuals/321296b.pdf
, respectively.

Download 349.88 Kb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   22




The database is protected by copyright ©ininet.org 2024
send message

    Main page