Presentation is loading. Please wait.

Presentation is loading. Please wait.

LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View.

Similar presentations


Presentation on theme: "LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View."— Presentation transcript:

1

2 LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View

3

4 Front Panel – User Interface ► User can type in values ► User can flip a switch ► Instruments can record values such as  Temperature  Heart Rate  Wave Forms

5

6 Block Diagram ► Icons on the Block Diagram represent examples of programming code

7

8 Block Diagram

9 What do we mean by Programming Code? ► Let’s look at two examples  Binary Code  HTML Code

10 Binary Code ► Code using two numbers 0 1 ► Click below for a Binary Code Encoder:  Binary Code Encoder Binary Code Encoder Binary Code Encoder

11 Example of HTML Code The following is an example of Marquee HTML Code for a website. ► The Code causes the text to scroll across the screen ► The Code is hidden from the user ► Code Example Code Example Code Example

12 HTML Code Revealed

13 LabVIEW Programming Code ► Block Diagrams in LabVIEW represent the hidden programming code

14

15 LabVIEW- A Simple Example ► Let’s see both front panel and block diagram for calculating the:  Area of a Triangle

16 Formula for Area of Triangle?

17 ►.5 x base x height ►.5* b*h

18

19 Wires transfer data among block diagram objects

20 Wires

21 Loops ► Loops can continue a cycle of input or can cause input to stop

22 WHILE Loop ► To run the VI until a condition occurs, you can use a While Loop

23

24

25


Download ppt "LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View."

Similar presentations


Ads by Google