SlideShare une entreprise Scribd logo
1  sur  32
INTRODUCTION TO
LABVIEW
Graphical programming
language
& Data flow
◦ LabVIEW relies on graphical symbols rather than textual language to
describe programming actions
◦ The principle of dataflow, in which functions execute only after
receiving the necessary data, governs execution in a straightforward
manner
How does LabVIEW work?
◦ LabVIEW programs are called:
◦ Virtual Instruments (VIs)
◦ because their appearance and
operation imitate actual instruments.
◦ However, they are analogous to main programs, functions and subroutines from
popular language like C, Fortran, Pascal, …
Front Panel
• Controls = Inputs
• Indicators = Outputs
Block Diagram
• Accompanying “program”
for front panel
• Components “wired”
together
LabVIEW Programs Are Called
Virtual Instruments (VIs)
LabVIEW Introduction
◦ Two “sets” for development
◦ Front Panel
◦ Block Diagram
◦ Wiring connections
◦ LabVIEW Conventions
◦ Running LabVIEW programs
LabVIEW Front Panel
◦ All user interface goes here!
◦ Used to display Controls or
Indicators
◦ Highly customizable
LabVIEW Block Diagram
◦ Actual program
◦ Invisible to user
◦ Read left to right, like a book
◦ Where the MAGIC happens!
Terminals
When you place a control
(or indicator) on the
FRONT PANEL
LabVIEW automatically
creates a
corresponding
control (or indicator)
terminal on the BLOCK
DIAGRAM
Control? or Indicator?
Controls = Inputs from the user = Source Terminals
Indicators = Outputs to the user = Destinations
Manipulating Controls and Indicators
◦ Right click on an indicator to
◦ Change to control
◦ Change format or precision
◦ Right click on a control to
◦ Change to indicator
◦ Change mechanical action (whether to latch open or
closed, and what to use as default…)
Wiring Connections
◦ Wires transport data
through the block
diagram
◦ Wire color indicates
variable type
◦ A red “X” means
something is wrong!
Wires
A LabVIEW VI is held together by wires connecting nodes
and terminals; they deliver data from one source terminal to
one or more destination terminals.
Broken wires
If you connect more
than
one source or no source
at all to a wire,
LabVIEW
DISAGREES with what
you’re doing, and the
wire will appear broken
Messy vs. Clean Wiring
CLEAN: Easy to troubleshoot
MESSY: What is going on?
Basic wires used in block diagrams
and corresponding types
Each wire has different style or color, depending on
the data
type that flows through the wire:
Scalar 1D array 2D array Color
Floating-point
number
orange
Integer number blue
Boolean green
String pink
LabVIEW Conventions
◦ Front panel items
◦ Controls and indicators
◦ Block diagram items
◦ Program structures (loops, case structures, math, etc.)
◦ Controls vs. Indicators
◦ Wires attach to controls on the right (give values)
◦ Wires attach to indicators on the left (receive values)
◦ Wiring colors
◦ Wires are color coded to correspond to data types
Running LabVIEW Programs
◦ ALMOST ALWAYS put your program in some
sort of loop that can be stopped with a
control
◦ AVOID using the red “x” to stop your
program
Lab. Equipment
◦ Oscilloscope
◦ Function Generator
◦ Digital Voltmeter (DVM)
Universal Measuring
Instruments
Signal Generator
Add/edit text
Wire features together to
control flow of data
Select a feature to
edit or move
Operate a control
Probe Data
(troubleshoot)
Insert a digital
indicator or control
Insert a boolean control
(button or switch)
Add a structure such as for,
while, and case statements
Add a numeric
operator (+,-,…)
File I/O
Add a boolean
operator (and, or…)
Data Acquisition
Signal analysis
Comparison
Mathematical
Functions
Timing/dialog
Reorder
objects
Run
Continuous run
PauseStop
Font ring
Alignment ring
Distribution ring
Debugging features
more on this later…
The Run Button
◦ The Run button, which looks
like an arrow, starts VI
execution when you click on
it
◦ It changes appearance
when a VI is actually running.
◦ When a VI won’t compile,
the run button is broken
Control
Terminals
Block Diagram Window
Front Panel Window
Indicator
Terminals
Creating a VI
Example 1:
Craps
◦ From the functions – numeric
panel insert a pair of dice
◦ From the Controls panel
insert a numeric digital
indicator (on the front panel)
◦ Use the wiring tool to
connect the two (in the
wiring diagram) and click
the “run” button repeatedly.
◦ Numbers from 0.00 to 1.00
should be displayed in the
front panel
Example 1: Craps
(continued)
◦ Delete the wire
◦ Add a multiplication node and
a numeric constant to allow
multiplication by 5
◦ Add an addition node and
numeric constant to allow
addition of 1
◦ Add a mathematical “Round
to Nearest” node.
◦ Make a second copy of this
structure to represent a second
die and wire them together
through an addition node with
an output to a numeric
constant
This wiring diagram simulates the rolling
of 2 dice and their addition to form a number
from 2 through 12.
Example 2: Analog & Digital
Voltmeter (simulated signal)
◦ Uniform noise used as simulated
signal – Functions – Signal Processing
– Signal Generation menu
◦ Absolute value function from
functions – numeric menu
◦ Mean value of data series from the
functions – mathematics – Probability
and Statistics menu
◦ The 250 ms wait implemented from
the time and dialog menu slows the
“flutter” of the meter.
Example 3: Reading an analog input
signal
Requires A/D board to implement
◦ From the functions menu
select data acquisition and
then analog input. Then
select either “Sample
Channel” or Sample
Channels”
◦ This places the sampling
icon in your wiring diagram
◦ You then need to configure
the channel(s) and wire the
output to other parts of your
program.
Example 4: Signal Analysis (continued)
Example 5: Creating Sub-VIs
◦ In wiring diagram use
selection tool (mouse box)
to select all items to be in
the SubVI.
◦ From Edit menu select
“Create SubVI”
◦ Double click on new icon
and save it as a separate
VI.
◦ Cut-and-paste it at will or
insert it using “Functions –
Select VI menu”

