SlideShare a Scribd company logo
Prof. D.K. Chaturvedi
Dept. of Electrical Engineering
D.E.I. (Deemed University)
Dayalbagh, Agra
LabVIEW
LabVIEW-Laboratory Virtual Instrument Engineering Workbench
 LabVIEW programs are called Virtual Instruments(VIs) as they imitate physical instruments.
 Graphical Programming language.
 We can build user interface called front panel with controls and indicators.
ADVANTAGE
 Higher Modular code
 User friendly interface
 Easy to use development environment
 Provides the capability to build instruments
as per our requirements.
 No obsolescence
 Cost effective instruments.
Front Panel
(User Interface)
Block diagram
(Programming Window)
Suppose we are interested to measure the following parameters of a
periodic signal
RMS value of the voltage
Average value
Frequency
True shape of the waveform
To measure the above parameters, we need the following equipments:
 Function generator
 AC voltmeter
 Frequency meter
 Phase angle
 CRO
We will prefer to measure the above parameters by a single
instrument
Generating a periodic signal and measuring parameters of the
signal by labview
Labview is a graphical programming system designed for data acquisition,
data analysis, and instrument control
LabVIEW program can run on PC Windows, Macintosh and VXI systems, and
is transportable from one system to another.
LabVIEW uses graphical symbols (icons) to describe programming actions
while other language use text for instruction code
LabVIEW programs are called virtual instruments (VIs) because its
appearance and operation imitate actual instruments
When started, two windows are open: (i) Front panel, it simulates front panel
of physical instruments (ii) the Block diagram shows the internal components of
the program
Front panel can contain control knobs, push button, graph, indicators and other
controls
The control and indicator are connected to other operators and program blocks
Each program block has different symbol and data type has different colour
What is Labview
When we start LabVIEW, we will see a screen with a few options on it.
o This is front panel.
o Here we can input data and view results
o Data can also be inputed through data
file or DAQ cards
Right click the cursor on front panel
o There are numeric, Boolean, string, array, graph, and
other controls VI.
o Select numeric control VI and place it on front panel
o Select another numeric VI to display measured value
Numeric
control
Numeric
display
Block diagram window will be used to create VI programs
Program can be made using Inputs and
Outputs of Front panel and Objects from
Function window
Labview allows user to set breakpoint and examine data
inside the program
Click on red dot on tool manu and then set breakpoint
on add icon
Click run button on block diagram window and select
probe tool from tool menu
Click three probes on data path. Three windows will
open with values on each path.
Click run button to see x+y.
Labview program to display square of numbers
 Open new VI (front panel and block diagram)
 Select digital numeric control and waveform graph in front panel
 Now select block diagram window and open function window
 Select FOR loop (under structure menu) , multiply VI(under numeric
menu), Build array (under Array menu) and Write to spread sheet block
(under file I/O menu)
 Connect ‘N’ of FOR loop to numeric control menu, ‘i’ to inputs of
multiplier, Output of multiplier to input of build array menu, Output of
array to Graph VI and Spread sheet VI.
 i = 0, 1, 2…… N (Input of digital control), output of multiplier = i*i.
Modeling of Temperature sensor using Labview VI blocks
 The characteristics equation of a NTC given thermistor
RT = R0 exp(β/T- β/T0),
RT resistance at any Temp T °K, R0 resiatnce at ° K, β characteristics coefficient
(3500-4000°K), the equation can be further written as
ln (RT/R0) = [ β/T – β/T0] and
T = β/[ln (RT/R0 + β/T0]). If we know β, R0 and RT at any temperature T,
then it can be used to display temperature directly.
Following components are required to model thermistor using VI
- Sensor data simulator.
- Voltage to thermistor resistance converter module.
- Calibration & presentation module
Warning system
- Password protection (if we are interested)
Sensor Data Simulator Module
Temperature range: 00C to 650C
Corresponding voltage range (Signal Conditioning
Circuit Output): 0.45 V to 1.45 V
This voltage range is generated using random
number generator VI in numeric menu of Labview
Here 10 random numbers are averaged to get
average Vo
To obtain actual Thermistor Resistance RT at
temperature T from voltage output the
following equation is implemented
RT =((Vi – V0) / V0 ) * Rs
Where RT– Thermistor Resistance at T
Vi – Input voltage (= 5 V)
Rs – Series resistance (= 1 K-ohm)
V0 – Voltage across Rs
Conversion of Vo to RT using Labview
RT =((Vi – V0) / V0 ) * Rs
Front panel for RT
Calibration And Presentation Module
The calibration module implements following expression:-
T = /[{ln(RT/ R0)}+ /T0] --------
RT Thermistor resistance at T (K)
T Thermistor temperature (K)
R0 Resistance at T0 (K)
 Thermistor characteristics constant (K)
