Arrays are lists of elements of the same data type. They are analogous to arrays in traditional languages.
|
|
- Clarence Lee
- 6 years ago
- Views:
Transcription
1 0
2 1
3
4 Arrays are lists of elements of the same data type. They are analogous to arrays in traditional languages. Arrays can have one or more dimensions. Arrays can have up to (2^31)-1 elements per dimension. Actual array sizes that students can create is limited by memory. Elements are accessed by an index. The index ranges from 0 to N-1 (where N = number of elements in the array). Arrays are zero-indexed (first element is zero) in each dimension. A 2D array is analogous to a spreadsheet or table. Example: If your data contains temperature readings and time stamps, one column is time values and the other column is readings. Be careful to specify the element you really want. Example: The first element in an array is array(0), not array(1). 3
5 Point to a specific element and ask students which index (which indices) this element is at. Emphasize that for 2D arrays, the row index in specified first, and then the column index follows.
6 5
7 Creating array controls in LabVIEW: You can place any data type in an array shell except an array. You cannot have an array of arrays; use a 2D array instead. Emphasize that this is a two-step process. Students often place only empty array shells on the front panel. Remind them they must place a data type inside the array shell. Demonstrate the following on your computer: Create a numeric array. Point out index and data object components. Show how to create a 2D array. Show how to display multiple array elements. Show that index elements always reference the upper-leftmost object in the array display. Show how elements in an array are initially grayed out, indicating that a portion of the array has not been defined. 6
8 Creating array constants uses a two-step process. 1. Select Array Constant from the Functions palette. 2. Place a constant data type inside the empty array shell. Note again that the data types are grayed-out and must be manually defined if the user wants to store values in the array constant. 7
9 8
10 The control or indicator representing an array on the front panel can be viewed as a window through which we can see a fragment of the whole array, which lies behind that window and is possibly of different size (bigger or smaller) than the window. The array can be scrolled under the window by changing the index number displayed in index display. 9
11 10
12
13 LabVIEW has many functions to manipulate arrays. These functions are located on the Array subpalette of the Functions palette. Instructor: Choose one of the following approaches to help students understand how to use these common array functions. -Walk through the following slides. Create demos on the fly. -Show related shipping examples. For example, Build Array.vi has more combinations than shown in the following slides.
14 The Array Size function returns the number of elements in the array. 1D array: Output is a numeric. It indicates the number of elements in the array. Multidimensional array: Array output has elements signifying size of each dimension. For example: a 2 x 3 array, as in the slide, will output an array of two elements. The first element = 2 and second element = 3. The first number is the number of rows (2) and the second element is the number of columns (3).
15 The Initialize Array function creates an n-dimensional array in which every element is initialized to the value of element. Initialize array is a resizable node. Use the Positioning tool (drag the lower border of the function node) to resize the function and increase the number of dimensions (element, row, column, page, and so on) of the output array. You must have one dimension size input terminal for each dimension in the array.
16 The Array Subset function returns a portion of an array starting at index and containing length number of elements.
17 The Build Array function concatenates elements together into one array or concatenates multiple arrays together into arrays of higher dimension. Wiring a scalar element into the Build Array function automatically configures the Build Array function to concatenate elements. When wiring in two or more arrays, right click on the output of the Build Array function to enable or disable concatenated inputs. The Build Array function is a resizable node and can be resized to add additional input terminals. (Drag the lower border of the function node to resize it.) 16
18 The Index Array function: Returns the element or subarray of n-dimension array at index. When you wire an array to this function, the function resizes automatically to display index inputs for each dimension in the array you wire to n-dimension array. The slide shows examples of the function accessing a single element of a onedimensional array, a row of a two-dimensional array, and a column of a twodimensional array. Index Array does not remove the element from the array. Remind students that arrays start their indices at zero. Index 2 in the example actually accesses the third element in the array. 17
19
20 Functions are polymorphic to varying degrees none, some, or all of their inputs can be polymorphic. Some function inputs accept numeric values or Boolean values. Some accept numeric values or strings, etc. Some accept not only scalar numeric values but also arrays of numeric values, clusters of numeric values, arrays of clusters of numeric values, and so on. Some accept only one-dimensional arrays although the array elements can be of any type. Some functions accept all types of data, including complex numeric values. 19
21 LabVIEW arithmetic functions are polymorphic. Inputs to arithmetic functions can be of different data types. The function automatically performs the appropriate operation on unlike data types. LabVIEW arithmetic functions greatly simplify array arithmetic. Examples of polymorphism on this slide: Scalar+Scalar: Scalar addition. Scalar+Array: The scalar is added to each element of array. Array+Array: Each element of one array is added to the corresponding element of other array. In case students ask, polymorphism does not perform matrix arithmetic when inputs are 2D arrays. (For example, multiplying two 2D array inputs with the Multiply function performs an element by element multiplication, not matrix multiplication). LabVIEW ships with other examples of arithmetic functions showing polymorphic combinations of inputs. Open Example Polymorphism and Manipulating Arrays VI to see that the addition of a scalar to an array yields the same result as adding the scalar to each element of the array separately. Notice that the polymorphic abilities of functions allow us to achieve the desired results with very little code (the addition of an array and a scalar requires only the Add function, there is no need to use a loop etc.). 20
22
23 For Loops and While Loops can index and accumulate arrays at their boundaries. This is known as auto-indexing. The indexing point on the boundary is called a tunnel. The For Loop default is auto-indexing enabled. The While Loop default is auto-indexing disabled. Only one value (the last iteration) is passed out of the While Loop by default. Examples: Enable auto-indexing to collect values within the loop and build the array. All values are placed in the array upon exiting the loop. Disable auto-indexing if you are interested only in the final value. 22
24 You can determine what values LabVIEW writes to the loop output tunnel based on a condition you specify by right-clicking the loop output tunnel and selecting Tunnel Mode»Conditional from the shortcut menu. Because of the conditional tunnel, the Values less than 5 array contains only the elements 2, 0, 3, and 1 after this loop completes all iterations. Note: Conditional option for tunnels is available since LabVIEW For older LabVIEW versions, the same functionality may be achieved using a Case structure with Build Array function and a shift register to store the array. 23
25 You can use two nested For Loops to create a 2D array. Auto-indexing must be enabled for both loops. Explain the different line thicknesses in the wire connecting the Random Number function to the 2D Array Indicator. Demonstrate on your computer: how to enable/disable indexing how this changes wire thickness.
26 LabVIEW does not exceed an array size. This helps to protect against programming errors. If you wire a 10-element array and a 5-element array to a For loop, the loop iterates five times. Note: Although the For loop iterates 5 times, the number of iterations is zero-based. Therefore, the final value of the Iterations indicator is 4. 25
27 If you enable auto-indexing on an array wired to a For Loop input terminal, LabVIEW sets the count terminal to the array size so you do not need to wire the count terminal. Normally, if the count terminal of the For Loop is not wired, the Run arrow is broken. In this slide, the For Loop executes a number of times equal to the number of elements in the array. Use auto-indexing on input arrays for calculations to be performed on each element of array. To pass the entire array into a loop, disable auto-indexing. 26
28 You can use the comparison and Boolean functions to compare if both resulting arrays are the same. Comparison functions are also polymorphic they accept scalar and array inputs of various data types. Use the Equal? function followed by the And Array Elements function. Or, use only the Equal? function, right-click it and select Comparison Mode» Compare Aggregates. Note: Typically, you can t perform a direct comparison on double-precision values. You would need to compare the values within some acceptable range. However, in this case, the polymorphic Add operation should be an exact equivalent to the Add function in an auto-indexed For loop. 27
29
30 Additional items to mention: Bundling several data elements into clusters eliminates wire clutter on the block diagram and reduces inputs and outputs for subvis. Most clusters on the block diagram have a pink wire and data type terminal. Clusters of numeric values, sometimes referred to as points, have a brown wire and data type terminal. You can wire brown numeric clusters to Numeric functions to perform the same operation simultaneously on all elements of the cluster. 29
31 30
32 31
33 32
34 33
35 34
36 Notes: The first object you place in the cluster is element 0, the second is element 1, and so on. If you delete an element, the order adjusts automatically. The cluster order determines the order in which the elements appear as terminals on the Bundle and Unbundle functions on the block diagram. Use AutoSizing»Arrange Horizontally or AutoSizing»Arrange Vertically from the shortcut menu to arrange the elements in the cluster horizontally or vertically in order. 35
37 In this slide, the Polynomial Plot.vi outputs an XY Graph as a cluster of two arrays (X and Y). The Y array is labeled as P(A) so you can access it using the Unbundle By Name function. However, the X array is unlabeled so you cannot access it using the Unbundle By Name function. To access data in the X array, use the Unbundle function. 36
38 In this slide, both examples modify the Y array, (P(A), of the Polynomial Plot.vi with a Butterworth filter. In the bottom example, you also increment the X array of the Polynomial Plot.vi output by one. 37
39 This technique is typically used to create multi-plot charts which is discussed in more detail later. 38
40 39
41 40
42 What would happen if you reordered cluster elements? The VIs would continue to work as expected if the only cluster functions used are Unbundle By Name and Bundle By Name. A change to element order in a cluster does not break these functions, because names of elements in the cluster remain the same. If you use Bundle and Unbundle, a change to element order in a cluster is reflected in the order of elements displayed by these functions and your code might get broken. 41
43 What would happen if you added a cluster element to Output cluster? The VI would be broken because of mismatching cluster data types Cluster and Output cluster would not be the same data types anymore. However, if you modify both clusters in the same way, the VI is runnable again. This exercise shows why type definitions are so useful which is covered in the next slides. 42
44
45 You can use type definitions to define custom arrays, clusters, enums. A type definition is a master copy of a custom data type (custom control, indicator, or constant) that multiple VIs can use. When you use type definitions, you can update of all instances or copies of the custom data type in a single edit. 44
46 45
47 46
48 This exercise explores the differences between a type definition and a strict type definition. 47
49 LabVIEW has three kinds of custom controls (.ctl files): A regular custom control Used to create controls that behave like existing controls but look different. A type def or type definition control Used for changing all instances of a linked control in a single edit. A strict type def control Used for changing instances in a single edit. Used to ensure all instances have same appearance. 48
50 Refer to LabVIEW Help for information on how to use the Control Editor to customize controls. Typically, if you create a custom control you want it linked to the.ctl file as a type definition. 49
51 50
52 A custom control, type def or strict type def all create a *.ctl file, which stores the customizations you make to a front panel control. The thing that is special about type defs and strict type defs is that every instance of that control you use on your block diagram is linked to the *.ctl and will update if you make changes to the file. The purpose of a *.ctl file saved as a Custom Control is to prevent you from going through the potentially lengthy process of creating it again- the file provides easy access to create another. The purpose of a type def is to make sure that the data type is consistent (including the item list for an enum - which is particularly helpful when building state machines) for each instance. Strict typ defs are just that, strict. Everything must be the same (most noticeable is cosmetic changes size of control, color, font etc). To be able to tell them apart, the label should be different (labels should always be unique and descriptive). Descriptions can be different because they might serve slightly different purposes (LED indicating different warnings in a system you would want to be able to describe which LED represents which process more than just using the label). Last, the default value can be different. Everything else is the same. 51
53 One. You add elements to the type definition. Apply and save changes. Converting from a cluster to a type definition requires a one-time update to each cluster. However, once you have your data in a type definition, adding or removing elements is a simple update to the type definition control. To avoid updating existing cluster instances to typedef clusters, just get used to creating typedefs of your custom data types at the beginning of writing your code, before you start using these data types in multiple places in your code. 52
54
55 Special type of numeric indicator that displays one or more plots of data, typically acquired at a constant rate. 54
56 55
57 Plot legend: Use the Plot legend to customize how a plot appears in chart. Examples: line & point style, interpolation, color, fill. Scale Legend: Use the scale legend to label scales and configure scale properties on the chart. Examples: autoscale on/on, set scale format, precision, scale visibility, grid color. Graph Palette: Use the graph palette to interact with the chart as the VI runs. Examples: panning tool, zoom.
58 Strip chart once the right side of the plot area is reached, the next point added causes the entire plot to shift to the left, as if it were scrolling. Scope chart once the right side of the plot area is reached, the next point added causes the plot to disappear and the new point is added to the far left side. Oscilloscope screens update in a similar way. Sweep chart once the right side of the plot area is reached, the next point added causes the plot to remain and the new point is added to the far left side; a red bar shows where new data is overwriting the old data. The red vertical line sweeps the old data out of the plot. EKG monitors update in a similar way. 57
59
60 Waveform Graph is used to plot pre-generated data. You generate all data samples first and then display them all at once in the graph. Thus, Waveform Graph indicators are usually updated outside the loop. Waveform Chart appends the input it receives to the history of samples collected so far. Thus, Waveform Charts are usually updated inside a loop and used to plot data samples in real time. 59
61
62 The Bundle function is often used to create XY graphs and multi-plot charts. The Build Array function is used to create multi-plot waveform graphs. 61
63 Use the Context Help and shipping examples to investigate all the possible ways to assemble data for various graphical displays. LabVIEW examples and help provide extensive information on wiring data to the various graphical displays. 62
64 63
65 64
Arrays. Collection of data elements that are of same type
Arrays Collection of data elements that are of same type 31 One or more dimensions, up to 2 elements per dimension Elements accessed by their index First element is index 0 index 10-element array 0 1 2
More informationLecture 3 (week Feb 8-12) Expanding the Features of a VI. Select the Loop Condition. A. Structures--While Loop. A. Structures--For Loop
Lecture 3 (week Feb 8-12) Expanding the Features of a VI A. Structures--While Loop 1. Select While Loop 2. Enclose code to be repeated You Will Learn: A. Structures--While Loop, for loop (How to use shift
More informationCLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs.
Name: Date: CLAD Sample Exam 03 1. Where can a VI be documented so that the description appears in the Show Context Help popup window? A. In the VI Properties Documentation window B. Typing in the Show
More informationCertified LabVIEW Associate Developer Examination
Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not
More informationCertified LabVIEW Associate Developer Examination
Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not
More informationCertified LabVIEW Associate Developer Exam. Test Booklet
Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed
More informationCertified LabVIEW Associate Developer Exam. Test Booklet
Certified LabVIEW Associate Developer Exam Test Booklet Instructions: If you did not receive this exam in a sealed envelope stamped "NI Certification," DO NOT ACCEPT this exam. Return it to the proctor
More informationShift Register: Exercise # 1: Shift Register Example VI. 1. Build the following front panel. Figure (8.1): Shift register exercise front panel
Experiment # 8: Shift Register and arrays Shift Register: Use shift register on for loops and while loops to transfer values from one loop to the next, create a shift register by right clicking the left
More informationCLAD Sample Exam 04. B. When you create an Array constant on the Block Diagram, it is not visible on the Front Panel.
Name: Date: CLAD Sample Exam 04 1. What VI is typically used to terminate an Error Cluster wire and to display any error message? A. Merge Errors B. One Button Dialog / Two Button Dialog C. Generate Front
More informationCLAD_80.questions.
CLAD_80.questions Number: CLAD Passing Score: 800 Time Limit: 120 min File Version: 25.06 These are the most accurate study questions. Just focus on these and sit in your exam. I am very happy with my
More informationLesson 4 Implementing a VI
Lesson 4 Implementing a VI A. Front Panel Design B. LabVIEW Data Types C. Documenting Code D. While Loops E. For Loops F. Timing a VI G. Iterative Data Transfer H. Plotting Data I. Case Structures A. Front
More informationVirtual Instrumentation With LabVIEW
Virtual Instrumentation With LabVIEW Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in LabVIEW LabVIEW Programs Are Called Virtual Instruments
More informationA. Front Panel Design Lesson 4 Implementing a VI
A. Front Panel Design Lesson 4 Implementing a VI Inputs and outputs lead to front panel design Retrieve the inputs by the following methods: TOPICS A. B. C. D. E. F. Front Panel Design LabVIEW Data Types
More informationME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW
ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW Objectives: The goal of this exercise is to introduce the Laboratory Virtual Instrument Engineering Workbench, or LabVIEW software. LabVIEW is the primary software
More informationLabVIEW Express VI Development Toolkit User Guide
LabVIEW Express VI Development Toolkit User Guide Version 1.0 Contents The LabVIEW Express VI Development Toolkit allows you to create and edit Express VIs, which you can distribute to users for building
More informationVirtual Instrumentation With LabVIEW
Virtual Instrumentation With LabVIEW Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build a simple data acquisition application Create a subroutine
More informationPart 1. Creating an Array of Controls or Indicators
NAME EET 2259 Lab 9 Arrays OBJECTIVES -Write LabVIEW programs using arrays. Part 1. Creating an Array of Controls or Indicators Here are the steps you follow to create an array of indicators or controls
More informationni.com Preparing for the CLAD Exam
Preparing for the CLAD Exam Breaking Data Flow Situation: Run 2 Loops simultaneously with 1 Stop Button Wiring the Stop Button from one Loop to the other will NOT work. Solution: Use a Local Variable Drawbacks:
More informationB. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure
Name: Date: CLAD Sample Exam 05 1. You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?
More informationSample. LabVIEW TM Core 1 Exercises. Course Software Version 2010 August 2010 Edition Part Number B-01. LabVIEW Core 1 Exercises
LabVIEW TM Core 1 Exercises Course Software Version 2010 August 2010 Edition Part Number 325291B-01 LabVIEW Core 1 Exercises Copyright 1993 2010 National Instruments Corporation. All rights reserved. Under
More informationBE/EE189 Design and Construction of Biodevices Lecture 4. BE/EE189 Design and Construction of Biodevices - Caltech
BE/EE189 Design and Construction of Biodevices Lecture 4 LabVIEW Programming Arrays, Clusters, Matrix, Chart and Graph Arrays Polymorphism Clusters Matrix Memory Usage Waveform charts Wavefrom graphs XY
More informationGET130 Intro to Engineering Technology
References: 1. http://www.ni.com/labview/ 2. http://en.wikipedia.org/wiki/labview Introduction: This lab continues from the previous lab by showing additional basic features of LabVIEW including For loops,
More informationLabVIEW Academy. 12. óra event, property node
LabVIEW Academy 12. óra event, property node Event-Driven Programming Events Definition Event-Driven Programming Definition Polling Versus Event Structures Parts of an Event Structure Configuring the Event
More informationLesson 1 Introduction to LabVIEW. TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI
Lesson 1 Introduction to LabVIEW TOPICS LabVIEW Environment Front Panel Block Diagram Dataflow Programming LabVIEW Help and Manuals Debugging a VI 1 Virtual Instruments (VIs) Front Panel Controls = Inputs
More informationExercise 0 - Open and Run a Virtual Instrument (Slide 12)
Exercise 0 - Open and Run a Virtual Instrument (Slide 12) Examine the Signal Generation and Processing VI and run it. Change the frequencies and types of the input signals and notice how the display on
More informationRead Temperature Data
Read Temperature Data Exercise 5 Completed front panel and block diagram In this exercise, you will create a program using SensorDAQ s Analog Express VI to collect temperature data and display it on a
More informationAdvanced Programming Features
Advanced Programming Features Compute Tools 4 and 5 Program Area Level 5 The two advance programming templates for manipulating data are Compute Tools 4 and Compute Tools 5. Each of these templates provide
More informationPHYC 500: Introduction to LabView. Exercise 8 (v 1.3) M.P. Hasselbeck, University of New Mexico. Arrays, XY Graphs, Disk I/O
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 8 (v 1.3) Arrays, XY Graphs, Disk I/O Place two numeric controls (label them Number of points and Offset ) on the Front
More informationIntroduction to LabVIEW Exercise-1
Introduction to LabVIEW Exercise-1 Objective In this Laboratory, you will write simple VIs to incorporate basic programming structures in LabVIEW. This section will teach you fundamentals of LabVIEW front
More informationINTRODUCTION TO LABVIEW
INTRODUCTION TO LABVIEW 2nd Year Microprocessors Laboratory 2012-2013 INTRODUCTION For the first afternoon in the lab you will learn to program using LabVIEW. This handout is designed to give you an introduction
More informationSUM - This says to add together cells F28 through F35. Notice that it will show your result is
COUNTA - The COUNTA function will examine a set of cells and tell you how many cells are not empty. In this example, Excel analyzed 19 cells and found that only 18 were not empty. COUNTBLANK - The COUNTBLANK
More information2 Lab 2: LabVIEW and Control System Building Blocks
2 Lab 2: LabVIEW and Control System Building Blocks 2.1 Introduction Controllers are built from mechanical or electrical building blocks. Most controllers are implemented in a program using sensors to
More informationGetting Started with LabVIEW Virtual Instruments
Getting Started with LabVIEW Virtual Instruments Approximate Time You can complete this exercise in approximately 30 minutes. Background LabVIEW programs are called virtual instruments, or VIs, because
More informationLearn LabVIEW 2010 / 2011 Fast
Learn LabVIEW 2010 / 2011 Fast A Primer for Automatic Data Acquisition Douglas Stamps, Ph.D. SDC PUBLICATIONS Schroff Development Corporation Better Textbooks. Lower Prices. www.sdcpublications.com Visit
More informationNI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES
NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE Introduction INSTRIUCTIONS IN THE EXERCISES According to National Instruments description: LabVIEW is a graphical programming platform that helps
More informationOpenStax-CNX module: m Thermometer VI * National Instruments
OpenStax-CNX module: m12209 1 Thermometer VI * National Instruments This work is produced by OpenStax-CNX and licensed under the Creative Commons Attribution License 1.0 Exercise 1 Complete the following
More informationIntroduction to LabVIEW
University College of Southeast Norway Introduction to LabVIEW Hans-Petter Halvorsen, 2016-09-07 http://home.hit.no/~hansha Preface This document explains the basic concepts of LabVIEW. You find additional
More informationIntroduction to LabVIEW
Introduction to LabVIEW How to Succeed in EE 20 Lab Work as a group of 2 Read the lab guide thoroughly Use help function and help pages in LabVIEW Do the Pre-Lab before you come to the lab Don t do the
More informationHomework Assignment 9 LabVIEW tutorial
Homework Assignment 9 LabVIEW tutorial Due date: Wednesday, December 8 (midnight) For this homework assignment, you will complete a tutorial on the LabVIEW data acquistion software. This can be done on
More informationSmall rectangles (and sometimes squares like this
Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,
More informationLABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH
LABVIEW HANDOUT 3 CHAPTER 3: THE MATHSCRIPT NODE AND XY GRAPH In this exercise, you will be introduced to the MathScript Node and the XY Graph. The MathScript Node structure uses syntax that is very similar
More informationPHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 1 (v 1.3) Setup The user interface of LabView is highly customizable. How this is done is a personal preference. For
More informationLab 1: Getting familiar with LabVIEW: Part I
Lab 1: Getting familiar with LabVIEW: Part I The objective of this first lab is to provide an initial hands-on experience in building a VI. For detailed explanations of the LabVIEW features mentioned here,
More informationPHYC 500: Introduction to LabView. Exercise 15 (v 1.2) Producer Consumer Event Structure. M.P. Hasselbeck, University of New Mexico
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 15 (v 1.2) Producer Consumer Event Structure This exercise extends the producer and consumer queuing action to include
More informationThe LabVIEW Programming Environment and Basic Operations
Page 1 of 14 UNM The LabVIEW Programming Environment and Basic Operations Introduction In this hands-on, you will learn about the LabVIEW programming environment. You will also write a simple Virtual Instrument
More informationPage 1 of 6. ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems. Introduction
ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems Introduction The purpose of this lab is to introduce the basics of creating programs in LabView for data collection and analysis. LabView
More informationDept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment
Dept. of Electrical, Computer and Biomedical Engineering Data Acquisition Systems and the NI LabVIEW environment Data Acquisition (DAQ) Use of some data acquisition technique can be convenient, when not
More information2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram
E80 Spring 2015 Lecture 3 LabView 1. Creating a VI (Virtual Instrument) From the File drop-down menu, select New VI 2. The LabView Environment Two panes will open, one is the Front panel, and one is the
More informationLabView programming 練習
Virtual Instrumentation With LabVIEW LabView programming 練習 工綜六樓計算機室電腦 LabView 8.0 ( 目前最新版 Labview 2010) Interactive guide to LabView 請自行前往使用 1 LabVIEW 試用 http://www.ni.com/trylabview/zht/ 下載試用版 : OR 網路導覽與試用
More informationSyllabus: Mechatronics and Engineering 3
Syllabus: Mechatronics and Engineering 3 Somerset County Vocational and Technical School Dan Dalfonzo 2018/2019 Topic 1: What is LabVIEW? (4 weeks) 1 LabVIEW and Vis Guided Task 1 2 Controls, Indicators,
More informationBasic Data Acquisition with LabVIEW
Basic Data Acquisition with LabVIEW INTRODUCTION This tutorial introduces the creation of LabView Virtual Instruments (VI s), in several individual lessons. These lessons create a simple sine wave signal,
More informationLabVIEW & FRC. BAA Fall Education Day 2015
LabVIEW & FRC BAA Fall Education Day 2015 Who am I? Jayesh Jariwala, P.E. Univ of Delaware BChE 98 Process control engineer for 17+ years Working at Applied Control Engineering, Inc FRC Mentor for 6 years
More informationME 224: EXPERIMENTAL ENGINEERING. Lecture 2
ME 224: EXPERIMENTAL ENGINEERING Class: M 1:00-1:50 TECH: L170 Labs: T and Th 2:00-4:50 PM Ford Building : B100 Lecture 2 1 Introduction to Labview Labview (Laboratory Virtual Instruments Engineering Workbench)
More informationLabVIEW Advanced for 7.0 Manual Course Errata
LabVIEW Advanced for 7.0 Manual Course Errata Exercise 1-4, page 1-24: On faster machines the VI profiler reports incorrect data. It shows that the VI plotting 1 point at a time is faster then the VI plotting
More informationOriginally released in 1986, LabVIEW (short for Laboratory Virtual Instrumentation
Introduction to LabVIEW 2011 by Michael Lekon & Janusz Zalewski Originally released in 1986, LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a visual programming environment
More informationCLAD Sample Exam 06. B. Panel Resize. C. Panel Close? D. Value Change
Name: Date: CLAD Sample Exam 06 1. Which of the following user interface events will allow your code to respond before LabVIEW performs the default action associated with that event? A. Mouse Down B. Panel
More informationMicrosoft Excel 2007
Microsoft Excel 2007 1 Excel is Microsoft s Spreadsheet program. Spreadsheets are often used as a method of displaying and manipulating groups of data in an effective manner. It was originally created
More informationLab 4 - Data Acquisition
Lab 4 - Data Acquisition 1/13 Lab 4 - Data Acquisition Report A short report is due at 8:00 AM on the Thursday of the next week of classes after you complete this lab. This short report does NOT need to
More informationCapstone Appendix. A guide to your lab computer software
Capstone Appendix A guide to your lab computer software Important Notes Many of the Images will look slightly different from what you will see in lab. This is because each lab setup is different and so
More informationAbove Threshold Warning of Temperature Data
Above Threshold Warning of Temperature Data Exercise 6 Completed front panel and block diagram. The hidden case Celsius is also shown in this picture. In the following exercise, you will create a program
More informationLabview. Masood Ejaz
Labview A Tutorial By Masood Ejaz Note: This tutorial is a work in progress and written specially for CET 3464 Software Applications in Engineering Technology, a course offered as part of BSECET program
More informationLabview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis
Labview for Everyone (National Instruments Virtual Instrumentation Series) Jeffrey Travis Table of Contents Preface. FUNDAMENTALS. 1. INTRODUCTION-WHAT IN THE WORLD IS LabVIEW? What Exactly Is LabVIEW,
More informationKaleidaGraph Quick Start Guide
KaleidaGraph Quick Start Guide This document is a hands-on guide that walks you through the use of KaleidaGraph. You will probably want to print this guide and then start your exploration of the product.
More informationUniversity of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory
University of Illinois Department of Electrical and Computer Engineering ECE 451 Automated Microwave Measurements Laboratory Experiment No. 4 Introduction to the Windows XP Workstation using National Instruments
More informationVirtual Instruments with LabVIEW
Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics Virtual Instruments with LabVIEW HANS-PETTER HALVORSEN, 2011.01.04 Faculty of Technology, Postboks
More informationCLAD Exam Preparation Guide using LabVIEW NXG
CLAD Exam Preparation Guide using LabVIEW NXG This prep guide prepares you to take the CLAD exam using LabVIEW NXG if you registered to take the exam on or after July 31, 2017. If you want to take the
More informationLabVIEW Basics. Based on LabVIEW 2011 Student Edition
LabVIEW Basics Based on LabVIEW 2011 Student Edition Virtual instruments LabVIEW works on a data flow model in which information within a LabVIEW program, called a virtual instrument (VI), flows from data
More informationLabVIEW. Table of Contents. Lesson 1. Pre-reqs/Technical Skills Basic computer use
LabVIEW Lesson 1 Pre-reqs/Technical Skills Basic computer use Expectations Read lesson material Implement steps in software while reading through lesson material Complete quiz on Blackboard Submit completed
More informationExercise 5: Basic LabVIEW Programming
Exercise 5: Basic LabVIEW Programming In this exercise we will learn the basic principles in LabVIEW. LabVIEW will be used in later exercises and in the project part, as well in other courses later, so
More informationThe Mathcad Workspace 7
For information on system requirements and how to install Mathcad on your computer, refer to Chapter 1, Welcome to Mathcad. When you start Mathcad, you ll see a window like that shown in Figure 2-1. By
More informationCertified LabVIEW Associate Developer Sample Exam 1. Test Booklet
ertified LabVIEW ssociate eveloper Sample Exam 1 Test ooklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: Please do not detach the binding staple
More informationTraining material. Introduction to LabVIEW
Training material Introduction to LabVIEW Content: A. LabVIEW Graphical Programming Environment B. Purpose for Studying LabVIEW C. LabVIEW Basics D. Debugging Techniques E. Application Building for Boyle-Mariotte
More informationLearning to use the drawing tools
Create a blank slide This module was developed for Office 2000 and 2001, but although there are cosmetic changes in the appearance of some of the tools, the basic functionality is the same in Powerpoint
More informationToday. 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework. Lab: Continue project. Lecture. Review your exams and review practice exam again.
Today 4/5/11 Physics 262 Lecture 10 Questions about Exams Homework Review your exams and review practice exam again. Lab: Continue project Do pre-lab before lab. See last weeks handout. Requires use of
More informationII. LAB. * Open the LabVIEW program (Start > All Programs > National Instruments > LabVIEW 2012 > LabVIEW 2012).
II. LAB Software Required: NI LabVIEW 2012, NI LabVIEW 4.3 Modulation Toolkit. Functions and VI (Virtual Instrument) from the LabVIEW software to be used in this lab: For Loop (Function), Unbundle By Name
More informationExercise 1: Introduction to MapInfo
Geog 578 Exercise 1: Introduction to MapInfo Page: 1/22 Geog 578: GIS Applications Exercise 1: Introduction to MapInfo Assigned on January 25 th, 2006 Due on February 1 st, 2006 Total Points: 10 0. Convention
More informationUsing LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009
Using LabVIEW with BiPOM Boards Quick Start Guide Document Revision: 1.01 Date: 18 September, 2009 BiPOM Electronics, Inc. 16301 Blue Ridge Road, Missouri City, Texas 77489 Telephone: 1-713-283-9970. Fax:
More informationLabView instrumentoinnissa, 55492, 3op Labview in instrumentation
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, heikki.ojala@helsinki.fi, room C204a Physicum Teaching assistant: Hannu Koskenvaara, hannu.koskenvaara@helsinki.fi,
More informationCharting 1. There are several ways to access the charting function There are three autolayouts which include a chart.
Charting 1 PowerPoint has an internal charting function. It can create charts from data in most of the common chart types. The biggest advantage is that the data is stored internally in the PowerPoint
More informationGE Fanuc Automation. CIMPLICITY HMI Plant Edition. Trend and XY Chart. CIMPLICITY Monitoring and Control Products.
GE Fanuc Automation CIMPLICITY Monitoring and Control Products CIMPLICITY HMI Plant Edition Trend and XY Chart Operation Manual GFK-1260H July 2001 Following is a list of documentation icons: GFL-005 Warning
More informationPHYC 500: Introduction to LabView. Exercise 16 (v 1.2) Controlling hardware with DAQ device. M.P. Hasselbeck, University of New Mexico
PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 16 (v 1.2) Controlling hardware with DAQ device This exercise has two parts. First, simulate a traffic light circuit
More informationLinear Control Systems LABORATORY
Islamic University Of Gaza Faculty of Engineering Electrical Engineering Department Linear Control Systems LABORATORY Prepared By: Eng. Adham Maher Abu Shamla Under Supervision: Dr. Basil Hamed Experiments
More informationAppendix A. HINTS WHEN USING EXCEL w
Appendix A HINTS WHEN USING EXCEL w This appendix provides hints when using Microsoft Excel. Appendix A includes general features that are useful in all the applications solved with Excel in this book.
More informationECE 451 Automated Microwave Measurements Laboratory. Experiment No. 2. Automated RF Power Detection Using LabVIEW
Introduction ECE 451 Automated Microwave Measurements Laboratory Experiment No. 2 Automated RF Power Detection Using LabVIEW Experiment design is undoubtedly the most difficult aspect of an engineering
More informationExperiment 1: Introduction to Labview 8.0 (tbc 1/7/2007, 1/13/2009,1/13/2011)
Experiment 1: Introduction to Labview 8.0 (tbc 1/7/2007, 1/13/2009,1/13/2011) Objective: To learn how to build virtual instrument panels in Labview 8.0 Tasks: 1. Build the Labview VI shown in the tutorial
More informationTechnical Documentation Version 7.3 Output
Technical Documentation Version 7.3 Output These documents are copyrighted by the Regents of the University of Colorado. No part of this document may be reproduced, stored in a retrieval system, or transmitted
More informationGraphing Interface Overview
Graphing Interface Overview Note: This document is a reference for using JFree Charts. JFree Charts is m-power s legacy graphing solution, and has been deprecated. JFree Charts have been replace with Fusion
More informationSpreadsheet Concepts: Creating Charts in Microsoft Excel
Spreadsheet Concepts: Creating Charts in Microsoft Excel lab 6 Objectives: Upon successful completion of Lab 6, you will be able to Create a simple chart on a separate chart sheet and embed it in the worksheet
More informationIntroduction to Microsoft Excel 2010
Introduction to Microsoft Excel 2010 This class is designed to cover the following basics: What you can do with Excel Excel Ribbon Moving and selecting cells Formatting cells Adding Worksheets, Rows and
More informationLearn the three palettes. Learn how data is passed in LabVIEW. Create a subvi using two different methods.
UNM The LabVIEW Programming Environment and Basic Operations Introduction In this hands-on, you will learn about the LabVIEW programming environment. You will also write a simple Virtual Instrument (VI)
More informationPhotoSpread. Quick User s Manual. Stanford University
PS PhotoSpread Quick User s Manual Stanford University PhotoSpread Quick Introduction Guide 1.1 Introduction 1.2 Starting the application 1.3 The main application windows 1.4 Load Photos into a cell 1.5
More informationEngineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit
Engineering Project-I Module 1: Familiarization of LabVIEW and the Vernier Toolkit PREPARED BY Academic Services Unit January 2012 Applied Technology High Schools, 2012 Module 1: Familiarization of LabVIEW
More informationENV Laboratory 2: Graphing
Name: Date: Introduction It is often said that a picture is worth 1,000 words, or for scientists we might rephrase it to say that a graph is worth 1,000 words. Graphs are most often used to express data
More informationTutorial: Getting Started with the LabVIEW Simulation Module
Tutorial: Getting Started with the LabVIEW Simulation Module - LabVIEW 8.5 Simulati... Page 1 of 10 Cart Help Search You are here: NI Home > Support > Product Reference > Manuals > LabVIEW 8.5 Simulation
More informationCollaborate in Qlik Sense. Qlik Sense February 2018 Copyright QlikTech International AB. All rights reserved.
Collaborate in Qlik Sense Qlik Sense February 2018 Copyright 1993-2018 QlikTech International AB. All rights reserved. Copyright 1993-2018 QlikTech International AB. All rights reserved. Qlik, QlikTech,
More informationChapter 7 Inserting Spreadsheets, Charts, and Other Objects
Impress Guide Chapter 7 Inserting Spreadsheets, Charts, and Other Objects OpenOffice.org Copyright This document is Copyright 2007 by its contributors as listed in the section titled Authors. You can distribute
More informationRoboDAQ7. By John Buzzi. Masters of Engineering Report. Cornell University
RoboDAQ7 Masters of Engineering Report By John Buzzi Email: jlb269@cornell.edu Cornell University May 17, 2010 Abstract Learning from and improving on our past mistakes and accomplishments is only possible
More informationINFORMATION TECHNOLOGY 402 UNIT IV SPREADSHEET
INFORMATION TECHNOLOGY 402 UNIT IV SPREADSHEET AUTOSUM AutoSum is a function in Microsoft Excel and other spreadsheet programs that automatically enters the appropriate formula or function into your spreadsheet.
More informationlab MS Excel 2010 active cell
MS Excel is an example of a spreadsheet, a branch of software meant for performing different kinds of calculations, numeric data analysis and presentation, statistical operations and forecasts. The main
More informationMicrosoft Powerpoint 2013
Microsoft Powerpoint 2013 Lesson 4 Designing a Presentation 2014, John Wiley & Sons, Inc. Microsoft Official Academic Course, Microsoft Word 2013 1 Objectives 2014, John Wiley & Sons, Inc. Microsoft Official
More information