Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Project Done By Shekhar C. Chaudhari Under the Guidance of Shri. Suresh Kumar A. Praveen Kumar.
Overview : The language Building an Application Front Panel Source Diagram Programming For Instruments:Signal Generator (Marconi 2031) Network Analyzer (HP 8714C) Spectrum Analyzer (HP 8590L) Vector Voltmeter (HP 8508A)
Virtual Instrumentation
PC Based Instrument
Vendor Defined
User Defined
Acquisition
INSTRUMENT
Analysis
Calculate
Presentation
User Interface Hard Copy File I/O
What is it?
Laboratory Virtual Instrument Engineering Workbench. Development environment for the G language. Produced by National Instruments for all major operating systems. Originally developed for communication with lab devices. A really useful tool.
What is NI LabVIEW ?
Fast development with interactive configuration and programming Easy interface with real world I/O, measurement analysis, and data presentation
Why use LabVIEW? Easy to Learn - Intuitive. Easy to Use. No Syntax. Source code reads like schematic. Speed of development. Ready made controls for many instruments. As versatile as text-based languages.
Programming Evolution
The G Language :
Completely graphical programming language. Source code is a diagram of nodes and wires.
Data travels along wires. Flow of data controls execution. Not flow of code! Position on diagram is irrelevant
Dataflow Programming
Dataflow NOT Codeflow Block diagram executes dependent on the flow of data; block diagram does execute left to right Node executes when data is available to ALL input terminals Nodes supply data to all output terminals when done
Building an Application:
Applications are called virtual instruments (VI). Two parts to make 1. Front Panel 2.Sorce Diagram Always start with front panel. Draw a pencil block diagram of the main functions of diagram. Make this diagram in G code. Done.
Block Diagram
Accompanying Program for Front Panel Components wired together
VI Front Panel
Front Panel Toolbar Boolean Control Icon
Graph Legend
VI Block Diagram
Divide Function
Graph Terminal Wire Data While Loop Structure Numeric Constant Timing Function Boolean Control Terminal
Functions Palette
(Block Diagram Window)
Tools Palette
Floating Palette Used to operate and modify front panel and block diagram objects.
Automatic Selection Tool Operating Tool Positioning/Resizing Tool Labeling Tool Wiring Tool Shortcut Menu Tool Scrolling Tool Breakpoint Tool Probe Tool Color Copy Tool Coloring Tool
Creating a VI
Front Panel Window
Control Terminals
Indicator Terminals
GPIB Communication
GPIB Interface
GPIB Instruments
GPIB Cable
Instrument Drivers
More than 1200 LabVIEW Instrument drivers Programming simplified to high-level API
HP34401A Initialize.vi
Error cluster
- A connection or link to a specific instrument - Created after instrument is initialized - Used throughout VI whenever you communicate with that specific instrument
General purpose program for Network Analyzer Phase delay measurement using Network Analyzer Phase delay measurement with OFC switching for two wavelength Measurement General purpose program for Spectrum Analyzer
Measurement at one frequency and data recording for Sigen-Vvm Block Diagram
Control input for sigen
File path
Block Diagram
Input parameter For sigen Input parameter For Vvm Waveform Graph Indicator
Block Diagram
Formula Node
Number of Iteration
Increment Frequency
Block Diagram
Front Panel
File path
Block Diagram
Event Structure
Enter Switch
Set marker
Configure scale
For display
Block Diagram
Phase-Delay Measurement Using Network Analyzer with OFC switch Front Panel
Block Diagram
Front Panel
GPIB Address
Amplitude Setting
Marker Setting Output indicator & Marker value indicator Frequency Setting
Bandwidth Setting
Block Diagram
Event Structure
Bandwidth setting
Frequency setting
Marker setting
Marker off
Configure trace
Configure sweep
Save image
File Path
Block Diagram
Set Parameter