1 1 / 1 / Due : Fri. Nov. 23 rd / Mon. Nov. 26

Size: px
Start display at page:

Download "1 1 / 1 / Due : Fri. Nov. 23 rd / Mon. Nov. 26"

Transcription

1 ENGG*4420 Real Time System Design Due : Fri. Nov. 23 rd / Mon. Nov. 26 th 1 1

2 Today s Activities Lab 4 Introduction. Lab 3 Demos. Start work on Lab

3 Lab 4 Development Environment Host PC Target Quad-Core PC NI PCI-6229 DAQ LabVIEW 2009 Software Standard Module. Real-Time Development Module. Trace Execution Toolkit. 3 3

4 Lab 4 Requirements The goal of lab 4 is to implement a half-car vehicle suspension system model using the quarter-car suspension implemented in lab 2. The implementation is divided into two main components: RT Target PC: LQR control system. Host PC: Half-Car suspension system plant model. 4 4

5 Lab 4 Architecture 5 5

6 Half-Car Suspension Model 6 6

7 Host PC Implementation Road Disturbance Half-Car Suspension system Front Quarter-Car Suspension Rear Quarter-Car Suspension System States Damping Coefficients Communication and Synchronization Task DAQmx 7 7

8 Host PC Implementation Two quarter-car models representing the front and rear suspension systems. The models should use the parameters in Table 2.3. The front and rear sprung mass values are calculated using equations 2.18 and Road profile Generated using a time-delayed input. Assume that the rear suspension is 2 samples behind the front suspension. The ride quality of the half-car body must be calculated using equation 2.28 in the lab manual. 8 8

9 Real-Time Target PC Implementation 9 9

10 Real-Time Target PC Implementation Implement two separate LQR controllers using equation 2.14 from the manual. Each of the LQR controllers must execute on a dedicated CPU. The communication and synchronization task must have it s own dedicated CPU. Communication between the various tasks must be implemented using Real-Time FIFOs

11 Host/Target Communication You have the following channels available for use in your implementation: Host PC: 2 Analog Outputs 2 Analog Inputs 1 Digital Output Target PC: 2 Analog Outputs 2 Analog Inputs 1 Digital Input Note: You ll need to handle timing such that your transmissions are not delayed and data sets are not separated

12 Lab 4 Requirements/Steps Step 1: Check that your target computer and DAQ are available in NIMax (slide 22). Step 2: Set up your project file (slide 24). Step 3: On the Host PC implement the half-car suspension system by duplicating your quarter-car suspension model from Lab

13 Lab 4 Requirements/Steps Step 4: Review the DAQmx examples in LabVIEW. Step 5: Build the synchronization and communication process between the plant system and controller using the DAQmx interface. Communication must be implemented using the two connection blocks (DAQs). Task communication must be performed using queues on the host PC and Real-Time FIFOs on the RT target PC. Step 6: On the target PC implement two LQR controllers each occupying a dedicated CPU (one for each suspension system). Note that Math Script nodes CANNOT be used on the Target PC

14 Lab 4 Requirements/Steps Step 7: Test the correctness and performance of your design using: Expected system response. The Performance Profiler (slide 44). Real-Time System Manager (RTSM) (slide 46). The Real-Time Execution Trace Toolkit (RTETT) (slide 50). Step 8: Experiment with changing parameters such as: Loop priority, timing, processor allocation, and SubVI priority. Observe the behavior of your design using the RTSM and the RTETT

15 Lab 4 Demo Requirements The demo will include the examination of the following: Front Panel (graphs and controls). Model Response (both with and without semi- active control). Organization of host and target implementations. Communication and synchronization between the host and target. Understanding of LabVIEW implementation. Understanding of the Execution Trace Toolkit figures

16 Lab 4 Report Requirements 1. Introduction: Briefly describe the problem (i.e. what system are you implementing, why is control required, difference from implementation in lab 2, etc ). System Requirements. 2. Implementation: Equipment used. Short overview of the benefits of using the LV RTOS. Present your designed control strategy, discuss the number of cores used, and which tasks will be allocated on which core. Also, present your proposed communication method

17 Lab 4 Report Requirements 2. Implementation Cont.: Present a top-down implementation of your system, showing which major operations are being performed on the Host and Target PCs Theory presented in Lab 2 does not need to be documented in the Lab 4 report. Semi-Active Suspension LQR Theory Fully document your LabVIEW implementation with figures and code snippets where appropriate. Front Panel Block Diagram Script Nodes

18 Lab 4 Report Requirements 3. Simulation/Results: Document your system s performance for various configurations. Timing and CPU usage can be obtained using the performance analyzer, the RTSM and the RTETT. Experiment with changing the periods of the loops, processor allocation, and assigned VI and loop priorities. Use figures where appropriate to document the results (e.g. RTSM usage graph and VI/Thread execution graphs from the RTETT)

19 Lab 4 Report Requirements 3. Simulation/Results Cont.: Discuss any changes that need to be made to your design to obtain better system performance in terms of memory consumption, CPU performance, core allocation, etc. Discuss any difference in performance between your lab 2 and lab 4 implementations. Replace the Timed Loops in your lab 4 implementation with standard while loops and comment of any change in performance (use figures from the RTETT)

