1 / 13

LabVIEW for FRC

LabVIEW for FRC. Long Island Software Workshop Dec 13, 2008 Robert.berger@ni.com. Agenda. Intro to the New Control System LabVIEW Basics little LabVIEW History What else LabVIEW might be able to do for you Resources Hands On Instruction LabVIEW Project Window

lave
Télécharger la présentation

LabVIEW for FRC

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LabVIEW for FRC Long Island Software Workshop Dec 13, 2008 Robert.berger@ni.com

  2. Agenda • Intro to the New Control System • LabVIEW Basics • little LabVIEW History • What else LabVIEW might be able to do for you • Resources • Hands On Instruction • LabVIEW Project Window • WPI Robotics Libraries for LabVIEW

  3. What is LabVIEW? • It is a tool used by scientists and engineers to measure and automate the universe around us • It is a graphical programming environment • programming – it is a programming language and you won’t be an expert in a day or two • graphical – you draw your code • environment – it is more than measurement and automation, it has analysis and user interface capabilities created for scientists and engineers

  4. Virtual Instruments (VI) • LabVIEW = Laboratory Virtual Instrumentation Engineering Workbench • Programs are called VIs (vee-eyes), they have: Front Panel Block Diagram

  5. VI / Car Analogy – Front Panel • The Front Panel is like the driver’s cockpit • Controls or Inputs to the car • Ignition Key, Shifter, Gas Pedal, Brake, etc. • Indicators or Outputs • Speedometer, Tachometer, Fuel Gauge, etc. • Connects to the engine compartment

  6. VI / Car Analogy – Block Diagram • The Block Diagram is like the engine compartment • Functional Blocks • Engine, alternator, battery, sensors, control modules, etc. • Wires, Tubes and Hoses • Connects everything together • Connects to driver’s cockpit

  7. LabVIEW History • 1986 - Premiered on a Macintosh • It mainly automated electronic instruments – oscilloscopes, multimeters, etc • 1992 - Ported to MS Windows • 1997 - Ported to a Real Time OS • Used by several Universities and Companies in various robotics competitions • VA Tech started using it in 2003 – They finished in 3rd place at the Urban Grand Challenge – late 2007 • 1999 - Robolab was introduced by LEGO & Tufts Univ • 2006 - Ported to run on a LEGO MINDSTORMS NXT • 2008/9 – LabVIEW FTC and FRC

  8. Other LabVIEW uses • Students • Students Projects with LEGO NXT • You’ll see it in many collegiate engineering & science programs • Create NXT-G blocks for your favorite FLL or FTC team* • Teachers • Project Lead the Way • The Infinity Project • Works with your Vernier Sensors • * You’ll need LabVIEW Version 7.1

  9. Other LabVIEW uses • Mentors from Industry • Instrument Control – GPIB, Etc • Industrial Automation – PLCs, HMI, SCADA • Machine Vision • Motion Control • Program FPGAs • Embedded Targets – ADI Blackfin, ARM 7 • Algorithm Engineering

  10. Early Virginia Tech (TORC) successes using LabVIEW in Autonomous System Projects Results of IGVC Competition 1996 –- Did not place 1997 –- 5th place 1998 –- Did not place 1999 –- 7th place 2000 –- 1st place 2001 –- 2nd place 2002 –- Did not place Introduction of LabVIEW 2003 -– 1st Place 2004 –- 1st Place 2005 –- 1st Place 2006 –- 1st Place 2007 –- 1st Place http://www.igvc.org/

  11. Resources • Books • LabVIEW for Everyone – Travis & Kring • Learning with LabVIEW – Robert Bishop • LabVIEW for LEGO MINDSTORMS NXT - Michael Gasperi • Websites • ni.com/first

  12. Logistics • LabVIEW for FRC • 2 DVDs ship with the Kit • You don’t need to load both • Disk 1 = LabVIEW • Disk 2 = Windriver C++ • Version 8.5.1 which is not the latest version • http://www.usfirst.org/frccontrolsystem • LabVIEW FRC software update - VERY IMPORTANT • Control System Manual • H/W and S/W Documentation • If you don’t have your kit – use LabVIEW Evaluation Copy

  13. Hands On Instructions • At first, please do what I do… don’t stray • Listen Carefully… • “left-click” vs. “right-click” • “click & release” vs. “click & hold” • Raise your hand … shout “Help!”

More Related