Integrated Block Diagram to simulate inverse model of
thermistor
Front Panel Of The Developed Application
The Alarm Module
Alarm module in the designed application is used to check the variation of
measurand beyond and below certain user specified boundaries. The
application will work if the parameter is within range, otherwise it will give
the range violation alarm. The design is sensitive to temperature range
between 60C and 30C.
Online Temperature Measurement Using Labview
Vi
RTH
R=1Kohm
DAQ
Device
LabVIE
W
Vo
+
-
Real Time
Data File
National Instruments
DAQ card
Real-time humidity and temperature measurement using Labview
Front panel of the application
LabVIEW APPLICATION
SYSTEMS where LabVIEW is being used
during performance evaluation trials
• Parachute systems
• Aircraft Arrester barrier System(AABS)
• Heavy Drop System(HDS)
• Controlled Aerial Delivery System(CADS)
• Floatation systems for Space recovery module
• Human Space Program(HSP) deceleration system
etc.
For performance evaluation of the various systems developed in ADRDE,
Instrumented trials are conducted using Telemetry and Data Acquisition Systems.
LabVIEW is used as Data Acquisition and Data Analysis Tool.
Measured Parameters
Snatch and Opening Shock of
Parachute
 Steady load and terminal
velocity of parachute systems.
Burst pressure measurement of
Floats
Impact measurement
Oscillation of payload
Load Profile Acc/Dec Profile OscillationAltitude Profile Rate of Descent
TELEMETRY AND DATA ACQUISITION
TELEMETRY
Data Acquired from various sensors are transmitted through
wireless channel. At Ground Station, these signals are received,
acquired and processed using Data acquisition card and PC with
LabVIEW VI.
Receiver Discriminator
DAQ
Card
Antenna
PC with
LabVIEW
ONBOARD DATA ACQUISITION
Data from various sensors is recorded using microcontroller
based Data Acquisition system. Data is stored in the internal
memory of the DAQ system.
Stored data is then downloaded to PC using HyperTerminal for
post trial Analysis using LabVIEW application.
SENSOR
MICRO CONTROLLER BASED
DATA ACQUISITION SYSTEM
WITH STORAGE MEMORY
Data Acquisition
MICRO CONTROLLER BASED
DATA ACQUISITION SYSTEM
WITH STORAGE MEMORY
PC with
HyperTerminal
Data Downloading
ONLINE DATA ACQUISITION SYSTEM
Used when parameters to be recorded are easily accessible. Sensors output is directly acquired by PC using
DAQ card and LabVIEW VI
Sensor DAQ Card
PC with
LabVIEW
Sensor output is acquired and recorded
using LabVIEW
Recorded data after data analysis
Impact Measurement using LabVIEW
DATA ANALYSIS USING LabVIEW
Data recorded using DAQ system Data analysis using LabVIEW: Load profile
Data analysis using LabVIEW: Acceleration Profile Data analysis using LabVIEW: Altitude Profile
DEVELOPMENT OF DISCRIMINATOR
Discriminator hardware has been replaced by LabVIEW application
ADRDE has a patent for the scheme.
STRAIN MEASUREMENT SYSTEM-PXI BASED DATA ACQUISITION SYSTEM
Four SCXI-1520 modules capable to interface
32 strain gauge bridges and other Wheatstone
bridge based sensors.
 Used for strain measurement on metallic
structure.
NIcRIO Data Logger
 Modular Telemetry and data Acquisition system
 Video Acquisition using LabVISION.
 Real time application.
Receiver Discriminator DAQ Card
Antenna
PC with
LabVIEW
THANK YOU

More Related Content

PPT
Lecture handout by Mohd. Ayub Khan
PDF
Introduction to LabVIEW
PPTX
Presentation on LabVIEW Basics
PPTX
NIS LabView
PDF
Labview pdf
PPT
Lab view introduction
PDF
Introduction to Labview
PPT
Labview material
Lecture handout by Mohd. Ayub Khan
Introduction to LabVIEW
Presentation on LabVIEW Basics
NIS LabView
Labview pdf
Lab view introduction
Introduction to Labview
Labview material