20 Lab 4 Report Requirements 3. Simulation/Results Cont.: Experiment with controlling your Timed Loops through both hardware and software timing. 4. Conclusion: Provide some brief concluding statements on the lab based upon your implementation and the observed effects of varying parameters. This section should be clear and concise

21 Deadlines and Marking Lab 4 is worth 12%. 6% for the report and 6% for the demo The Demo is due Nov. 23 rd /Nov. 26 th, 2012 in the Lab. The Report is due Nov. 23 rd /Nov. 26 th, 2012 in the Lab. Physical and Electronic copy. A signed group evaluation sheet must be submitted with the lab report. Do NOT include student numbers on the lab report

22 Target Configuration Open NI - Measurement and Automation (NIMax) on the host computer and expand the remote systems tab. Find your target PC. The target displays both its name and IP address when RT LabVIEW is running. Expand the Devices and Interfaces tab of your target PC. Check that the DAQ is detected and available. DO NOT TURN OFF YOUR TARGET PC!!! DUE TO NETWORK PERMISSIONS ADMINISTRATIVE ACCESS IS REQUIRED TO RECONFIGURE THE TARGETS!!

23 Target Configuration

24 Creating a LabVIEW RT Project Step 1: Create a Real-Time Project. Step 2: Select the Continuous communication architecture

25 Creating a LabVIEW RT Project Step 3: Add your configured target PC to your project. Step 4: New Vis and DAQ tasks may now be added to the Host and Target by right-clicking in the project window. Remember to save your project file and not just your VIs

26 Project Organization You can experiment with the organization of your project to find what you feel works best. Note that priorities can be set at the VI level (I.E. Time-Critical, Normal, etc..) and in timed loops running within a VI. Group similar tasks together. Start off making use of three cores and change the allocations later as you see fit

27 Useful Tools SubVIs: Used to build frequently used functions that can later be added to the main VI. Global and Shared Variables: Used to move data between loops and VIs. DAQmx channels and tasks for connected devices: Used to move data between the host and target PCs

28 Useful Tools

29 Creating SubVI SubVIs can be created as functions to be used in the main VI. These subvis can have their own priorities predefined (default priority is Normal ). To create your own VI: Build your function on the block diagram. Right click the VI icon on the top right corner of the block diagram. From here you can define the terminals the VI needs, and the shape of the icon. Drag your newly created subvi onto your main block diagram. Remember that by default the VIs are not set for reentrant execution

30 Creating SubVI Right click icon to get VI related options

31 VI Properties VI properties can be set by going to File VI Properties. You can set and enable debugging (active by default) and set priority to be normal or time-critical. Most needed options can be found under execution

32 Useful Structures - Communication In order to send and receive data, you ll need to setup NI-DAQmx tasks. To do this, right click on the desired PC (host or target) and go to New DAQmx task. Configuration is then performed in the same fashion as using a DAQ assistant. You can then drag the configured channel or task on to the block diagram

33 Useful Structures - Communication Right-clicking on the channel or task will give you the option to access the DAQmx pallet where you can find the blocks for both reading and writing. The configured channel/task can then be connected as shown below

34 Useful Structures Timed Loops Within a VI, timed loops can be placed. The loops can be configured to have different priorities, execution periods, and processor allocations. Double click the left terminal to get the configuration window

35 Useful Structures Timed Loops Useful Link:

36 Task/Loop Synchronization Synchronized measurements refer to measurements that start at the same time and share a single clock. Needed when measuring/sampling highly dynamic data where any phase mismatch is unacceptable. Two methods: Software Synchronization Hardware Synchronization

37 Task/Loop Synchronization Software Synchronization Allows for simple but not accurate synchronization between the various Timed Loops in the implementation. Global Timing source that is independent of the loop timing source

38 Task/Loop Synchronization Hardware Synchronization Highly accurate timing source. For best synchronization with the Timed Loop use the Control Loop From Task instance

39 Passing Data Between Threads Data should be passed between tasks and timed loops using one of the following methods: Global Variables Good Functional Global Variables Better RT FIFO VIs Best method

40 Global Variables (GVs) Shared resource can cause jitter Global variables may be written to many times before being read. Using GVs in time-critical tasks can compromise determinism. If one task accesses the variable, no other task can access it until the first task releases the variable. The second task will be forced to wait, therefore introducing jitter

41 Functional Global Variables (FGVs) Avoid shared resource problems by using FGVs. Can have several inputs and outputs. Allows for a skip if busy function. Functional global variables can be a lossy form of communication, if a VI overwrites the shift register data before another VI reads the data

42 Real-Time FIFO (RT-FIFO) Best method of communication. Ensures determinism of time-critical tasks. Uses fixed buffer size. An RT-FIFO can be a lossy communication method. When the FIFO gets full, the system starts to overwrite the old data

