E N D
A Presentation on LabVIEWforInstrumentation & Control System Mr. SAJID NAEEM M.SC – Electronics (UOP) PG-DEP (C-DAC)
Contents • Introduction to LabVIEW • LabVIEW Software Overview • Data Acquisition System • Instrumentation in LabVIEW • Control System in LabVIEW • Examples • Advantages • Applications • References
LabVIEW = Laboratory+ VirtualInstrumentEngineering Workbench . Lab VIEW is a graphical programming language that uses icons instead of lines of text to create programs. . LabVIEWprogram called Virtual Instrument produced by National Instruments in 1988. . LabVIEW is a much loved tool of the scientist and engineer. . Jeff Kodosky is the “Father of LabVIEW”.
Virtual Instruments: . Lab VIEW programs are called virtual instruments, or VIs, because their appearance and operation imitate physical instruments, such as oscilloscopes and multimeters etc. . After build the user interface, add code using VIs and structures to control the front panel objects. The block diagram contains this code.
Basic wires used in block diagramsand corresponding types: .Each wire has different style or color, depending on the data type that flows through the wire:
Basic Examples : • LabVIEW is written on graphical structure. • While in LabVIEW summation is a function and it is represent by following symbol. • In LabVIEW, such mathematical and logical functions are represented graphically.
Converting ºC to ºF °F = (1.8 * °C) + 32 Control Indicator
The building blocks of a DAQ system: • Transducer: A device that converts a physical phenomenon such as light, temperature, pressure, or sound into a measurable electrical signal such as voltage or current. • Signal: The output of the transducer. • Signal conditioning: Hardware that you can connect to the DAQ device to make the signal suitable for measurement or to improve accuracy or reduce noise. • DAQ hardware: Hardware you use to acquire, measure, and analyze data. • Software: NI application software is designed to help you easily design and program your measurement and control application (LABVIEW).
DAQ Device Properties: • DAQ devices have four standard elements: • Analog input (AI) • Analog output (AO) • Digital I/O (DIO) • Counter/Timers
Feature of DAQ 6009: . Eight 14-bit analog inputs. . 12 digital I/O lines. . 2 analog outputs. . 1 counter. 17 1 Analog Digital 32 16
How to Select DAQ Device & Accessories: 1. Open the Labview program, in the Block Diagram select functions, express input then select the DAQ Assistanticon.
2. Select “Analog Input” so as to input your analog data to the computer and Labview.
3. We have 16 physical input channels from ai0 to ai15, select a channel like ai0.
5. Now make the connections and select test then Run to see the input voltage.
Result in Block Diagram: • Temperature ( oC) = Vout * (100 oC/V) Convert from Dynamic Data
Result in Front Panel (heating) Result in Front Panel (cooling) XY Graph XY Graph
Practical Set Up Temperature Measurement LM35 Thermistor PT100
Instrumentation in LabVIEW Virtual Instrumentation Lab Instrumentation Lab
Control System in LabVIEW LabVIEWControl Panel IndustrialControl Panel
Control System in LabVIEW Control System Virtual System
Advantages of LabVIEW • .Easy to learn, use, maintain, and upgrade • . One tool for design, prototyping and deployment • . Multidisciplinary use (Instr. Elect. Control…) • . Multiplatform (Windows, Mac OS, Linux, RTOSs) • . Multicore-ready design and support for different hardware acceleration technologies.(DSP, FPGA…) • . Ability to solve and execute complex algorithms in real time. • .
Applications of LabView in Various Industries . Instrumentation . Process Control . Electronics . Communication . Biomedical . Robotics . Image Processing . Research…………………
References: • www.ni.com • www. forums.ni.com • www.labviewwiki.org • Books: • LabVIEW Data Acquisition Basics Manual • LabVIEW for Data Acquisition by Bruce Mihura • LabVIEW based Advanced Instrumentation Systems • LabVIEW for Everyone by Jim Kring