Contenu connexe

Tendances

Introduction to LabVIEW
Introduction to LabVIEWIntroduction to LabVIEW
Introduction to LabVIEWAhmed Elsayed
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introductionVishwasJangra
 
MathWorks and Freescale Cup - Working with MATLAB & Simulink
MathWorks and Freescale Cup - Working with MATLAB & SimulinkMathWorks and Freescale Cup - Working with MATLAB & Simulink
MathWorks and Freescale Cup - Working with MATLAB & SimulinkJoachim Schlosser
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview IntroductionRashmi
 
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulinkMATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulinkreddyprasad reddyvari
 
MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3reddyprasad reddyvari
 
Matlab simulink introduction
Matlab simulink introductionMatlab simulink introduction
Matlab simulink introductionAmeen San
 
Introduction to lab view 8.6 in 3 hours
Introduction to lab view 8.6 in 3 hoursIntroduction to lab view 8.6 in 3 hours
Introduction to lab view 8.6 in 3 hoursconquista2011
 

Tendances (17)

Introduction to LabVIEW
Introduction to LabVIEWIntroduction to LabVIEW
Introduction to LabVIEW
 
NIS LabView
NIS LabViewNIS LabView
NIS LabView
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
 
README
READMEREADME
README
 
MathWorks and Freescale Cup - Working with MATLAB & Simulink
MathWorks and Freescale Cup - Working with MATLAB & SimulinkMathWorks and Freescale Cup - Working with MATLAB & Simulink
MathWorks and Freescale Cup - Working with MATLAB & Simulink
 
Labview material
Labview materialLabview material
Labview material
 
From IoT mashups to modeling
From IoT mashups to modeling From IoT mashups to modeling
From IoT mashups to modeling
 
Simulink
SimulinkSimulink
Simulink
 
simulink
simulinksimulink
simulink
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview Introduction
 
Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)
 
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulinkMATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
MATLAB/SIMULINK for Engineering Applications day 2:Introduction to simulink
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
LabView Workshop
LabView WorkshopLabView Workshop
LabView Workshop
 
MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3MATLAB/SIMULINK for engineering applications: day 3
MATLAB/SIMULINK for engineering applications: day 3
 
Matlab simulink introduction
Matlab simulink introductionMatlab simulink introduction
Matlab simulink introduction
 
Introduction to lab view 8.6 in 3 hours
Introduction to lab view 8.6 in 3 hoursIntroduction to lab view 8.6 in 3 hours
Introduction to lab view 8.6 in 3 hours
 

En vedette (20)

2lt 3l supplement
2lt 3l supplement2lt 3l supplement
2lt 3l supplement
 