43 Performance Analysis LabVIEW Real-Time has several tools that can be used to evaluate the performance and response of your system. Performance Profiler Real-Time System Manager Real-Time Execution Trace Toolkit Note that your application needs to be running on the target for any performance metrics to be recorded

44 Performance Profiler Can be used to track the timing statistics of both main and sub VIs. The performance profiler can also be used to track the memory usage of a given part of the application. It can be opened by going to Tools Profile Performance and Memory

45 Performance Profiler

46 Real-Time System Manager (RTSM) The RTSM can be used to track the proportional CPU usage of each processor. It can also be used to start and stop top-level VIs during execution on the target to evaluate the effects on CPU load. The RTSM runs on the host computer and receives information from the target during operation

47 Real-Time System Manager (RTSM) The RTSM can be found under Tools Real-Time Module System Manager

48 RTSM Configuration In order to use the RTSM, you need to configure TCP/IP communication between the target and host computers. Under the properties of the target computer, make sure that TCP/IP is enabled in the VI Server menu. Add the host s IP address (this can be checked using ipconfig/all ) to the list of permitted machines in the Machine Access List of the VI Server menu

49 RTSM Configuration

50 Real-Time Execution Toolkit Use the Execution Trace Toolkit to capture the timing and execution data of VIs and thread events for your implementation. In LabVIEW select Tools Real-Time Execution Trace Toolkit. Before you use the toolkit to observe your application performance, go through the toolkit examples in Help Open Example Session in the RTETT window. For examples on how to use the toolkit see the context help of the toolkit Vis (search Execution Trace in the LabVIEW function pallet)

51 Real-Time Execution Toolkit

52 Real-Time Execution Toolkit

Lab 2: Real-Time Automotive Suspension system Simulator

Lab 2: Real-Time Automotive Suspension system Simulator ENGG*4420 Real Time System Design Lab 2: Real-Time Automotive Suspension system Simulator TA: Matthew Mayhew (mmayhew@uoguelph.ca) Due: Fri. Oct 12 th / Mon Oct 15 th ENGG*4420 1 Today s Activities Lab

More information

Lab 2: Real-Time Automotive Suspension system Simulator

Lab 2: Real-Time Automotive Suspension system Simulator ENGG*4420 Real Time System Design Lab 2: Real-Time Automotive Suspension system Simulator TA: Aws Abu-Khudhair (aabukhud@uoguelph.ca) Due: Week of Oct. 12th Aws Abu-Khudhair ENGG*4420 1 Today s Activities

More information

LabVIEW programming II

LabVIEW programming II FYS3240-4240 Data acquisition & control LabVIEW programming II Spring 2018 Lecture #3 Bekkeng 14.01.2018 Dataflow programming With a dataflow model, nodes on a block diagram are connected to one another

More information

TECH 3821 Lab #2 Relay Driver with Computer Control

TECH 3821 Lab #2 Relay Driver with Computer Control TECH 3821 Lab #2 Relay Driver with Computer Control Name: Background: One of the most basic controls in industry is the ability to turn things on and off. As we saw in Lab #1, a relay is often used to

More information

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009.

CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R. Bishop, LabVIEW 2009. CHAPTER 3 By Radu Muresan University of Guelph Page 1 ENGG4420 CHAPTER 3 LECTURE 1 October 31 10 5:12 PM CHAPTER 3 LabVIEW REAL TIME APPLICATION DEVELOPMENT REFERENCES: [1] NI, Real Time LabVIEW. [2] R.

More information

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni.

LabVIEW Core 1. What You Need To Get Started. File Locations. The course installer places the course files in the following location: ni. LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual (online) LabVIEW Core 1 Exercise Manual (online) LabVIEW Core 1 Course CD (preloaded on S Share) Multifunction DAQ device File Locations

More information

LabVIEW programming II

LabVIEW programming II FYS3240 PC-based instrumentation and microcontrollers LabVIEW programming II Spring 2016 Lecture #3 Bekkeng 18.01.2016 Dataflow programming With a dataflow model, nodes on a block diagram are connected

More information

PC-based data acquisition I

PC-based data acquisition I FYS3240 PC-based instrumentation and microcontrollers PC-based data acquisition I Spring 2016 Lecture #8 Bekkeng, 20.01.2016 General-purpose computer With a Personal Computer (PC) we mean a general-purpose

More information

LabVIEW Programming for a Multicore Environment. Stefan Kreuzer Applications Engineer National Instruments

LabVIEW Programming for a Multicore Environment. Stefan Kreuzer Applications Engineer National Instruments LabVIEW Programming for a Multicore Environment Stefan Kreuzer Applications Engineer National Instruments Agenda Overview of LabVIEW Multithreading Parallel Programming Techniques Real-Time Considerations

More information

An Overview of LabVIEW Design Patterns

An Overview of LabVIEW Design Patterns An Overview of LabVIEW Design Patterns Ryan Roggow Singletrack Integration (original presentations by Derrick Snyder Product Marketing Manager NI Data Acquisition and Eric Cunningham NI Field Engineer)

More information

