Introduction to LabView

Presented by : Ahmed AL-Jabri AL-

In contrast to text-based programming languages. VIs. are LabVIEW programs that imitate physical instruments. or virtual instruments. LabVIEW uses dataflow programming. 2 . where instructions determine the order of program execution. where the flow of data through the nodes on the block diagram determines the execution order of the VIs and functions.What Is LabVIEW? LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical programming language that uses icons instead of lines of text to create applications.

RS-232. PXI. LabVIEW also has built-in libraries for using software standards such as TCP/IP Networking and ActiveX. and plug-in data acquisition boards.LabVIEW is integrated fully for communication with hardware such as GPIB. RS-485. 3 .

someone is measuring a temperature of a liquid.  LabVIEW gives thousands of successful users a faster way to program instrumentation and data acquisition systems.Why Should I Use LabVIEW?  LabVIEW empowers you to build your own solutions for scientific and engineering systems. By using LabView your computer becomes as an instrument 4 . LabVIEW gives you the flexibility and performance of a powerful programming language without the associated difficulty and complexity. In this example.

How Does LabVIEW Work? LabView programs are called virtual instruments or VIs. 5 . because their appearance and operation imitate physical instruments such as oscilloscopes and millimeters. Every VI uses functions that manipulate input from the user interface or other sources and display that information or move it to other files or other computers.

* Block diagram: contains the graphical source code that defines the functionality of the VIs. A VI within another VI is called a subVI. A subVI corresponds to a subroutine in text-based textprogramming languages. * Icon and connector pane: Identifies the VI so that you can use the VI in another VI. 6 .A VI contains the following three components: * Front Panel: serves as the user interface.

The front panel can contain knobs. and other controls and indicators. graphs. push buttons. 7 .Front Panel The front panel is the graphical user interface of your LabVIEW VI. This interface collects user input and displays program output.

In the block diagram. It also can include terminals that are associated with controls and indicators created on the front panel. The block diagram can include functions and structures from the built-in LabVIEW VI libraries. 8 .Block Diagram  The block diagram contains the graphical source code of your VI. you program your VI to control and perform functions on the inputs and outputs you created on the front panel.

9 .Palettes  LabVIEW palettes give you the options you need to create and edit your front panel and block diagram.

10 . Tools Palette You use the Tools palette in both the front panel and the block diagram.1. The Tools palette contains the tools you use to edit and debug front panel and block diagram objects.

11 . The Controls palette contains the front panel controls and indicators you use to create the user interface.2. Controls Palette You use the Controls palette in the front panel.

such as arithmetic. file I/O. The Functions palette contains the objects you use to program your VI. 12 . instrument I/O.3. and data acquisition operations. Functions Palette You use the Functions palette in the block diagram.

The user interface is known as the front panel. 13 . You then add code using graphical representations of functions to control the front panel objects. you build a user interface by using a set of tools and objects.Summery  In LabVIEW. This graphical source code placed in the block diagram.

Random Number & graph it. by using Formula Node 14 . add timer & while Loop 3. 2. Write the formula Y=X^2+X+1 by two ways: a. Convert Fahrenheit temp. to Celsius. by basic function in LabView b.Practical Session Build the following VIs: 1.

Example 1. 15 .

16 .Example 2.

Example 3:  Left for you as an exercise 17 .

Sign up to vote on this title
UsefulNot useful