LabVIEW基礎課程(一) 參考書籍: LabVIEW for Everyone (Jeffrey Travis/Jim Kring)

Slides:



Advertisements
Similar presentations
Chapter 4: Control Structures I (Selection)
Advertisements

A. Virtual Instruments (VIs)
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.
Iteration While / until/ for loop. Iteration: while/ Do-while loops Iteration continues until condition is false: 3 important points to remember: 1.Initalise.
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
TE Sessions Supported by: Basic Concepts of Programming November 3, 2012.
Computer Science 101 While Statement. Iteration: The While-Statement The syntax for the While- Statement is while : The syntax for the While- Statement.
Loops in LabVIEW (while,for and case)
Introduction to LabVIEW
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 5 Loops  Read Bishop, Sections 5.1 and 5.2.  Lab #5 and Homework #5 due next week.  Exam #1 next.
Scripts and Flow Control. Scripts So far we have been entering commands directly into the command line But there is a better way Script files (and functions)
Loops A.About While Loops B.About For Loops C.About Case structures D.Sequence Structures E.Formula Node You Will Learn:
1 Lesson 5 Clusters TOPICS Introduction to Clusters Cluster Functions Error Clusters.
CS320n –Visual Programming LabVIEW Control Structures.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
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.
Workshop 3 of 7 Welcome!. Today's Topics Review of Workshop 2 Loops While For Auto-indexing Shift registers Case Structure.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 8 Other Structures; Local Variables  Read Bishop, Sections 5.6 to  Lab #8 and Homework #8 due.
JavaScript Form Validation
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
MCEN 371 – Mechanical Engineering Lab Chapter 6: LabVIEW Part 1: Introduction.
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.
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, room C204a
CS320n –Visual Programming More LabVIEW Control Structures.
Samuel Alberg Thrysøe, PhD, PostDoc, Kontakt info: Tlf:
EET 2259 Unit 7 Case Structures; Sequence Structures  Read Bishop, Sections 5.4 and 5.5.  Lab #7 and Homework #7 due next week.  Quiz #3 next week.
Digital Electronics and Computer Interfacing Tim Mewes 4. LabVIEW - Advanced.
Design of Bio-Medical Virtual Instrumentation Tutorial 2.
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.
Digital Electronics and Computer Interfacing Tim Mewes 2. LabVIEW Basics part II.
LabVIEW Course Course 2.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Week 3 Data Structures and Common Tools. Common Tools in Labview Automatic Tool Selector Using the Operating Tool Using the Positioning Tool to Select.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 10P. 1Winter Quarter Repetition Structures Lecture 10.
Workshop 5 of 7 Welcome!. Today's Topics Review from Workshop 4 Modularity & subVIs Documentation File Input/Output Introduction.
ECT 109 Help Bcome Exceptional
Welcome! Workshop 3 of 7.
Quiz Which types of folders are available in a LabVIEW Project?
EE 200 Design Tools Laboratory 14
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
While Loops Chapter 3.
Course Learning Map Lesson # Lesson Title Lesson 3 Lesson 2 Lesson 1
Introduction to LabVIEW
Lab 2 : Structures Muhammad Zaigham Abbas Shah DIGITAL INSTRUMENTATION SYSTEMS.
Chapter 5 Structures.
הודעות ריענון מהיר והרחבות כתיבה לקובץ Low-Level דגימת אות Low-Level
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
Chapter 4 Editing and Debugging
Control Structures: for & while Loops
Electronics II Physics 3620 / 6620
LabVIEW.
Structures- case, sequence, formula node
CST-115 Introduction to Computer Programming
Flowcharts and Pseudo Code
Introduction to LabVIEW
EET 2259 Unit 7 Case Structures; Sequence Structures
EET 2259 Unit 5 Loops Read Bishop, Sections 5.1 and 5.2.
EET 2259 Unit 2 Virtual Instruments
הודעות ריענון מהיר והרחבות - Shift Register Feedback Node המשך
EET 2259 Unit 8 Other Structures; Local Variables
Presentation transcript:

LabVIEW基礎課程(一) 參考書籍: LabVIEW for Everyone (Jeffrey Travis/Jim Kring)

CH3 LabVIEW的環境

CH3 LabVIEW的環境

前面板/圖框 前面板(Front Panel)-放置控制元件 圖框(Diagram) 節點 連線

資料連結線

Project

工具列 函式列

下拉式選單 File Edit

工具列 練習

CH4 LabVIEW基礎 (I) <Numeric Control>

數值表示方式(1)

數值表示方式(2) Representation…

布林控制元件

其它控制元件

練習 4.2 建立一個溫度計

CH5 LabVIEW基礎 (II) 建立一個新VI 建立SubVI(子VI) 練習5.3 求平均值

CH6 使用結構(Structures) For Loop While Loop Iteration terminal Conditional terminal Count terminal Shift register Select function Case Structure Selector terminal Dialog box Wait (ms) Flat Sequence Structure Stacked Sequence Structure Formula Node Expression Node Timed Structure

For Loop For i=0 to N-1 Execute Subdiagram

While Loop Do Execute subdiagram While condition is FALSE (Until condition is TRUE)

While Loop特性

練習6-1 Counting the Loops

Shift Registers(位移暫存器)

A While Loop having one shift register with multiple left terminal elements

(Left) Two separate variables (Left) Two separate variables. (Right) Several loop values of one variable

Shift register and tunnel, two different ways of passing data through the walls of a loop

練習6-2

Two loops showing the difference between shift registers (A) and tunnels(B)

Initializing Shift Registers

The Feedback Node

Converting Tunnels to Shift Registers

Case 結構 輸出入連線 增加分支

對話框

Dialog & User Interface

Display Message Express VI

Prompt User Express VI and its configuration dialog

Standard Dialogs: One, Two, and Three Button Dialogs

練習6-3 平方根

Select Function

Sequence Structure Flat Sequence Structure

Sequence Locals

simple example using a Flat Sequence Structureclean

Stacked Sequence equivalent

Timing

Wait & Wait Until Next ms Multiple

Wait vs Wait Until Next ms Multiple

練習6-4

Express Timing Functions -Time Delay

Elapsed Time Express

Timed Structures

Timed Loop structure

Timed Sequence

Formula Node公式節點

Example if (x >= 0) then y = sqrt(x) else y = -99 end if

練習6-5

Expression Node

While Loop + Case Structure

While Loop + Case Structure

While Loop + Case Structure

While Loop + Case Structure

練習6-6 Equations Y1=x1+X2+5 Y2=(mxX)+b

練習6-7.計算機

練習6-8. For/While