CLAD Sample Exam 06. B. Panel Resize. C. Panel Close? D. Value Change

CLAD 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 information

1. Learn about LabView software and its different components

1. Learn about LabView software and its different components SfwrEng 4aa3/4ga3 Lab 1 Lab Sessions: Week starting Sept. 21, 2009. Pre-lab reports Due: Week Starting Sept. 21, 2009 at the start of lab sessions. Lab-Reports Due: Week Starting Oct. 5, 2009 at the start

More information

ni.com Preparing for the CLAD Exam

ni.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 information

ECE 463 Lab 1: Introduction to LabVIEW

ECE 463 Lab 1: Introduction to LabVIEW ECE 463 Lab 1: Introduction to LabVIEW 1. Introduction The purpose of the lab session of ECE463 is to apply/practice the digital communication theory on software-defined radios (USRPs). USRP is coupled

More information

Foundational Design Patterns for Moving Beyond One Loop

Foundational Design Patterns for Moving Beyond One Loop Foundational Design Patterns for Moving Beyond One Loop Raja Pillai Technical Consultant Agenda Why move beyond one loop? What is a design pattern? Why learn communication mechanisms? Functional global

More information

Determination of Drag Coefficient

Determination of Drag Coefficient DEPARTMENT OF MECHANICAL, INDUSTRIAL AND MANUFACTURING ENGINEERING MIMU 505 - MEASUREMENT AND ANALYSIS Determination of Drag Coefficient You will need to bring a zip disk or USB storage device to the lab

More information

Data Communication in LabVIEW

Data Communication in LabVIEW An Overview of Data Communication in LabVIEW Elijah Kerry LabVIEW Product Manager Certified LabVIEW Architect (CLA) Data Communication Options in LabVIEW 1. TCP and UDP 2. Network Streams 3. Shared Variables

More information

LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT

LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT LABVIEW LAB SKILLS ACTIVITY 1 PROGRAMING ENVIRONMENT WHAT IS LABVIEW? LabVIEW is a graphical programing language designed for scientists and engineers for experimental control and data acquisition. Most

More information

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment

ni.com/training Quizzes LabVIEW Core 1 ni.com/training Courses Skills learned: LabVIEW environment Certifications Skills tested: LabVIEW environment LabVIEW Core 1 What You Need To Get Started LabVIEW Core 1 Course Manual LabVIEW Core 1 Exercise Manual LabVIEW Core 1 Course CD Multifunction DAQ device GPIB interface DAQ Signal Accessory, wires, and

More information

Virtual Instrumentation With LabVIEW

Virtual 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 information

Improving the Performance of your LabVIEW Applications

Improving the Performance of your LabVIEW Applications Improving the Performance of your LabVIEW Applications 1 Improving Performance in LabVIEW Purpose of Optimization Profiling Tools Memory Optimization Execution Optimization 2 Optimization Cycle Benchmark

More information

Dept. 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 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 information

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides exercises to teach you how to develop a real-time project and VIs, from setting up RT targets to building, debugging, and

More information

Research Article. ISSN (Print) *Corresponding author Chen Hao

Research Article. ISSN (Print) *Corresponding author Chen Hao Scholars Journal of Engineering and Technology (SJET) Sch. J. Eng. Tech., 215; 3(6):645-65 Scholars Academic and Scientific Publisher (An International Publisher for Academic and Scientific Resources)

More information

LabVIEW Real-Time Module Release Notes

LabVIEW Real-Time Module Release Notes LabVIEW Real-Time Module Release Notes Version 7.1 Contents Installation These release notes provide installation information, references to related documentation, descriptions of the new features, and

More information

EECS Berkeley EE249 LabVIEW Framework. Hugo A. Andrade Principal Architect LabVIEW Platform & Real Time Group

EECS Berkeley EE249 LabVIEW Framework. Hugo A. Andrade Principal Architect LabVIEW Platform & Real Time Group EECS Berkeley EE249 LabVIEW Framework Hugo A. Andrade Principal Architect LabVIEW Platform & Real Time Group Agenda Overview of NI Tools LabVIEW Intro Framework Parallel programming From multi-core to

More information

Strain and Force Measurement

Strain and Force Measurement NORTHEASTERN UNIVERSITY DEPARTMENT OF MECHANICAL, INDUSTRIAL AND MANUFACTURING ENGINEERING MIMU 0-MEASUREMENT AND ANALYSIS Strain and Force Measurement OBJECTIVES The primary objective of this experiment

More information

LabVIEW Basics I: Introduction Course

LabVIEW Basics I: Introduction Course www.ni.com/training LabVIEW Basics I Page 1 of 4 LabVIEW Basics I: Introduction Course Overview The LabVIEW Basics I course prepares you to develop test and measurement, data acquisition, instrument control,

More information

ni.com What s New in 2013

ni.com What s New in 2013 What s New in 2013 Code Reuse and Mobile Device Integration Access the Newest Hardware Technology Code Management and Debugging Tools All Systems. Go. New Sample Projects and Improved Examples Streamlined

More information

Introduction to LabVIEW

Introduction 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 information

