LABVIEW
What is
LabVIEW?
LABVIEW ⇛ Laboratory Virtual Instrument Engineering workbench.
Ø LabVIEW is a graphical
programming language that uses icons instead of lines of text to create
applications.
Ø When compared with text-based
programming languages that use instructions to determine the order of program
execution, LabVIEW uses dataflow programming.
Ø In data flow programming, the
flow of data through the nodes on the block diagram determines the execution
order of the VIs and functions.
Ø VIs, or virtual instruments, are
LabVIEW programs that imitate physical instruments.
Ø LabVIEW code files have extension “.vi’’, which
stands for “virtual instrument”.
Ø They also offer additional Add-ons
and toolkits.
Ø The graphical program is names “G” .Originally
lunched for the Apple Macintosh in 1986.
Let’s have a look at
LabVIEW image.
⇔ Integrate Hardware Visualize Data ⇔ Accelerate Engineering.
LabVIEW is commonly
used for
ü Data Acquisition (Acquire data from instruments)
ü Instrument Control (Control instruments and equipment)
ü Industrial Automation
LabVIEW for Engineers:
§ LabVIEW makes it possible to bring
the data /information Form the outside world and to perform calculations based
on the acquired data.
§ The processed data is sent back to
the real world so that equipment/device produces favourable output, with respect
to the given input.
Cool features of labVIEW:
v People with limited coding experience
can develop labVIEW program. (for example take me, I am not a LabVIEW professional
but I help others by sharing my knowledge.)
v Fast and extensive hardware integration.
v Graphical approach of programing.
v Parallel programing.
v Add-ons to improve and simplify your
task.
v LabVIEW programing software is easily
available.
v Examples program help us to
understand programs and there functions.
LabVIEW Versions:
Base package
♧ Reduced mathematical
functionality.
Full package ♧ Complete
set of mathemathical functions.
Student Edition ♧ Full package with a watermark in the lower right corner.
Professional package ♧ we can create stand-alone applications.
NI Developer suit
♧ Include extra add-ons and toolkit.
Ø
Start your labVIEW using start menu.
Start your labVIEW using start menu.
Ø Start menu ↠ All programs ↠ National instruments LabVIEW.
Ø Now a days people use windows 10
which makes easy to lunch LabVIEW you have to just search it or just use the
shortcut icon which is available on your desktop.
Ø This image shows how to lunch LabVIEW
Ø Once u open LabVIEW you can either
create a new project or open the existing project which you might program in
future.
Ø LabVIEW programs are called VI’s.
Ø While
programing I prefer to split your screen into two as shown.
Ø Use “CTRL + T” to make both the
windows parallel.
Ø A LabVIEW VI has two main parts:
I.
Front panel – which
displays the control ( Knob, Button, graph, etc.) and represents the Graphical
interface for VI.
II.
Block
diagram – holds the programming elements called Blocks
functions or sub Vis, there are wired together to build the Graphical program.
Ø Right click inside the front panel to open
control palette.
Ø Next click
numeric to place Numeric control and Numeric indicator.
Ø Control – input.
Ø Indicator – output.
Ø Right click
inside the Block
diagram.
Ø Next click
numeric and place “add” (for adding two number) icon.
Ø For
addition we need two integers for adding so you need to place another control.
Ø Finally
wire them all to make your own program which can add two numbers.
Ø When your
program is free from error desired out will be obtained.
I would like to finish this tutorial.
Wait for my next blog, In my next post I will
Teach you
how to use Boolean function. For simplicity I will upload the same on youtube.
LabVIEW program file
Download
LabVIEW program file
Download
Friends don’t
forget to like, share and subscribe.
Good dude!
ReplyDelete