L 2l 2l-t_repair_manual
L 2l 2l-t_repair_manualL 2l 2l-t_repair_manual
L 2l 2l-t_repair_manual
 
GLII Wiring Diagram
GLII  Wiring DiagramGLII  Wiring Diagram
GLII Wiring Diagram
 
Def 90 110_wsm_book1
Def 90 110_wsm_book1Def 90 110_wsm_book1
Def 90 110_wsm_book1
 
Tuning Your Engine
Tuning Your EngineTuning Your Engine
Tuning Your Engine
 
AppEngine Performance Tuning
AppEngine Performance TuningAppEngine Performance Tuning
AppEngine Performance Tuning
 
Introduction to wiring (DAYS 1 AND 2)
Introduction to wiring (DAYS 1 AND 2)Introduction to wiring (DAYS 1 AND 2)
Introduction to wiring (DAYS 1 AND 2)
 
Griess Thesis Defense PP
Griess Thesis Defense PPGriess Thesis Defense PP
Griess Thesis Defense PP
 
Simulation using model sim
Simulation using model simSimulation using model sim
Simulation using model sim
 
Toyota motor manual 2 lt
Toyota motor manual 2 ltToyota motor manual 2 lt
Toyota motor manual 2 lt
 
Ieee 802
Ieee 802Ieee 802
Ieee 802
 
IEEE 802
IEEE 802IEEE 802
IEEE 802
 
Synthesis Using ISE
Synthesis Using ISESynthesis Using ISE
Synthesis Using ISE
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
Free rtos seminar
Free rtos seminarFree rtos seminar
Free rtos seminar
 
FreeRTOS
FreeRTOSFreeRTOS
FreeRTOS
 
Fpga programming
Fpga programmingFpga programming
Fpga programming
 
FreeRTOS Course - Queue Management
FreeRTOS Course - Queue ManagementFreeRTOS Course - Queue Management
FreeRTOS Course - Queue Management
 
Wiring system
Wiring systemWiring system
Wiring system
 
Unit ii arm7 thumb
Unit ii arm7 thumbUnit ii arm7 thumb
Unit ii arm7 thumb
 

Similaire à 6 weeks summer training in labview,ludhiana

38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptxBKushal1
 
38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdfBKushal1
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfssusere5db05
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptBakiyalakshmiR1
 
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdf1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdfMitsakisMitsaras
 
Labview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLLabview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLMohammad Sabouri
 
Virtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptVirtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptAvinashJain66
 
Lily pad dev_handout
Lily pad dev_handoutLily pad dev_handout
Lily pad dev_handoutKhuê Phạm
 
Seminar report on national instruments electronics workbench
Seminar report on national instruments electronics workbenchSeminar report on national instruments electronics workbench
Seminar report on national instruments electronics workbenchTrishan Jaiswal
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab Arshit Rai
 
222066369 clad-study-guide
222066369 clad-study-guide222066369 clad-study-guide
222066369 clad-study-guidehomeworkping9
 

Similaire à 6 weeks summer training in labview,ludhiana (20)

38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx
 
38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf
 
First fare 2010 lab-view overview
First fare 2010 lab-view overviewFirst fare 2010 lab-view overview
First fare 2010 lab-view overview
 
Wmc lab (1)
Wmc lab (1)Wmc lab (1)
Wmc lab (1)
 
Arduino course
Arduino courseArduino course
Arduino course
 
arduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdfarduinocourse-180308074529 (1).pdf
arduinocourse-180308074529 (1).pdf
 
Labview.ppt
Labview.pptLabview.ppt
Labview.ppt
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).ppt
 
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdf1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
 
Arduino
ArduinoArduino
Arduino
 
Labview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRLLabview2_Computer Applications in Control_ACRRL
Labview2_Computer Applications in Control_ACRRL
 
Virtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptVirtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.ppt
 
Data Acquisition System
Data Acquisition SystemData Acquisition System
Data Acquisition System
 
Lily pad dev_handout
Lily pad dev_handoutLily pad dev_handout
Lily pad dev_handout
 
Seminar report on national instruments electronics workbench
Seminar report on national instruments electronics workbenchSeminar report on national instruments electronics workbench
Seminar report on national instruments electronics workbench
 
Guide to live wire and pcb wizard
Guide to live wire and pcb wizardGuide to live wire and pcb wizard
Guide to live wire and pcb wizard
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
IOT beginnners
IOT beginnnersIOT beginnners
IOT beginnners
 