Data Acquisition Software and Hardware. Demonstration Guide. For: NetDAQ Logger, Hydra Logger, and Trend Link for Fluke V3.1

Data Acquisition Software and Hardware. Demonstration Guide. For: NetDAQ Logger, Hydra Logger, and Trend Link for Fluke V3.1 Data Acquisition Software and Hardware Demonstration Guide For: NetDAQ Logger, Hydra Logger, and Trend Link for Fluke V3.1 Introduction This demonstration guide contains exercises designed to quickly familiarize

More information

Designing Real-Time Control Applications Using LabVIEW and CompactRIO. Developer Days 2009

Designing Real-Time Control Applications Using LabVIEW and CompactRIO. Developer Days 2009 Designing Real-Time Control Applications Using LabVIEW and CompactRIO Developer Days 2009 Agenda CompactRIO Overview Technology Applications Real-Time Control Software Architecture Basic Process Control

More information

Best Practices for Architecting Embedded Applications in LabVIEW Jacques Cilliers Applications Engineering

Best Practices for Architecting Embedded Applications in LabVIEW Jacques Cilliers Applications Engineering Best Practices for Architecting Embedded Applications in LabVIEW Jacques Cilliers Applications Engineering Overview of NI RIO Architecture PC Real Time Controller FPGA 4 Where to Start? 5 Requirements

More information

A Predictable RTOS. Mantis Cheng Department of Computer Science University of Victoria

A Predictable RTOS. Mantis Cheng Department of Computer Science University of Victoria A Predictable RTOS Mantis Cheng Department of Computer Science University of Victoria Outline I. Analysis of Timeliness Requirements II. Analysis of IO Requirements III. Time in Scheduling IV. IO in Scheduling

More information

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0)

Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) 107 Figure 3.174: Illustration of the code of the event f USB that plots an USB camera frame if the typed frame is under the acceptable limits (case 0) Typing the desired HS frame in the box f HS, it is

More information

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

Engineering 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 information

PHYS 5061 Lab 1: Introduction to LabVIEW

PHYS 5061 Lab 1: Introduction to LabVIEW PHYS 5061 Lab 1: Introduction to LabVIEW In this lab, you will work through chapter 1 and 2 of Essick s book to become familiar with using LabVIEW to build simple programs, called VI s in LabVIEW-speak,

More information

CAN Based Data Acquisition

CAN Based Data Acquisition Introduction This project will convert physical temperature measurements into Controller Area Network (CAN) messages following the Society of Automotive Engineers standard, SAE-J1939, Surface Vehicle Recommended

More information

FYS Data acquisition & control. Introduction. Spring 2018 Lecture #1. Reading: RWI (Real World Instrumentation) Chapter 1.

FYS Data acquisition & control. Introduction. Spring 2018 Lecture #1. Reading: RWI (Real World Instrumentation) Chapter 1. FYS3240-4240 Data acquisition & control Introduction Spring 2018 Lecture #1 Reading: RWI (Real World Instrumentation) Chapter 1. Bekkeng 14.01.2018 Topics Instrumentation: Data acquisition and control

More information

Getting Started with the LabVIEW Real-Time Module

Getting Started with the LabVIEW Real-Time Module Getting Started with the LabVIEW Real-Time Module Contents This document provides steps to build a simple deterministic application and references to programming examples and documentation for more information

More information

Introduction to National Instruments LabVIEW and Data Acquisition (DAQ)

Introduction to National Instruments LabVIEW and Data Acquisition (DAQ) Introduction to National Instruments LabVIEW and Data Acquisition (DAQ) Danial J. Neebel, Joseph R. Blandino, and David J. Lawrence, College of Integrated Science and Technology James Madison University

More information

Figure 1: Control & Simulation Loop

Figure 1: Control & Simulation Loop Pre-Lab 4 LabVIEW Tutorial Overview In this tutorial, you will be using the Control & Simulation library in LabVIEW to simulate the step response for the transfer function of a system. ATTENTION : After

More information

ni.com Integrating EPICS and LabVIEW

ni.com Integrating EPICS and LabVIEW Integrating EPICS and LabVIEW Agenda Overview Channel Access (CA) Support LabVIEW EPICS CA Server LabVIEW EPICS CA Client EPICS IOC Support CompactRIO PXI 3 rd Party Options Questions and Answers 3 Overview

More information

Tasks and Objectives: Certified LabVIEW Architect

Tasks and Objectives: Certified LabVIEW Architect Certification ID Certification Title Job Description: CLA Certified LabVIEW Architect Given a set of requirements for a large application, the is able to develop, lead, and direct a team of LabVIEW developers

More information

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Hands-on Lab 2: LabVIEW NI-DAQ Basics 2 Hands-on Lab 2: LabVIEW NI-DAQ Basics 2 Recall that the final objective is position regulation using computer-controlled state feedback. Computer control requires both software, like LabVIEW and hardware,

More information

Lab 4 - Data Acquisition

Lab 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 information

Data Acquisition. Software and Hardware. Demonstration Guide. For: NetDAQ Logger for Windows Hydra Logger for Windows Trend Link for Fluke