What's hot (18)

PDF
Introduction to lab view 8.6 in 3 hours
PPTX
Introduction to lab view 8.6 in 3 hours
PPTX
Lab view
PPT
Labview Introduction
PPTX
Lesson 1 navigating lab view
PPTX
Virtual instrumentation (LabVIEW)
PPTX
LabView Workshop
PPTX
Labview
PPTX
details of labviews
PDF
Internship Report (VTOL) (2)
DOC
222066369 clad-study-guide
PPT
6 weeks summer training in labview,jalandhar
PPT
6months industrial training in labview, jalandhar
PDF
Lab view introduction-threehour
PPT
LabVIEW Introduction
PPT
LabVIEW FPGA
PDF
National instruments for Academics: labview multisim & elsvi
PPTX
Simulink Projects Research Help
Introduction to lab view 8.6 in 3 hours
Introduction to lab view 8.6 in 3 hours
Lab view
Labview Introduction
Lesson 1 navigating lab view
Virtual instrumentation (LabVIEW)
LabView Workshop
Labview
details of labviews
Internship Report (VTOL) (2)
222066369 clad-study-guide
6 weeks summer training in labview,jalandhar
6months industrial training in labview, jalandhar
Lab view introduction-threehour
LabVIEW Introduction
LabVIEW FPGA
National instruments for Academics: labview multisim & elsvi
Simulink Projects Research Help
Ad

Similar to LabVIEW lecture handout by Prof. d k chaturvedi (20)

PPT
Labview.ppt
PDF
Introduction to DAQ with LabVIEW - Overview.pdf
PPTX
First fare 2010 lab-view overview
PDF
G code based data receiving and control system
PPTX
Sample instrument using lab view abhijeet agarwal-1
PPT
Virtual Instrumentation & LabVIEW-lini.ppt
PPT
Lesson_1-4.ppt
PDF
(eBook PDF) Hands-On Introduction to LabVIEW for Scientists and Engineers 4th...
PDF
Introduction to lab_view
PPTX
Introduction to National Instrument Data Logging Machine Monitoring and Pow...
DOC
LabVIEW Porfolio
PPT
Labview phd project in jalandhar
PPT
Labview phd project in ludhiana
DOCX
Wmc lab (1)
PPTX
38180007 Sarish Wadkar.pptx
PDF
38180007 Sarish Wadkar.pdf
PPT
6months industrial training in labview, ludhiana
PPT
6 weeks summer training in labview,ludhiana
PDF
Lab view introduction
PPTX
LabVIEW-Based SRS Data Acquisition System.pptx
Labview.ppt
Introduction to DAQ with LabVIEW - Overview.pdf
First fare 2010 lab-view overview
G code based data receiving and control system
Sample instrument using lab view abhijeet agarwal-1
Virtual Instrumentation & LabVIEW-lini.ppt
Lesson_1-4.ppt
(eBook PDF) Hands-On Introduction to LabVIEW for Scientists and Engineers 4th...
Introduction to lab_view
Introduction to National Instrument Data Logging Machine Monitoring and Pow...
LabVIEW Porfolio
Labview phd project in jalandhar
Labview phd project in ludhiana
Wmc lab (1)
38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pdf
6months industrial training in labview, ludhiana
6 weeks summer training in labview,ludhiana
Lab view introduction
LabVIEW-Based SRS Data Acquisition System.pptx
Ad

Recently uploaded (20)

PDF
What if we spent less time fighting change, and more time building what’s rig...
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PDF
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
PDF
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PPTX
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
PDF
Indian roads congress 037 - 2012 Flexible pavement
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
1_English_Language_Set_2.pdf probationary
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Unit 4 Skeletal System.ppt.pptxopresentatiom
PDF
Complications of Minimal Access Surgery at WLH
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
Introduction to Building Materials
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
What if we spent less time fighting change, and more time building what’s rig...
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
LNK 2025 (2).pdf MWEHEHEHEHEHEHEHEHEHEHE
RTP_AR_KS1_Tutor's Guide_English [FOR REPRODUCTION].pdf
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Radiologic_Anatomy_of_the_Brachial_plexus [final].pptx
Indian roads congress 037 - 2012 Flexible pavement
Orientation - ARALprogram of Deped to the Parents.pptx
Computing-Curriculum for Schools in Ghana
1_English_Language_Set_2.pdf probationary
Chinmaya Tiranga quiz Grand Finale.pdf
Unit 4 Skeletal System.ppt.pptxopresentatiom
Complications of Minimal Access Surgery at WLH
Weekly quiz Compilation Jan -July 25.pdf
Introduction to Building Materials
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
Digestion and Absorption of Carbohydrates, Proteina and Fats
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf

