Getting started with LabVIEW

  • View
    71

  • Download
    0

Embed Size (px)

Transcript

PowerPoint Presentation

What is ?

A product of National Instruments (NI).Uses High level graphical language.

Where can I use ?

Desktop ApplicationsReal-time Systems PLCMobile Applications Programing Cameras With Embedded Systems

You should have Net framework 4.6.1 on your PC or the program will do so.How to install?

Follow instructions.How to install?

Follow instructions.How to install?

Completed!How to install?

The program will open.How to install?

Getting Started With

User Interface

Front Panel

Block Diagram

Icon and connecter pane

CREATE NEW VICreate Project

123

CREATE NEW VICreate Project

or

Front Panel VS. Block DiagramUI CodeContains Control PanelContains Functions PaletteContains Controls & IndicatorsContains Code in shape of blocksLike Windows ApplicationLike Console ApplicationFront PanelBlock Diagram

Control panel vs. function paletteControl panel function palette

Data Types

Controls and IndicatorsYou can use Front Panel to insert:

Controls Indicators(Insert I/P)(Receive O/P)

NumericControlBooleanControl

NumericIndicator

BooleanIndecator

Any element you insert in Front Panel appears in Block Diagram but not vise versa.

Note that

Debugging

Fixing Broken VI

Common problem you may face:Connecting control to control or indicator to indicator

Case StructuresContains one or more cases, exactly one of whichexecutes when the structure executes.

WHILE LOOP

Is a control flow statement you use to execute an instruction repeatedlyuntila given Boolean condition is met.

For LOOP

Is used to repeat a specific instruction a known number of times.

Sub VILike Functions in any programming language, you can save your work and reuse it again, then you save it as VI.

Protect your code

Protect your code

Convert to .exe