Summer training matlab
Summer training matlab Summer training matlab
Summer training matlab
 
222066369 clad-study-guide
222066369 clad-study-guide222066369 clad-study-guide
222066369 clad-study-guide
 

Plus de deepikakaler1

Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhianadeepikakaler1
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhianadeepikakaler1
 
Opnet final year project in ludhiana
Opnet final year project in ludhianaOpnet final year project in ludhiana
Opnet final year project in ludhianadeepikakaler1
 
Matlab final year project in ludhiana
Matlab final year project in ludhianaMatlab final year project in ludhiana
Matlab final year project in ludhianadeepikakaler1
 
image processing project course ludhiana
image processing project course ludhianaimage processing project course ludhiana
image processing project course ludhianadeepikakaler1
 
Hfss final year project in ludhiana
Hfss final year project in ludhianaHfss final year project in ludhiana
Hfss final year project in ludhianadeepikakaler1
 
Fuzzy logic mtech project in ludhiana
Fuzzy logic mtech project in ludhiana Fuzzy logic mtech project in ludhiana
Fuzzy logic mtech project in ludhiana deepikakaler1
 
Embedded final year project in ludhiana
Embedded final year project in ludhianaEmbedded final year project in ludhiana
Embedded final year project in ludhianadeepikakaler1
 
Data mining final year project in ludhiana
Data mining final year project in ludhianaData mining final year project in ludhiana
Data mining final year project in ludhianadeepikakaler1
 
Android mtech project in ludhiana
Android  mtech project in ludhianaAndroid  mtech project in ludhiana
Android mtech project in ludhianadeepikakaler1
 
Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana deepikakaler1
 
.Net final year project in LUDHIANA
.Net final year project in LUDHIANA.Net final year project in LUDHIANA
.Net final year project in LUDHIANAdeepikakaler1
 
6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhianadeepikakaler1
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhianadeepikakaler1
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhianadeepikakaler1
 
6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana6months industrial training in labview, ludhiana
6months industrial training in labview, ludhianadeepikakaler1
 
6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhianadeepikakaler1
 
6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhianadeepikakaler1
 
6 weeks summer training in fuzzy logic,ludhiana
6 weeks summer training in fuzzy logic,ludhiana6 weeks summer training in fuzzy logic,ludhiana
6 weeks summer training in fuzzy logic,ludhianadeepikakaler1
 
6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhianadeepikakaler1
 

Plus de deepikakaler1 (20)

Vlsi final year project in ludhiana
Vlsi final year project in ludhianaVlsi final year project in ludhiana
Vlsi final year project in ludhiana
 
Software testing mtech project in ludhiana
Software testing mtech project in ludhianaSoftware testing mtech project in ludhiana
Software testing mtech project in ludhiana
 
Opnet final year project in ludhiana
Opnet final year project in ludhianaOpnet final year project in ludhiana
Opnet final year project in ludhiana
 
Matlab final year project in ludhiana
Matlab final year project in ludhianaMatlab final year project in ludhiana
Matlab final year project in ludhiana
 
image processing project course ludhiana
image processing project course ludhianaimage processing project course ludhiana
image processing project course ludhiana
 
Hfss final year project in ludhiana
Hfss final year project in ludhianaHfss final year project in ludhiana
Hfss final year project in ludhiana
 
Fuzzy logic mtech project in ludhiana
Fuzzy logic mtech project in ludhiana Fuzzy logic mtech project in ludhiana
Fuzzy logic mtech project in ludhiana
 
Embedded final year project in ludhiana
Embedded final year project in ludhianaEmbedded final year project in ludhiana
Embedded final year project in ludhiana
 
Data mining final year project in ludhiana
Data mining final year project in ludhianaData mining final year project in ludhiana
Data mining final year project in ludhiana
 
Android mtech project in ludhiana
Android  mtech project in ludhianaAndroid  mtech project in ludhiana
Android mtech project in ludhiana
 
Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana Artificial intelligence mtech project in ludhiana
Artificial intelligence mtech project in ludhiana
 
.Net final year project in LUDHIANA
.Net final year project in LUDHIANA.Net final year project in LUDHIANA
.Net final year project in LUDHIANA
 
6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana6 weeks/months summer training in vlsi,ludhiana
6 weeks/months summer training in vlsi,ludhiana
 