LabVIEW lecture handout by Prof. d k chaturvedi

  • 1. Prof. D.K. Chaturvedi Dept. of Electrical Engineering D.E.I. (Deemed University) Dayalbagh, Agra
  • 2. LabVIEW LabVIEW-Laboratory Virtual Instrument Engineering Workbench  LabVIEW programs are called Virtual Instruments(VIs) as they imitate physical instruments.  Graphical Programming language.  We can build user interface called front panel with controls and indicators. ADVANTAGE  Higher Modular code  User friendly interface  Easy to use development environment  Provides the capability to build instruments as per our requirements.  No obsolescence  Cost effective instruments. Front Panel (User Interface) Block diagram (Programming Window)
  • 3. Suppose we are interested to measure the following parameters of a periodic signal RMS value of the voltage Average value Frequency True shape of the waveform To measure the above parameters, we need the following equipments:  Function generator  AC voltmeter  Frequency meter  Phase angle  CRO We will prefer to measure the above parameters by a single instrument
  • 4. Generating a periodic signal and measuring parameters of the signal by labview
  • 5. Labview is a graphical programming system designed for data acquisition, data analysis, and instrument control LabVIEW program can run on PC Windows, Macintosh and VXI systems, and is transportable from one system to another. LabVIEW uses graphical symbols (icons) to describe programming actions while other language use text for instruction code LabVIEW programs are called virtual instruments (VIs) because its appearance and operation imitate actual instruments When started, two windows are open: (i) Front panel, it simulates front panel of physical instruments (ii) the Block diagram shows the internal components of the program Front panel can contain control knobs, push button, graph, indicators and other controls The control and indicator are connected to other operators and program blocks Each program block has different symbol and data type has different colour What is Labview
  • 6. When we start LabVIEW, we will see a screen with a few options on it. o This is front panel. o Here we can input data and view results o Data can also be inputed through data file or DAQ cards Right click the cursor on front panel o There are numeric, Boolean, string, array, graph, and other controls VI. o Select numeric control VI and place it on front panel o Select another numeric VI to display measured value Numeric control Numeric display
  • 7. Block diagram window will be used to create VI programs Program can be made using Inputs and Outputs of Front panel and Objects from Function window Labview allows user to set breakpoint and examine data inside the program Click on red dot on tool manu and then set breakpoint on add icon Click run button on block diagram window and select probe tool from tool menu Click three probes on data path. Three windows will open with values on each path. Click run button to see x+y.
  • 8. Labview program to display square of numbers  Open new VI (front panel and block diagram)  Select digital numeric control and waveform graph in front panel  Now select block diagram window and open function window  Select FOR loop (under structure menu) , multiply VI(under numeric menu), Build array (under Array menu) and Write to spread sheet block (under file I/O menu)  Connect ‘N’ of FOR loop to numeric control menu, ‘i’ to inputs of multiplier, Output of multiplier to input of build array menu, Output of array to Graph VI and Spread sheet VI.  i = 0, 1, 2…… N (Input of digital control), output of multiplier = i*i.
  • 9. Modeling of Temperature sensor using Labview VI blocks  The characteristics equation of a NTC given thermistor RT = R0 exp(β/T- β/T0), RT resistance at any Temp T °K, R0 resiatnce at ° K, β characteristics coefficient (3500-4000°K), the equation can be further written as ln (RT/R0) = [ β/T – β/T0] and T = β/[ln (RT/R0 + β/T0]). If we know β, R0 and RT at any temperature T, then it can be used to display temperature directly. Following components are required to model thermistor using VI - Sensor data simulator. - Voltage to thermistor resistance converter module. - Calibration & presentation module Warning system - Password protection (if we are interested)
  • 10. Sensor Data Simulator Module Temperature range: 00C to 650C Corresponding voltage range (Signal Conditioning Circuit Output): 0.45 V to 1.45 V This voltage range is generated using random number generator VI in numeric menu of Labview Here 10 random numbers are averaged to get average Vo To obtain actual Thermistor Resistance RT at temperature T from voltage output the following equation is implemented RT =((Vi – V0) / V0 ) * Rs Where RT– Thermistor Resistance at T Vi – Input voltage (= 5 V) Rs – Series resistance (= 1 K-ohm) V0 – Voltage across Rs
  • 11. Conversion of Vo to RT using Labview RT =((Vi – V0) / V0 ) * Rs Front panel for RT
  • 12. Calibration And Presentation Module The calibration module implements following expression:- T = /[{ln(RT/ R0)}+ /T0] -------- RT Thermistor resistance at T (K) T Thermistor temperature (K) R0 Resistance at T0 (K)  Thermistor characteristics constant (K)
  • 13. Integrated Block Diagram to simulate inverse model of thermistor
  • 14. Front Panel Of The Developed Application
  • 15. The Alarm Module Alarm module in the designed application is used to check the variation of measurand beyond and below certain user specified boundaries. The application will work if the parameter is within range, otherwise it will give the range violation alarm. The design is sensitive to temperature range between 60C and 30C.
  • 16. Online Temperature Measurement Using Labview Vi RTH R=1Kohm DAQ Device LabVIE W Vo + - Real Time Data File National Instruments DAQ card
  • 17. Real-time humidity and temperature measurement using Labview
  • 18. Front panel of the application
  • 19. LabVIEW APPLICATION SYSTEMS where LabVIEW is being used during performance evaluation trials • Parachute systems • Aircraft Arrester barrier System(AABS) • Heavy Drop System(HDS) • Controlled Aerial Delivery System(CADS) • Floatation systems for Space recovery module • Human Space Program(HSP) deceleration system etc. For performance evaluation of the various systems developed in ADRDE, Instrumented trials are conducted using Telemetry and Data Acquisition Systems. LabVIEW is used as Data Acquisition and Data Analysis Tool. Measured Parameters Snatch and Opening Shock of Parachute  Steady load and terminal velocity of parachute systems. Burst pressure measurement of Floats Impact measurement Oscillation of payload Load Profile Acc/Dec Profile OscillationAltitude Profile Rate of Descent
  • 20. TELEMETRY AND DATA ACQUISITION TELEMETRY Data Acquired from various sensors are transmitted through wireless channel. At Ground Station, these signals are received, acquired and processed using Data acquisition card and PC with LabVIEW VI. Receiver Discriminator DAQ Card Antenna PC with LabVIEW
  • 21. ONBOARD DATA ACQUISITION Data from various sensors is recorded using microcontroller based Data Acquisition system. Data is stored in the internal memory of the DAQ system. Stored data is then downloaded to PC using HyperTerminal for post trial Analysis using LabVIEW application. SENSOR MICRO CONTROLLER BASED DATA ACQUISITION SYSTEM WITH STORAGE MEMORY Data Acquisition MICRO CONTROLLER BASED DATA ACQUISITION SYSTEM WITH STORAGE MEMORY PC with HyperTerminal Data Downloading
  • 22. ONLINE DATA ACQUISITION SYSTEM Used when parameters to be recorded are easily accessible. Sensors output is directly acquired by PC using DAQ card and LabVIEW VI Sensor DAQ Card PC with LabVIEW Sensor output is acquired and recorded using LabVIEW Recorded data after data analysis Impact Measurement using LabVIEW
  • 23. DATA ANALYSIS USING LabVIEW Data recorded using DAQ system Data analysis using LabVIEW: Load profile Data analysis using LabVIEW: Acceleration Profile Data analysis using LabVIEW: Altitude Profile
  • 24. DEVELOPMENT OF DISCRIMINATOR Discriminator hardware has been replaced by LabVIEW application ADRDE has a patent for the scheme. STRAIN MEASUREMENT SYSTEM-PXI BASED DATA ACQUISITION SYSTEM Four SCXI-1520 modules capable to interface 32 strain gauge bridges and other Wheatstone bridge based sensors.  Used for strain measurement on metallic structure. NIcRIO Data Logger  Modular Telemetry and data Acquisition system  Video Acquisition using LabVISION.  Real time application. Receiver Discriminator DAQ Card Antenna PC with LabVIEW