0% found this document useful (0 votes)
55 views24 pages

Higher Institute For Applied Sciences and Technology (HIAST) Control Department Mechatronics - 5 Year

This document provides an overview of LabVIEW, a graphical programming environment used for test, measurement, and control applications. It discusses getting started with LabVIEW, including creating virtual instruments with front panels and block diagrams. It also covers debugging techniques like probes, breakpoints, and single stepping to troubleshoot programs. The goal is to introduce basic concepts and help new users understand how to develop applications in LabVIEW.

Uploaded by

ARAB GOT TALENT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views24 pages

Higher Institute For Applied Sciences and Technology (HIAST) Control Department Mechatronics - 5 Year

This document provides an overview of LabVIEW, a graphical programming environment used for test, measurement, and control applications. It discusses getting started with LabVIEW, including creating virtual instruments with front panels and block diagrams. It also covers debugging techniques like probes, breakpoints, and single stepping to troubleshoot programs. The goal is to introduce basic concepts and help new users understand how to develop applications in LabVIEW.

Uploaded by

ARAB GOT TALENT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Higher Institute for Applied Sciences and Technology (HIAST)

Control Department
Mechatronics – 5th year

Prepared by: Eng. Al-Kayal Khaldoun


[email protected]
Damascus 2013
Road Map
LabView Basics Course
• Getting Started with LabVIEW Virtual Instruments.
• LabVIEW Data Type.
• Developing Modular Applications.
• LabVIEW Programming Structures.
• Arrays and Clusters.
• Storing Measurement Data.
• Charts & Graphs.
• DAQ SYSTEM.
• Connecting to External Devices.
Higher Institute for Applied Sciences and Technology (HIAST)
Control Department - Mechatronics – 5th year

Getting Started with


LabView Virtual
Instruments

Prepared by: Eng. Al-Kayal Khaldoun


[email protected]
Damascus 2013
Getting Started with LabView
LabView is a system design platform and development environment for
a visual programming language from National Instruments.
LabView provides engineers and scientists with the tools needed to
create and deploy measurement and control systems.
LabView Everywhere
Sensor
Embedded
(FPGA)
Handheld
Wireless

Networked I/O

PC Boards

Industrial Computer (PXI)

Tektronix Open Windows


Oscilloscopes

PC, Mac, Linux, Sun

Workstation
Getting Started with LabView
LabView – Laboratory Virtual Instrument Engineering Workbench
is a graphical (visual) programming from National instruments (NI).
The purpose is automating the usage of processing and measuring equipment in any
laboratory setup.
C language Dataflow programming language

uses icons instead of lines of text to create programs


The graphical approach of LabVIEW allows non-programmers to build
programs by dragging and dropping virtual representations of lab
equipment with which they are already familiar.

Cross-platform
Getting Started with LabView
Graphical Programming for
Test, Measurement, and
Control
Benefits
• Rapid application
development with Express VIs
and easy-to-use graphical
environment
• Interactive measurement
assistants and powerful
redesigned DAQ interface for
connecting to all types of I/O.
• Allows creating stand-alone
executables.
• Included examples and the
documentation, makes it
simple to create small
applications .
Getting Started with LabView

• Called “Virtual Instruments” (VIs)


• Appearance and operation imitates actual
physical instruments

Without With
Getting Started with LabView

Supervision Industrial Control “SCADA”


Getting Started with LabView

Ethernet
extender

Programmable Logic
Pprogrammable logic Controller (PLC) controler ZELIO
( SCHNEIDER ELECTRIC)
monitoring using MODBUS/TCP protocol
Getting Started with LabView

Edge detection

Image acquisition and processing


Getting Started with LabView

Barcode reading

Image acquisition and processing


Getting Started with LabView
Getting Started with LabView
Getting Started with LabView
Getting Started with LabView
Getting Started with LabView
Front panel Block Diagram

Ctrl+E

Continuous run Block diagram toolbar Clean Up diagram


Pause

Run Stop
Reorder objects
Debugging features
Getting Started with LabView
Front panel Block Diagram
Controls palette

Tools palette
Getting Started with LabView
• LabView automatically selects the tool needed
• Available on the front panel and the block diagram
• A tool is a special operating mode of the mouse cursor
• Use the tools to operate and modify front panel and block diagram objects
• To show the tools palette, select Window » Show Tools Palette

Automatic Selection Tool

Operating Tool Scrolling Tool

Positioning/Resizing Tool Breakpoint Tool

Labeling Tool Probe Tool

Wiring Tool Color Copy Tool

Shortcut Menu Tool Coloring Tool


Getting Started with LabView

Front Panel
• Controls = Inputs
• Indicators = Outputs

Block Diagram
• Accompanying “program”
for front panel
• Components wired
together

20
Context Help
• To display the Context Help window, select
Help » Show Context Help, press the <Ctrl-H> keys,
or press the Show Context Help Window button in
the toolbar
• Move cursor over object
to display help

Simple/Detailed Context Help Lock Help More Help

21
Debugging Techniques
Finding Errors
Click on broken Run button. A window showing the
error appears
Execution Highlighting
Click on Execution Highlighting button; data flow is
animated using bubbles. Values are displayed on
wires.

22
Debugging Techniques
Probe
Right-click on wire and select probe and it shows
data as it flows through the wire segment
Breakpoints
Right-click on wire and select Set Breakpoint; pause
execution at the breakpoint.
Conditional Probe
Combination of a breakpoint and a probe. Right-click on
wire and select custom probe.

23
Debugging Techniques
Step Into, Over, and Out buttons for Single Stepping
Click on Step Into button to enable single stepping
Once Single Stepping has begun, the button steps
into nodes

Click on Step Over button to enable single stepping


or to step over nodes

Click on Step Out button to step out of nodes

24

You might also like