6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana6 weeks summer training in software testing,ludhiana
6 weeks summer training in software testing,ludhiana
 
6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana6months industrial training in software testing, ludhiana
6months industrial training in software testing, ludhiana
 
6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana6months industrial training in labview, ludhiana
6months industrial training in labview, ludhiana
 
6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana6 weeks summer training in hfss,ludhiana
6 weeks summer training in hfss,ludhiana
 
6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana6months industrial training in hfss, ludhiana
6months industrial training in hfss, ludhiana
 
6 weeks summer training in fuzzy logic,ludhiana
6 weeks summer training in fuzzy logic,ludhiana6 weeks summer training in fuzzy logic,ludhiana
6 weeks summer training in fuzzy logic,ludhiana
 
6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana6months industrial training in fuzzy logic, ludhiana
6months industrial training in fuzzy logic, ludhiana
 

Dernier

Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Dernier (20)

Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

6 weeks summer training in labview,ludhiana

  • 1.
  • 3. Graphical programming language & Data flow ◦ LabVIEW relies on graphical symbols rather than textual language to describe programming actions ◦ The principle of dataflow, in which functions execute only after receiving the necessary data, governs execution in a straightforward manner
  • 4. How does LabVIEW work? ◦ LabVIEW programs are called: ◦ Virtual Instruments (VIs) ◦ because their appearance and operation imitate actual instruments. ◦ However, they are analogous to main programs, functions and subroutines from popular language like C, Fortran, Pascal, …
  • 5. Front Panel • Controls = Inputs • Indicators = Outputs Block Diagram • Accompanying “program” for front panel • Components “wired” together LabVIEW Programs Are Called Virtual Instruments (VIs)
  • 6. LabVIEW Introduction ◦ Two “sets” for development ◦ Front Panel ◦ Block Diagram ◦ Wiring connections ◦ LabVIEW Conventions ◦ Running LabVIEW programs
  • 7. LabVIEW Front Panel ◦ All user interface goes here! ◦ Used to display Controls or Indicators ◦ Highly customizable
  • 8. LabVIEW Block Diagram ◦ Actual program ◦ Invisible to user ◦ Read left to right, like a book ◦ Where the MAGIC happens!
  • 9. Terminals When you place a control (or indicator) on the FRONT PANEL LabVIEW automatically creates a corresponding control (or indicator) terminal on the BLOCK DIAGRAM
  • 10. Control? or Indicator? Controls = Inputs from the user = Source Terminals Indicators = Outputs to the user = Destinations
  • 11. Manipulating Controls and Indicators ◦ Right click on an indicator to ◦ Change to control ◦ Change format or precision ◦ Right click on a control to ◦ Change to indicator ◦ Change mechanical action (whether to latch open or closed, and what to use as default…)
  • 12. Wiring Connections ◦ Wires transport data through the block diagram ◦ Wire color indicates variable type ◦ A red “X” means something is wrong!
  • 13. Wires A LabVIEW VI is held together by wires connecting nodes and terminals; they deliver data from one source terminal to one or more destination terminals.
  • 14. Broken wires If you connect more than one source or no source at all to a wire, LabVIEW DISAGREES with what you’re doing, and the wire will appear broken
  • 15. Messy vs. Clean Wiring CLEAN: Easy to troubleshoot MESSY: What is going on?
  • 16. Basic wires used in block diagrams and corresponding types Each wire has different style or color, depending on the data type that flows through the wire: Scalar 1D array 2D array Color Floating-point number orange Integer number blue Boolean green String pink
  • 17. LabVIEW Conventions ◦ Front panel items ◦ Controls and indicators ◦ Block diagram items ◦ Program structures (loops, case structures, math, etc.) ◦ Controls vs. Indicators ◦ Wires attach to controls on the right (give values) ◦ Wires attach to indicators on the left (receive values) ◦ Wiring colors ◦ Wires are color coded to correspond to data types
  • 18. Running LabVIEW Programs ◦ ALMOST ALWAYS put your program in some sort of loop that can be stopped with a control ◦ AVOID using the red “x” to stop your program
  • 19. Lab. Equipment ◦ Oscilloscope ◦ Function Generator ◦ Digital Voltmeter (DVM) Universal Measuring Instruments Signal Generator
  • 20. Add/edit text Wire features together to control flow of data Select a feature to edit or move Operate a control Probe Data (troubleshoot)
  • 21. Insert a digital indicator or control Insert a boolean control (button or switch)
  • 22. Add a structure such as for, while, and case statements Add a numeric operator (+,-,…) File I/O Add a boolean operator (and, or…) Data Acquisition Signal analysis Comparison Mathematical Functions Timing/dialog
  • 23.
  • 24. Reorder objects Run Continuous run PauseStop Font ring Alignment ring Distribution ring Debugging features more on this later…
  • 25. The Run Button ◦ The Run button, which looks like an arrow, starts VI execution when you click on it ◦ It changes appearance when a VI is actually running. ◦ When a VI won’t compile, the run button is broken
  • 26. Control Terminals Block Diagram Window Front Panel Window Indicator Terminals Creating a VI
  • 27. Example 1: Craps ◦ From the functions – numeric panel insert a pair of dice ◦ From the Controls panel insert a numeric digital indicator (on the front panel) ◦ Use the wiring tool to connect the two (in the wiring diagram) and click the “run” button repeatedly. ◦ Numbers from 0.00 to 1.00 should be displayed in the front panel
  • 28. Example 1: Craps (continued) ◦ Delete the wire ◦ Add a multiplication node and a numeric constant to allow multiplication by 5 ◦ Add an addition node and numeric constant to allow addition of 1 ◦ Add a mathematical “Round to Nearest” node. ◦ Make a second copy of this structure to represent a second die and wire them together through an addition node with an output to a numeric constant This wiring diagram simulates the rolling of 2 dice and their addition to form a number from 2 through 12.
  • 29. Example 2: Analog & Digital Voltmeter (simulated signal) ◦ Uniform noise used as simulated signal – Functions – Signal Processing – Signal Generation menu ◦ Absolute value function from functions – numeric menu ◦ Mean value of data series from the functions – mathematics – Probability and Statistics menu ◦ The 250 ms wait implemented from the time and dialog menu slows the “flutter” of the meter.
  • 30. Example 3: Reading an analog input signal Requires A/D board to implement ◦ From the functions menu select data acquisition and then analog input. Then select either “Sample Channel” or Sample Channels” ◦ This places the sampling icon in your wiring diagram ◦ You then need to configure the channel(s) and wire the output to other parts of your program.
  • 31. Example 4: Signal Analysis (continued)
  • 32. Example 5: Creating Sub-VIs ◦ In wiring diagram use selection tool (mouse box) to select all items to be in the SubVI. ◦ From Edit menu select “Create SubVI” ◦ Double click on new icon and save it as a separate VI. ◦ Cut-and-paste it at will or insert it using “Functions – Select VI menu”

