Course contents 1.Labview basics – virtual instruments, data flow, palettes 2.Structures – for, while, case,... – editing techniques 3.Controls&Indicators.

Slides:



Advertisements
Similar presentations
Previously… We created a simulated temperature reader which alerts if too hot or too cold… Download the solved practice to keep in sync: Thermostat.vi.
Advertisements

LabVIEW is a graphical programming development environment for data acquisition and control, data analysis, and data presentation. With LabVIEW you can.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Lesson 2 Navigating LabVIEW
Based on LabVIEW 2011 Student Edition
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Welcome! Workshop 2 of 7.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 10 Clusters and Matrices  Read Bishop, Sections 6.4 to  Lab #10 and Homework #10 due next week.
Course contents 1.Labview basics – virtual instruments, data flow, palettes 2.Structures – for, while, case,... – editing techniques 3.Controls&Indicators.
Introduction to LabVIEW
Introduction to LabVIEW 8.5
Hands-On Material From National Instruments Introduction to LabVIEW Electrical Wiring Feng-Ju Hsieh ENGR 100 Section C.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
1 Lesson 5 Clusters TOPICS Introduction to Clusters Cluster Functions Error Clusters.
Dan O. Popa, Intro to EE – Practicum, Spring 2015 EE 1106 : Introduction to EE Freshman Practicum Lecture 2: Signals, Systems and Circuits with Introduction.
Chapter 6 Arrays & Clusters. LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
Lesson 6 A. Using graphs to display data B. About clusters C. Some cluster functions You Will Learn: graphs and clusters.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 11 Charts and Graphs  Read Bishop, Chapter 7.  Lab #11 and Homework #11 due next week.
Virtual Instrumentation With LabVIEW
Lecture 13LabVIEW and GPIB LabVIEW (National Instruments) –Graphical program language –Widely used in academia (lab) and industry (R&D) General Purpose.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
How to use LabVIEW Ihor Korolov February 2011.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Course contents 1.Labview basics – virtual instruments, data flow, palettes 2.Structures – for, while, case,... – editing techniques 3.Controls&Indicators.
Virtual Instrumentation With LabVIEW. Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs LabVIEW Programs Are Called Virtual Instruments (VIs) Block Diagram.
LabVIEW an Introduction
Introduction to LabVIEW
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
Design of Bio-Medical Virtual Instrumentation Tutorial 3.
LabVIEW in 3 Hours. What is Test & Measurement? Keypad Functionality Keypad Functionality LCD Testing LCD Testing Sound Quality Sound Quality Acoustic.
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, room C204a
Samuel Alberg Thrysøe, PhD, PostDoc, Kontakt info: Tlf:
Samuel Alberg Thrysøe, PhD, Assistant Professor, Contact info: Phone:
1. 2 LabVIEW Intro, Basics, Tips, Tricks Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
參考書籍: LABVIEW FOR EVERYONE (JEFFREY TRAVIS/JIM KRING) 簡體翻譯: LABVIEW 大學實用教程 ( 電子工業出版社 ) LabVIEW 基礎課程 ( 二 )
Digital Electronics and Computer Interfacing Tim Mewes 4. LabVIEW - Advanced.
Introduction to LabVIEW 8.5
CS320n –Visual Programming
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
CLUSTERS and ARRAYS. Array Functions  Build an array  Size an array  Form an array from a cluster or a cluster into an array  Index an array  Find.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 9 Arrays  Read Bishop, Sections 6.1 to 6.3.  Homework #9 and Lab #9 due next week.  Quiz #5 next.
Workshop 2 of 4 Welcome!. Survey While You Wait ni.com/duke >> Recent Documents >> LabVIEW Workshop Participation Survey.
LabVIEW.com.tw LabVIEW Community Speeding Up Your VIs 參考 NI 官方教材: LabVIEW Intermediate II for 7.
CS320n – Elements of Visual Programming Assignment Help Session.
Digital Electronics and Computer Interfacing Tim Mewes 2. LabVIEW Basics part II.
Array Controls and Indicators
LabVIEW Course Course 2.
Chapter 6 Arrays & Clusters. LabVIEW Arrays > Collection of Elements > Same Data Type > Variable-Sized > One or More Dimensions.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Chapter 8 Charts and Graphs. Graphical Displays of Data Graph: Displays pre-generated arrays of data. Chart: Displays data by appending new data as it.
Chapter 7 Charts and Graphs. Graphical Displays of Data Graph: Displays pre-generated arrays of data. Chart: Displays data by appending new data as it.
Workshop 5 of 7 Welcome!. Today's Topics Review from Workshop 4 Modularity & subVIs Documentation File Input/Output Introduction.
Week 3 Labview exercises
Data Structures Arrays Common Array Functions Polymorphism
EET 2259 Unit 11 Charts and Graphs
Course Learning Map Lesson # Lesson Title Lesson 3 Lesson 2 Lesson 1
Introduction to LabVIEW
הודעות ריענון מהיר והרחבות Charts & Graphs גרף XY בניית מחולל אותות
הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level
Structures- case, sequence, formula node
EET 2259 Unit 9 Arrays Read Bishop, Sections 6.1 to 6.3.
EET 2259 Unit 11 Charts and Graphs
Presentation transcript:

Course contents 1.Labview basics – virtual instruments, data flow, palettes 2.Structures – for, while, case,... – editing techniques 3.Controls&Indicators – arrays, clusters, charts, graphs 4.Modular programming + recording – SubVIs – File I/O 5.Analysis – Linear algebra, Signal processing, Mathscript 6.Communication between loops – Producer/Consumer, State Machine, Local variables 7.Instrument control – DAQ, GPIB, Serial, Data collection

Array Variable sized collection of data elements that are all the same type

Array How to make an array from front panel

Array Color of the icon reflects the data type of the array

Multidimensional array How to add dimensions to the array

Auto-indexing How to make an array from the block diagram

Auto-indexing Auto-indexing on loops

Auto-indexing Auto-indexing overrides the loop count setting

2D array Auto-indexing can create multidimensional arrays

Common wire types

Array functions Array size Initialize Array – input determines the data type – if zero is wired to dimension size an empty array is created

Array functions Build Array – concatenates multiple arrays or appends elements

Array functions Array subset: select a portion of an array

Array functions Index array – select an element from an array

Polymorphism Some functions accept inputs of different dimensions – such as add, multiply, divide

Cluster Fixed-sized collection of data elements of mixed type Reduces the number of wires and connector terminals in subVIs

Cluster order Ordered according to when elements were placed in cluster

Program won’t execute if there are inconcistencies in the cluster order

Cluster functions: Bundle Assemble into a new Replace old elements

Cluster functions: Unbundle Extract components of a cluster

Cluster functions: (Un)bundle by name Instead of cluster order one can refer to the cluster elements by name

Charts and Graphs Chart show data by appending new data to existing plot Graphs display pregenerated arrays

Waveform chart One can select between three different update modes – Strip, scope, or sweep

Multiple traces on Chart Depending on the input data, chart can show multiple plots or it can update multiple points on a single run – see Charts.vi for information (Help >> Find Examples >> Building User Interfaces >> Displaying Data >> Graphs and Charts >> Charts.vi)

Stacked plots With multiple plots one can choose between stacked or overlayed plots

Clear chart Empty the chart by selecting clear chart

Chart history One can change the length of the chart history

Waveform graphs Use graphs to plot existing data all at once Ideal for uniformly distributed arrays If only one array is wired to the graph, it assumes X 0 =0 and ΔX=1

Waveform graph Wire a cluster defining X 0 and ΔX

Multiple graphs Bundle arrays to make multiple plots For more ways to use waveform graphs see: – Help >> Find Examples >> Fundamentals >> Graphs and Charts >> Waveform Graph.vi

Cursors on Graphs From Visible Items >> Cursor Legend one can create cursors – right-click on cursor legend and select Create Cursor – cursor can be Free or tied to the plot

Annotations on Graphs One can create annotations to graphs – they can be free or tied to the plot

XY Graph For uneven sample intervals or dependent variables (e.g. x vs y) Possibility to build XY graph with Express VI – see also: Help >> Find Examples >> Fundamentals >> Graphs and Charts >> XY Graph.vi

Customizing charts and graphs Autoscaling – Right-click and select auto- scaling for X- or Y-axes – Scales the axes so that all data points are visible

Axes scaling When AutoScaling is off one can change the axis scales by typing in the number that is needed

Plot properties Appearance – change visibilities Display Format – change format and precision of e.g. scale numbering Plots – appearance of plots: name, line style, marker Scales – tick styles, tick positions

Plot properties One can change the line styles etc. from the Plot Legend

Graph palette Graph palette can be used for zooming or to pan the graph zoom pan

Export image or data Right-click >> Export

Keynotes