Ni.com/training LabVIEW Basics I National Instruments 11500 N. Mopac Expressway Austin, Texas 78759 (512) 683-0100.

Slides:



Advertisements
Similar presentations
NI LabVIEW Object-Oriented Programming
Advertisements

TP4: S TATE M ACHINE D ESIGN P ATTERN  Definition  Infrastructure  Transition Code  Conclusion.
1 ICS102: Introduction To Computing King Fahd University of Petroleum & Minerals College of Computer Science & Engineering Information & Computer Science.
Chapter 1 - VB 2008 by Schneider1 Chapter 1 - An Introduction to Computers and Problem Solving 1.1 An Introduction to Computers 1.2 Windows, Folders, and.
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Lecture 1: Overview of Computers & Programming
Copyright © 2002 W. A. Tucker1 Chapter 1 Lecture Notes Bill Tucker Austin Community College COSC 1315.
Workshop 7 of 7 Welcome!. Today's Topics Data Acquisition MAX DAQ Assistant Express VI DAQmx API Create Task Configure Task Configure Trigger Start Task.
Course contents 1.Labview basics – virtual instruments, data flow, palettes 2.Structures – for, while, case,... – editing techniques 3.Controls&Indicators.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Developing User Interfaces with Event-driven Programming
Chapter 2- Visual Basic Schneider
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
System Design and Analysis
Department of Electrical and Computer Engineering Texas A&M University College Station, TX Abstract 4-Level Elevator Controller Lessons Learned.
Laboratory 5: Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report / Presentation Closing.
Algorithms. Software Development Method 1.Specify the problem requirements 2.Analyze the problem 3.Design the algorithm to solve the problem 4.Implement.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
BPC.1 Basic Programming Concepts
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
Copyright © 2001 by Wiley. All rights reserved. Chapter 1: Introduction to Programming and Visual Basic Computer Operations What is Programming? OOED Programming.
DCT 1123 PROBLEM SOLVING & ALGORITHMS INTRODUCTION TO PROGRAMMING.
Introduction to Systems Analysis and Design Trisha Cummings.
Tips and Tricks to Speed LabVIEW Development Useful Nuggets to Save You Time ni.com/labviewzone.
CS 0004 –Lecture 8 Jan 24, 2011 Roxana Gheorghiu.
Learning Objectives Data and Information Six Basic Operations Computer Operations Programs and Programming What is Programming? Types of Languages Levels.
Planning for the Solution
Introduction to Programming Lecture 1 – Overview
CSC-115 Introduction to Computer Programming
Lesson 3 McManus COP  You have to tell them ◦ what to do ◦ what to use ◦ in what order to do itand ◦ what to do if your user does not do what.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
C++ Programming Language Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
The Programming Process Define the problem* Make or buy software? Design the program * Code (write) the program Test (debug) the program Document the.
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
Copyright Jim Martin Emerging Scholars Computer Science Session Overview: Summer 2007 Dr. Jim Martin Rising Juniors Session.
The basics of the programming process The development of programming languages to improve software development Programming languages that the average user.
The Anatomy of a Computer Program Unit 3. Programs are Directions  A computer carries out the instructions in a program, line by line, exactly as they.
Lesson - 2. Introduction When we make a program we must follow some steps, called Programming Development Life Cycle (PDLC). Programming steps are five:
The Art of Programming. The process of breaking problems down into smaller, manageable parts By breaking the problem down, each part becomes more specific.
How Are Computers Programmed? CPS120: Introduction to Computer Science Lecture 5.
The Hashemite University Computer Engineering Department
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
Algorithms and Pseudocode
Introduction to LabVIEW
Lecture #1: Introduction to Algorithms and Problem Solving Dr. Hmood Al-Dossari King Saud University Department of Computer Science 6 February 2012.
PROGRAMMING. Computer Programs  A series of instructions to the computer  pre-written/packaged/off-the-shelf, or  custom made  There are 6 steps to.
PROGRAMMING FUNDAMENTALS INTRODUCTION TO PROGRAMMING. Computer Programming Concepts. Flowchart. Structured Programming Design. Implementation Documentation.
INTRODUCTION TO COMPUTER PROGRAMMING(IT-303) Basics.
Chapter 2- Visual Basic Schneider1 Chapter 2 Problem Solving.
1 Structured Programming Arab Academy for Science and Technology CC112 Dr. Sherif Mohamed Tawfik The Course.
Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report/Presentation Closing.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 1 An Introduction to Visual Basic.NET and Program Design.
EG1003: Introduction to Engineering and Design Introduction to LabVIEW.
Victoria Ibarra Mat:  Generally, Computer hardware is divided into four main functional areas. These are:  Input devices Input devices  Output.
Algorithms and Flowcharts
Lesson 7 Using Sequential and State Machine Algorithms
ICS 3UI - Introduction to Computer Science
Algorithms II Software Development Life-Cycle.
Chapter 2- Visual Basic Schneider
ICS103 Programming in C Lecture 1: Overview of Computers & Programming
Understand the Programming Process
An Introduction to Visual Basic .NET and Program Design
Lesson 2: Introduction to Control programming using Labview
Introduction to Computer Programming
Chapter 2- Visual Basic Schneider
Chapter 1 Introduction(1.1)
The Programming Process
Understand the Programming Process
ICS103 Programming in C 1: Overview of Computers And Programming
Presentation transcript:

ni.com/training LabVIEW Basics I National Instruments N. Mopac Expressway Austin, Texas (512)

ni.com/training What You Need To Get Started Computer running LabVIEW 8 and Windows 2000/XP LabVIEW Basics I Course Manual Data acquisition board and cable DAQ Signal Accessory GPIB interface and cable Null-modem serial cable NI Instrument Simulator LabVIEW Basics I CD