Notes de l'éditeur

  1. LabVIEW programs are called virtual instruments (VIs). Stress that controls equal inputs, indicators equal outputs. Each VI contains three main parts: Front Panel – How the user interacts with the VI. Block Diagram – The code that controls the program. Icon/Connector – Means of connecting a VI to other VIs. The Front Panel is used to interact with the user when the program is running. Users can control the program, change inputs, and see data updated in real time. Stress that controls are used for inputs- adjusting a slide control to set an alarm value, turning a switch on or off, or stopping a program. Indicators are used as outputs. Thermometers, lights, and other indicators indicate values from the program. These may include data, program states, and other information. Every front panel control or indicator has a corresponding terminal on the block diagram. When a VI is run, values from controls flow through the block diagram, where they are used in the functions on the diagram, and the results are passed into other functions or indicators.
  2. When you create an object on the Front Panel, a terminal will be created on the Block Diagram. These terminals give you access to the Front Panel objects from the Block Diagram code. Each terminal contains useful information about the Front Panel object it corresponds to. For example, the color and symbols provide the data type. Double-precision, floating point numbers are represented with orange terminals and the letters DBL. Boolean terminals are green with TF lettering. In general, orange terminals should wire to orange terminals, green to green, and so on. This is not a hard-and-fast rule; LabVIEW will allow a user to connect a blue terminal (integer value) to an orange terminal (fractional value), for example. But in most cases, look for a match in colors. Controls have an arrow on the right side and have a thick border. Indicators have an arrow on the left and a thin border. Logic rules apply to wiring in LabVIEW: Each wire must have one (but only one) source (or control), and each wire may have multiple destinations (or indicators). The program in this slide takes data from A and B and passes the values to both an Add function and a subtract function. The results are displayed on the appropriate indicators.