1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.

Slides:



Advertisements
Similar presentations
Apple Pi Robotics Logic System and Programming Basics 1 1.
Advertisements

LabVIEW Crash Course Presented by:.
US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
LabVIEW is a graphical programming development environment for data acquisition and control, data analysis, and data presentation. With LabVIEW you can.
Floyd, Digital Fundamentals, 10 th ed EET 2259 Unit 2 Virtual Instruments Read Bishop, Chapter 2. Lab #2 and Homework #2 due next week. Quiz #1 next week.
Lesson 2 Navigating LabVIEW
Exercise 1: Install PC Software & NXT Firmware
LabVIEW and G Graphical Programming Language By: Ramtin Raji Kermani.
Add and Use a Sensor & Autonomous For FIRST Robotics
LabVIEW 7.1 Tutorial. Measurement Lab. MECH262-MECH261 Imran Haider Malik January 16, 2006.
Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
Introduction to LabVIEW
Introduction to LabVIEW 8.5
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
PC Applications Course LabVIEW: Laboratory Virtual Instrument Engineering Workbench Graphical Programming Easy to use Faster Development Time.
Department of Electrical and Computer Engineering Texas A&M University College Station, TX Abstract 4-Level Elevator Controller Lessons Learned.
Dan O. Popa, Intro to EE – Practicum, Spring 2015 EE 1106 : Introduction to EE Freshman Practicum Lecture 2: Signals, Systems and Circuits with Introduction.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
ME 411/511Prof. Sailor Data Acquisition & LabView Lecture goals… –Learn the basics of how to use and modify LabView Virtual Instruments –Become familiar.
How to Use This Training Deck
Virtual Instrumentation With LabVIEW
Lecture 13LabVIEW and GPIB LabVIEW (National Instruments) –Graphical program language –Widely used in academia (lab) and industry (R&D) General Purpose.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Build.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
V1: HMFR, V2: MFNB, 2007 LabView Seminar University of Puerto Rico Mayagüez Campus.
US First Kickoff 2012 Software Programming (And Control System) Daniel Kohn University of Memphis.
Virtual Instrumentation With LabVIEW. Section I LabVIEW terms Components of a LabVIEW application LabVIEW programming tools Creating an application in.
Design of Bio-Medical Virtual Instrumentation Tutorial 1.
LabView Basics The Fighting Pi Controls Group. About LabView LabView is a highly adaptable programming GUI (Graphic User Interface) LabView compiles the.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
MCEN 371 – Mechanical Engineering Lab Chapter 6: LabVIEW Part 1: Introduction.
Chapter 1 LabVIEW Basics. Features > Uses Graphic Symbols > Created by National Instruments > Virtual Instruments (VIs) > Extensive Library of VIs.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs LabVIEW Programs Are Called Virtual Instruments (VIs) Block Diagram.
LabVIEW an Introduction
Introduction to LabVIEW
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
2009 FRC Control System Software Overview Dave Doerr, Mentor, Team 67 November 15, 2008.
LabVIEW in 3 Hours. What is Test & Measurement? Keypad Functionality Keypad Functionality LCD Testing LCD Testing Sound Quality Sound Quality Acoustic.
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
Part I MVRT 2011 – 2012 Season Introduction to LabVIEW.
LabView instrumentoinnissa, 55492, 3op Labview in instrumentation Lecturer: Heikki Ojala, room C204a
1. 2 LabVIEW Intro, Basics, Tips, Tricks Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
1. 2 FRC 2010 Robot and Dashboard Projects Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
Mechanics of LabVIEW Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Introduction to LabVIEW 8.5
An Overview of LabVIEW by: The Software User-Interface Group!
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
Virtual Instrumentation With LabVIEW. Front Panel Controls = Inputs Indicators = Outputs Block Diagram Accompanying “program” for front panel Components.
CS320n –Visual Programming More LabVIEW Foundations.
LabVIEW Basics Dustin Cruise. Who is this guy? Graduate Student in Mechanical Engineering at Purdue University Specialty Areas: Combustion Control Systems.
A Presentation on Mr. SAJID NAEEM M.SC – Electronics (UOP) PG-DEP (C-DAC)
Introduction to Labview Dawgma Team 1712 Bob Bellini, Paul Gehman.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
VAFIRST LabVIEW Workshop 11/19/11 Presenters: Marin Kobin & Patrick Foley.
Introduction to LabVIEW. Overview Objectives Background Materials Procedure Report/Presentation Closing.
Wednesday NI Vision Sessions
Introduction to Labview
Introduction to LabVIEW
Lesson 2: Introduction to Control programming using Labview
Chapter 1 LabVIEW Basics
Chapter 4 Editing and Debugging
Introduction to LabVIEW
Introduction to LabVIEW
Introduction to LabVIEW
EET 2259 Unit 2 Virtual Instruments
Presentation transcript:

1

2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012

3 Overview Introduction to LabVIEW FRC edition of LabVIEW What’s new for FRC LabVIEW 2012

4 Part 1 - What is LabVIEW? Speak G  Graphical programming language Go with the flow  Dataflow programming Easy writing  Easy to learn  Powerful debugging tools

5 Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from controls through functions to indicators –Blocks execute by Dataflow LabVIEW Programs Are Called Virtual Instruments (VIs) 5

6 Block diagram execution –Dependent on the flow of data –Block diagram does NOT execute left to right Node executes when data is available to ALL input terminals Nodes supply data to all output terminals when done Dataflow Programming 6

7 Controls Palette (Controls & Indicators) 7 Indicator: Numeric Slide Control: Numeric Customize Palette View

8 Functions (and Structures) Palette 8 (Place items on the Block Diagram Window) Structure: While Loop

9 LabVIEW Nodes While loop For loop Boolean logic PID Control Arrays Signal processing Mathematics Timing

10 Floating point Integer Boolean String Array – note wire thickness Cluster LabVIEW Types

11 LabVIEW Tasks Multiple tasks in parallel Data flow still applies Loops 1, 2, and 3 will run Loop 4 runs after 3 stops

12 Debugging Techniques Finding Errors Execution Highlighting Probes Click on broken Run button. Window showing error appears. Click on Execution Highlighting button; data flow is animated using bubbles. Values are displayed on wires. Right-click on wire to display probe and it shows data as it flows through wire segment. You can also select Probe tool from Tools palette and click on wire. 12

13 Context Help Window Help»Show Context Help or press Hover cursor over object to update window 13 Additional Help –Right-Click on the VI icon and choose Help, or –Choose “Detailed Help.” on the context help window

14 Part 2 - FRC Version of LabVIEW CompactRIO with custom FPGA image Vision and Robotics palettes Custom Getting Started Window Wizards to create robot and dashboard code FRC specific examples FRC specific tutorials

15 CompactRIO with Custom FPGA Custom FPGA image for specific I/O modules Analog, digital, and solenoid modules Read sensors, control motors and actuators (note wrong module order)

16 FRC Vision and Robotics Palettes Vision – manage and analyze images WPI Robotics – Robot Drive, Sensors, Actuators, I/O, Driver Station, Camera, Communications, Utilities. This contains most of what you will use to program your robot.

17 Custom Getting Started Window

18 FRC Wizards for Robot and Dashboard

19 FRC Specific Examples

20 Part 3 - What’s new for FRC LabVIEW 2012 Thumb Drive Installer Based on LabVIEW 2011 Supports NI cRIO-FRC II Faster RT deployment Driver Station VIs Camera VIs Compressor VIs Getting Started Window cRIO Imaging Tool Axis Camera Setup Tool Driver Station Dashboard Examples Tutorials

21 NI Software on a Thumb Drive NI LabVIEW for FRC installs from a thumb drive Extra 3.5 GB partition for team use

22 New Palette VIs Get Robot Battery Voltage Report Robot Code State Kinect VIs Camera Loop VIs Compressor Loop VI

23 Getting Started Window – Utilities Page

24 cRIO Imaging Tool Works for both:  NI cRIO-FRC  NI cRIO-FRC II Same image for both Shows installed modules cRIO switches:  Read NI cRIO-FRC  Read/Write NI cRIO-FRC II

25 Axis Camera Setup Tool Connection choice Directions Troubleshooting

26 Driver Station Charts tab – performance and logging Log Viewer – C:\Program Files\FRC Driver Station  Driver Station Log File Viewer.exe Kinect Status Space bar = E-Stop

27 Dashboard Kinect Skeleton Tab – displays skeleton image Camera Image Tab – now uses mjpeg file type

28 New Examples EZ1 MB1010 Sonar – Analog EZ1 MB1010 Sonar – Digital CAN Motor CAN Speed Control CAN Tank Drive CAN Position Control CAN Current Control

29 Tutorials Set up cRIO Set up Axis Camera Set up Robot Radio Develop Robot Project Editing Team Code Custom Dashboard Integrating Examples Integrating Vision CAN Jaguar

30 Conclusion LabVIEW is easy to learn yet very powerful Many custom VIs, examples and tools for FRC New and improved features for FRC 2012 To learn more, visit ni.com/first Questions?