Download presentation
Presentation is loading. Please wait.
Published byAshlynn McCormick Modified over 8 years ago
1
ni.com/training LabVIEW Basics I National Instruments 11500 N. Mopac Expressway Austin, Texas 78759 (512) 683-0100
2
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
3
ni.com/training File Locations LabVIEW Basics IExercises Solutions Root Directory
4
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
5
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
6
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
7
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
8
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
9
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
10
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
11
ni.com/training TOPICS Lesson 1 Problem Solving A.Software Development Method B.Scenario C.Design D.Implementation E.Testing F.Maintenance G.Project
12
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
13
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
14
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
15
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.
16
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
17
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)
18
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
19
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).
20
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:
21
ni.com/training Design – Flowchart Visual design of an algorithm Furnace Example:
22
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.
23
ni.com/training Design – State Transition Diagram Furnace Example:
24
ni.com/training D. Implementation Create code for the algorithm or flowchart Course goal— to successfully create implementations in LabVIEW
25
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?
26
ni.com/training F. Maintenance Ongoing process of resolving programming errors Implement changes to the original solution
27
ni.com/training GOAL Exercise 1-1: Software Development Method Solve a non-programming problem using the software development method described in this course.
28
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.
29
ni.com/training G. Project
30
ni.com/training G. Project Many possible solutions Example of an alternate good solution:
31
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
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.