ni.com/training File Locations LabVIEW Basics IExercises Solutions Root Directory

ni.com/training Instructional Methods Lecture gives a foundation in the topic Instructor reinforces foundation through demonstrations and quizzes Topic DemonstrationQuiz Concept Exercise Development Exercise Lecture

ni.com/training Instructional Methods Concept exercises allow you to further explore a topic Examples: –Watch a simulation –Experiment with example VIs –Search the documentation Topic DemonstrationQuiz Concept Exercise Development Exercise Lecture

ni.com/training Instructional Methods Development exercises give you hands-on experience in a topic Demonstration of a finished development exercise further reinforces the learning process Topic DemonstrationQuiz Concept Exercise Development Exercise Lecture

ni.com/training Getting The Most Out Of This Course Experiment with hands-on exercises to understand the methods used Implementations given are only one possible solution—you may find a better one Do not come to class prepared to develop an outside application; concentrate on the exercises given to build a good foundation

ni.com/training Courses New User LabVIEW Basics I LabVIEW Basics II Experienced User LabVIEW Intermediate I LabVIEW Intermediate II Advanced User LabVIEW Advanced I Certifications Certified LV Associate Developer Exam Skills tested: LabVIEW environment knowledge Certified LabVIEW Developer Exam Skills tested: LabVIEW application development expertise Certified LabVIEW Architect Exam Skills tested: LabVIEW application development mastery Skills learned: LabVIEW environment navigation Basics application creation using LabVIEW Basics of data acquisition and instrument control Skills learned: Modular application development Structured design and development practices Inter-application communication and connectivity techniques Skills learned: Large application design Advanced development techniques Implementing multideveloper projects

ni.com/training Data Acquisition Instrument Control LabVIEW Basics I Learning Program Problem Solving Navigating LabVIEW Implementing a VI Relating Data Debugging Techniques Developing Modular Applications Measurements in LabVIEW Using and Storing Measurement Data Common Design Techniques

ni.com/training Course Goals This course prepares you for the following: Solve problems using LabVIEW Use data acquisition and instrument control in LabVIEW applications Use modular programming practices Develop, debug, and test LabVIEW VIs Effectively use a state machine architecture

ni.com/training TOPICS Lesson 1 Problem Solving A.Software Development Method B.Scenario C.Design D.Implementation E.Testing F.Maintenance G.Project

ni.com/training A. Software Development Method Problem solving skills essential to creating software solutions Computer programmers use a software development method Using the software development method, code is more likely to be successful, readable, scalable, and maintainable

ni.com/training Software Development Method 1.Define the problem (Scenario) 2.Design an algorithm or flowchart 3.Implement the design 4.Test and verify the implementation 5.Maintain and update the implementation

ni.com/training Software Development Method Used in all hands-on development exercises in this course Scenario and Design are usually given; you implement the design and test the implementation

ni.com/training B. Scenario Define the problem Furnace Example: You need to cure a material at a certain temperature for a set amount of time in a furnace. For this problem, you need not know the material type or the time of day. You must know the cure time, temperature, and method for adjusting the temperature.

ni.com/training C. Design Design a solution by analyzing the problem: Identify the software inputs Identify the software outputs Identify additional requirements Design an algorithm or flowchart

ni.com/training Design—Software Inputs Raw data you want to process, such as information received from the user, data acquisition, instrument control and so on Furnace Example: Cure Time (seconds) Desired Cure Temperature (degrees Kelvin) Current Furnace Temperature (degrees Kelvin)

ni.com/training Design—Software Outputs Results of calculations, processing, or other implemented conditions such as information displayed to the user, data written to file, signal generation, and so on Furnace Example: On/Off switch to control coil voltage

ni.com/training Design – Additional Requirements Factors that influence solving the problem Furnace Example: Assume the furnace cannot start until the interior temperature is the same as the exterior temperature. This requirement adds an additional input: Exterior Temperature (degrees Kelvin).

ni.com/training Design – Algorithm 1.Read exterior temp 2.Read interior temp 3.If interior temp ≠ exterior temp, repeat step 1 4.Read interior temp 5.If current temp > desired temp, turn off voltage to coil 6.If current temp ≤ desired temp, turn on voltage to coil 7.If time < cure time, repeat step 4 8.Turn off voltage to coil Steps that process your inputs and create outputs. Furnace Example:

ni.com/training Design – Flowchart Visual design of an algorithm Furnace Example:

ni.com/training Design – State Transition Diagram Type of flowchart that indicates the states of a program and transitions between states. State—part of a program that satisfies a condition, performs an action or waits for an event. Transition—condition, action, or event that causes the program to move to the next state.

ni.com/training Design – State Transition Diagram Furnace Example:

ni.com/training D. Implementation Create code for the algorithm or flowchart Course goal— to successfully create implementations in LabVIEW

ni.com/training E. Testing Test implementation with logical and illogical data –Does logical data produce expected result? –Does illogical data produce expected error? –How does illogical data affect the results? –Is error handling strategy sufficient?

ni.com/training F. Maintenance Ongoing process of resolving programming errors Implement changes to the original solution

ni.com/training GOAL Exercise 1-1: Software Development Method Solve a non-programming problem using the software development method described in this course.

ni.com/training GOAL Exercise 1-2: State Diagram Create a state transition diagram for a weather station. You build portions of the weather station throughout this course.

ni.com/training G. Project

ni.com/training G. Project Many possible solutions Example of an alternate good solution:

ni.com/training Summary—Matching Quiz A.Apply an algorithm or flowchart B.Verify the VI C.Define the problem D.Update the VI E.Identify the inputs and outputs 1.Scenario 2.Design 3.Implementation 4.Testing 5.Maintenance