Data Acquisition. Software and Hardware. Demonstration Guide. For: NetDAQ Logger for Windows Hydra Logger for Windows Trend Link for Fluke Data Acquisition Software and Hardware Demonstration Guide For: NetDAQ Logger for Windows Hydra Logger for Windows Trend Link for Fluke Introduction This demonstration guide contains exercises designed

More information

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS UNIT I OPERATING SYSTEMS 1. Write a short note about [6+6M] a) Time services b) Scheduling Mechanisms 2. a) Explain the overview of Threads and Tasks. [6M] b) Draw the structure of Micro kernel and explain

More information

ENGR 1000, Introduction to Engineering Design

ENGR 1000, Introduction to Engineering Design ENGR 1000, Introduction to Engineering Design Unit 2: Data Acquisition and Control Technology Lesson 2.1: Programming Line Outputs for the NI USB-6008 in LabVIEW Hardware: 12 VDC power supply Several lengths

More information

Hardware: Acquiring Data and Communicating with Instruments

Hardware: Acquiring Data and Communicating with Instruments Hardware: Acquiring Data and Communicating with Instruments 4 Acquiring a Signal This chapter introduces you to the Express VIs you use to acquire data and communicate with instruments on Windows. These

More information

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015 EMBEDDED SYSTEMS: INTRODUCTION TO THE MSP432 MICROCONTROLLER Volume 1 First Edition June 2015 Jonathan W. Valvano ii Jonathan Valvano First edition 3 rd printing June 2015 The true engineering experience

More information

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio SAS Simulation Studio 14.1: User s Guide Introduction to SAS Simulation Studio This document is an individual chapter from SAS Simulation Studio 14.1: User s Guide. The correct bibliographic citation for

More information

Computer Interfacing Using LabView

Computer Interfacing Using LabView Computer Interfacing Using LabView Physics 258 Last revised September 25, 2005 by Ed Eyler Purpose: Note: To write a simple LabView program that digitizes data using an ADC on a data acquisition card,

More information

LabVIEW Communication Techniques for Distributed Applications

LabVIEW Communication Techniques for Distributed Applications LabVIEW Communication Techniques for Distributed Applications Agenda Intro: What is a Distributed Application? Part I: LabVIEW Communication Techniques Part II: Implementing Communication Tasks Distributed

More information

2. The LabView Environment Two panes will open, one is the Front panel, and one is the Block Diagram

2. 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 information

Final Exam Study Guide

Final Exam Study Guide Final Exam Study Guide Part 1 Closed book, no crib sheet Part 2 Open book, open notes, calculator (no laptops, phones, devices with screens larger than a TI-89 calculator, devices with wireless communication).

More information

Lab 1: Getting familiar with LabVIEW: Part I

Lab 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 information

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI

Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Application Note 182 Programming for the LabVIEW Real-Time Module Using LabWindows/CVI Introduction This document discusses using LabWindows/CVI to interface with RT Series hardware and to write DLLs to

More information

Virtual Instrumentation With LabVIEW

Virtual 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 information

LabVIEW FPGA Module Release and Upgrade Notes

LabVIEW FPGA Module Release and Upgrade Notes LabVIEW FPGA Module Release and Upgrade Notes Version 2009 Contents These release notes contain instructions for installing the LabVIEW FPGA Module, introduce new features, and provide upgrade information.

More information

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified 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 information

LabVIEW control solutions on Mac. Christophe Salzmann. Ecole Polytechnique Fédérale de Lausanne - Switzerland

LabVIEW control solutions on Mac. Christophe Salzmann. Ecole Polytechnique Fédérale de Lausanne - Switzerland 1 LabVIEW control solutions on Mac Christophe Salzmann Ecole Polytechnique Fédérale de Lausanne - Switzerland 2 1! Outline Education & research context Control on the Mac (timeline) Current solutions Research

More information

Measurement & Automation Explorer (MAX) View and control your devices and software

Measurement & Automation Explorer (MAX) View and control your devices and software 1. Labview basics virtual instruments, data flow, palettes 2. Structures for, while, case,... editing techniques 3. Controls&Indicators arrays, clusters, charts, graphs 4. Additional lecture State machines,

More information

Data Acquisition Software and Hardware Demonstration Guide

Data Acquisition Software and Hardware Demonstration Guide Data Acquisition Software and Hardware Demonstration Guide For: NetDAQ Logger for Windows Hydra Logger for Windows Trend Link for Fluke Introduction This demonstration guide contains exercises designed

More information

Advanced NI-DAQmx Programming Techniques with LabVIEW

Advanced NI-DAQmx Programming Techniques with LabVIEW Advanced NI-DAQmx Programming Techniques with LabVIEW Agenda Understanding Your Hardware Data Acquisition Systems Data Acquisition Device Subsystems Advanced Programming with NI-DAQmx Understanding Your

More information

OpenStax-CNX module: m Thermometer VI * National Instruments

OpenStax-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 information

Introduction to LabVIEW

