Microsoft Word me104 lab1 2003. doc


Approach to Building a VI



Download 349.88 Kb.
View original pdf
Page8/22
Date28.02.2022
Size349.88 Kb.
#58329
1   ...   4   5   6   7   8   9   10   11   ...   22
lab1 intro to labview
Approach to Building a VI To create a VI, the following general approach is used.
1. Define the function of your VI. What do you want your VI to do?
2. Create the user interface on the front panel. Determine the inputs and outputs you need and then place the appropriate controls and indicators on the front panel.
3. Build the block diagram in the diagram window. Using the functions and structures from the
LabVIEW VI libraries, construct the block diagram to perform the required functions. If a block diagram becomes too cluttered with a large number of icons, they can be grouped and made into separate modules called subVIs (analogous to a subroutine in conventional programming) to maintain clarity and simplicity of the block diagram.
4. Debug. If your VI has errors and won’t run, LabVIEW has some debug features to help you find the errors.


6

Download 349.88 Kb.

Share with your friends:
1   ...   4   5   6   7   8   9   10   11   ...   22




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

    Main page