Download presentation
Presentation is loading. Please wait.
Published byAugust Nash Modified over 9 years ago
2
LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View
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
6
Block Diagram ► Icons on the Block Diagram represent examples of programming code
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
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
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.