Introduction to LabVIEW Introduction to LabVIEW 1 Introduction 1.1 Aims The following material is a short introduction to LabVIEW and it aims for you to: familiarise with the LabVIEW programming environment including front panel

More information

NI Training & Certification

NI Training & Certification NI Training & Certification Certified LabVIEW Developer Exam Preparation Course Agenda CLD exam process, format and scoring CLD exam objective and theme Design your way to exam success Preparation resources

More information

Engineering Tool Development

Engineering Tool Development Engineering Tool Development Codification of Legacy Three critical challenges for Indian engineering industry today Dr. R. S. Prabakar and Dr. M. Sathya Prasad Advanced Engineering 21 st August 2013 Three

More information

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4

Lecture notes Lectures 1 through 5 (up through lecture 5 slide 63) Book Chapters 1-4 EE445M Midterm Study Guide (Spring 2017) (updated February 25, 2017): Instructions: Open book and open notes. No calculators or any electronic devices (turn cell phones off). Please be sure that your answers

More information

ni.com Best Practices for Architecting Embedded Applications in LabVIEW

ni.com Best Practices for Architecting Embedded Applications in LabVIEW Best Practices for Architecting Embedded Applications in LabVIEW Overview of NI RIO Architecture PC Real Time Controller FPGA 2 Where to Start? 3 Requirements Before you start to design your system, you

More information

Data Acquisition Laboratory

Data Acquisition Laboratory Session 2559 Data Acquisition Laboratory Asad Yousuf Savannah State University Abstract The essential element to automate your system for data collection and analysis is termed as the data acquisition.

More information

LabVIEW Tutorials. T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering

LabVIEW Tutorials. T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering LabVIEW Tutorials T.1 Temperature Measurement and Cold Junction Compensation (CJC) LUMS School of Science and Engineering Umer Hassan & Muhammad Sabieh Anwar Introduction: In this tutorial we shall learn

More information

INTRODUCTION TO LABVIEW

INTRODUCTION 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 information

Supplement #56 RSE EXTENSIONS FOR WDSC 5.X

Supplement #56 RSE EXTENSIONS FOR WDSC 5.X 84 Elm Street Peterborough, NH 03458 USA 1-800-545-9485 (010)1-603-924-8818 FAX (010)1-603-924-8508 Website: http://www.softlanding.com Email: techsupport@softlanding.com RSE EXTENSIONS FOR WDSC 5.X Supplement

More information

Introduction to the ThreadX Debugger Plugin for the IAR Embedded Workbench C-SPYDebugger

Introduction to the ThreadX Debugger Plugin for the IAR Embedded Workbench C-SPYDebugger C-SPY plugin Introduction to the ThreadX Debugger Plugin for the IAR Embedded Workbench C-SPYDebugger This document describes the IAR C-SPY Debugger plugin for the ThreadX RTOS. The ThreadX RTOS awareness

More information

LabVIEW FPGA Module Release Notes

LabVIEW FPGA Module Release Notes LabVIEW FPGA Module Release Notes Version 1.1 Contents These release notes introduce new features and contain instructions for installing the LabVIEW FPGA Module, configuring FPGA devices, and selecting

More information

LabVIEW 2009 Real-Time & FPGA 最新技術剖析. National Instruments 美商國家儀器 行銷部技術經理吳維翰

LabVIEW 2009 Real-Time & FPGA 最新技術剖析. National Instruments 美商國家儀器 行銷部技術經理吳維翰 LabVIEW 2009 Real-Time & FPGA 最新技術剖析 National Instruments 美商國家儀器 行銷部技術經理吳維翰 LabVIEW RT 2009 Agenda NI Real-Time Hypervisor MathScript RT RT System Backup and Restore crio Streaming API LabVIEW FPGA 2009

More information

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc.

Simulation in LabVIEW. Hans-Petter Halvorsen, M.Sc. Simulation in LabVIEW Hans-Petter Halvorsen, M.Sc. Software LabVIEW LabVIEW Control Design and Simulation Module This module is used for creating Control and Simulation applications with LabVIEW. Here

More information

Contents. QoS overview 1

Contents. QoS overview 1 Contents QoS overview 1 QoS service models 1 Best-effort service model 1 IntServ model 1 DiffServ model 1 QoS techniques overview 1 Deploying QoS in a network 2 QoS processing flow in a device 2 Configuring

More information

Introduction to LabVIEW and NI Hardware Platform

Introduction to LabVIEW and NI Hardware Platform Introduction to LabVIEW and NI Hardware Platform Corrie Botha Platform-Based Approach 2 With LabVIEW, You Can Program the Way You Think 3 With LabVIEW, You Can Program the Way You Think The graphical,

More information

Implementing Scheduling Algorithms. Real-Time and Embedded Systems (M) Lecture 9

Implementing Scheduling Algorithms. Real-Time and Embedded Systems (M) Lecture 9 Implementing Scheduling Algorithms Real-Time and Embedded Systems (M) Lecture 9 Lecture Outline Implementing real time systems Key concepts and constraints System architectures: Cyclic executive Microkernel

More information

Page 1 of 6. ME 3200 Mechatronics I Laboratory Lab 2: LabView Computer Systems. Introduction

Page 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 information

Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz

Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming Nasser Kehtarnavaz Digital Signal Processing System Design: LabVIEW-Based Hybrid Programming by Nasser Kehtarnavaz University

More information

SCRATCH MODULE 3: NUMBER CONVERSIONS

SCRATCH MODULE 3: NUMBER CONVERSIONS SCRATCH MODULE 3: NUMBER CONVERSIONS INTRODUCTION The purpose of this module is to experiment with user interactions, error checking input, and number conversion algorithms in Scratch. We will be exploring

More information

Decisions Behind the Design of the Queued Message Handler Template

Decisions Behind the Design of the Queued Message Handler Template Decisions Behind the Design of the Queued Message Handler Template Name, Title, National Instruments Outline Where QMH fits in with other patterns QMH Design Main VI organization Project organization Inter-loop

More information

Controller Area Network (CAN) Tutorial

Controller Area Network (CAN) Tutorial Controller Area Network (CAN) Tutorial Topics A Controller Area Network (CAN) bus is a high-integrity serial bus system for networking intelligent devices. CAN busses and devices are common components

More information

UNIT 2 TRANSPORT LAYER

UNIT 2 TRANSPORT LAYER Network, Transport and Application UNIT 2 TRANSPORT LAYER Structure Page No. 2.0 Introduction 34 2.1 Objective 34 2.2 Addressing 35 2.3 Reliable delivery 35 2.4 Flow control 38 2.5 Connection Management

More information

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks

ECU Measurement and Calibration in a Real-Time Test Environment. Roland Magolei National Instruments Engineering GmbH Embedded Networks ECU Measurement and Calibration in a Real-Time Test Environment Roland Magolei National Instruments Engineering GmbH Embedded Networks Term Definitions What is ECU Calibration? Software Optimization of

More information

Certified LabVIEW Associate Developer Examination

Certified 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 information

Tips and Tricks for Highly Productive Programming in LabVIEW

Tips and Tricks for Highly Productive Programming in LabVIEW Tips and Tricks for Highly Productive Programming in LabVIEW Rejwan Ali Technical Marketing Engineer National Instruments Outline Motivations for programming faster Quick Drop Templates and Sample Projects

More information

Graphical System Design. David Fuller LabVIEW R&D Section Manager

Graphical System Design. David Fuller LabVIEW R&D Section Manager Graphical System Design David Fuller LabVIEW R&D Section Manager Agenda Visions Demo Order & time National Instruments Confidential 2 Virtual Instrumentation National Instruments Confidential 3 Virtual

More information

c01.qxd p /18/01 11:03 AM Page 1 Fundamentals

c01.qxd p /18/01 11:03 AM Page 1 Fundamentals c01.qxd p001-017 10/18/01 11:03 AM Page 1 Fundamentals c01.qxd p001-017 10/18/01 11:03 AM Page 2 OVERVIEW Welcome to the world of LabVIEW! This chapter gives you a basic explanation of LabVIEW and its

More information

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW.

Concept: Debugging. Goal. Description. Implementation. Use the debugging tools built into LabVIEW. Goal Description Implementation Use the debugging tools built into LabVIEW. Complete the following steps to load a broken VI and correct the errors. Use single-stepping and execution highlighting to step

More information

Chapter 2 LabVIEW FPGA

Chapter 2 LabVIEW FPGA Chapter 2 LabVIEW FPGA 2.1 Field-Programmable Gate Array (FPGA) An field-programmable gate array (FPGA) [1] is a device that contains a matrix of reconfigurable gate array logic circuitry. When an FPGA

More information

CS355 Hw 4. Interface. Due by the end of day Tuesday, March 20.

CS355 Hw 4. Interface. Due by the end of day Tuesday, March 20. Due by the end of day Tuesday, March 20. CS355 Hw 4 User-level Threads You will write a library to support multiple threads within a single Linux process. This is a user-level thread library because the

More information

Hands-on Lab 1: LabVIEW NI-DAQ Basics 1

Hands-on Lab 1: LabVIEW NI-DAQ Basics 1 Hands-on Lab 1: LabVIEW NI-DAQ Basics 1 This lab reviews LabVIEW concepts needed towards the course s final objective of position regulation using computer-controlled state feedback. Specific LabVIEW concepts

More information

Certified LabVIEW Associate Developer Examination

Certified 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 information

Don t Think You Need an FPGA? Think Again!

Don t Think You Need an FPGA? Think Again! 1 Don t Think You Need an FPGA? Think Again! Arun Veeramani Senior Program Manager National Instruments Don t Think You Need an FPGA? Think Again! Goals for Today Define and explain FPGAs Address common

More information

Control Technology. motion controller and power amplifier

Control Technology. motion controller and power amplifier Control Technology motion controller and power amplifier Erik van Hilten Rik Prins National Instruments Agenda Controller, the central element Tools for controller design in drive systems: - in PC-based

More information