SlideShare a Scribd company logo
1 of 34
FIRSTFare 2010LabVIEW Overview Dennis C. Erickson ~ Senior Mentor for Teams 1510 and 2898 Daniel Bramblett ~ Team 1510 Amy Wiegand ~ Team 2915 1
Introduction Working with National Instrument’s Hardware and Software Specifically: Software ~ LabVIEW Hardware ~ cRIO 2
Introduction LabVIEW VI = Virtual Instrument EW = Engineering Workstation VI = Virtual Instrument or in other languages “Routine”, SubVI = Subroutine 3
Why LabVIEW? ,[object Object]
Dataflow (All inputs must be updated before VI – Virtual Instrument – executes)
Self Documenting (You know what the code does)4
Why LabVIEW? ,[object Object]
Advanced set of diagnostic tools; probes, execution highlighting, error reporting, ability to surround the code with a “virtual world simulation environment” for testing.5
Why LabVIEW? ,[object Object]
Automatically handles multiple cores  and threads
Easily compiles to RT (Real-time) Operating Systems and FPGA (Field Programmable Gate Arrays) used in the cRIO processor6
Why Do More Than Necessary to Win the Contest? While it is entirely possible to win a contest with a robot that is “bare bones” the better goal is to learn how to do things along the way that may or may not be used. 7
The FRC Topology 8
The SoftwareUsed to Make Stuff Move This section offers a brief short course on the language LabVIEW 9
To start a new project Launch LabVIEW to create a new project 10
To start a new project Name your project . You might for example use your team name and year in the name: i.e., “Team 1510 for 2010 Robot Project” Be sure that you enter your team IP in the following format: 10.15.10.02 11
To start a new project Adding a VI to your project: If its new, then right-click to “VI” and select and name it. If adding an existing one select the menu item “Add”. 12
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 13 Numerical Controls and Indicators
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 14 Booleans
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 15 Strings and Paths
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 16 Arrays, Clusters, Matrices and Dialog Boxes
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 17 List Boxes, Tables and Trees
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 18 2D, 3D Digital Charts and Graphs and Special Plots
LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 19 Rings and Enums
LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 20 Structures
LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 21 Arrays
LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 22 Structures, Classes and Variants
LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 23 Numerics, Booleans and Files
LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 24 Timing, Dialog Boxes, Waveforms, etc, etc Hundreds of other functions
An Example of Virtual Testing Testing the Joystick Power Function VI 25 Task:  Test the VI with 1000 simulated Joystick positions from 0 to +1 to 0 to -1 (White Line) and create 9 plots with the following function: Plotn = (motor speed)m Where: Plotn = a series of plots (9 total) Motor speed = voltage input to the motor (from 1 to -1) m = power function (use to alter the forward sensitivity of the Joystick)
The HardwareUsed to Move Stuff This discussion touches on the following principle areas: ,[object Object]
The Sensors, Motors and Actuators that can be used
The DS Drive Station (Link from the User to the robot’s brain)26
cRIO Hardware cRIO – Compact Real-time Input/Output A PAC (Programmable Automation Controller) which is an industrial controller that is used in advanced systems incorporating software capabilities such as control, communication, data logging, and signal processing requiring rugged hardware performing logic, motion, process control, and vision. For FIRST applications, ideal for robot building. 27 A fully populated cRIO example

More Related Content

What's hot

Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
VishwasJangra
 
Introduction to simulink (1)
Introduction to simulink (1)Introduction to simulink (1)
Introduction to simulink (1)
Memo Love
 
Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
Raymundo Vazquez
 
How to work on Matlab.......
How to work on Matlab.......How to work on Matlab.......
How to work on Matlab.......
biinoida
 

What's hot (19)

Lesson 3.1 variables and constant
Lesson 3.1 variables and constantLesson 3.1 variables and constant
Lesson 3.1 variables and constant
 
Simulink Projects Research Help
Simulink Projects Research HelpSimulink Projects Research Help
Simulink Projects Research Help
 
Forelasning4
Forelasning4Forelasning4
Forelasning4
 
Csd01
Csd01Csd01
Csd01
 
Lesson 10
Lesson 10Lesson 10
Lesson 10
 
Lab view introduction
Lab view introductionLab view introduction
Lab view introduction
 
Introduction to simulink (1)
Introduction to simulink (1)Introduction to simulink (1)
Introduction to simulink (1)
 
Lesson 1 navigating lab view
Lesson 1   navigating lab viewLesson 1   navigating lab view
Lesson 1 navigating lab view
 
Lecture 06 assembler
Lecture 06 assemblerLecture 06 assembler
Lecture 06 assembler
 
A d swincc15e
A d swincc15eA d swincc15e
A d swincc15e
 
Dsp Datapath
Dsp DatapathDsp Datapath
Dsp Datapath
 
Simulink
SimulinkSimulink
Simulink
 
Mp lab manual
Mp lab manualMp lab manual
Mp lab manual
 
8051 programming in c
8051 programming in c8051 programming in c
8051 programming in c
 
Matlab simulink introduction
Matlab simulink introductionMatlab simulink introduction
Matlab simulink introduction
 
How to work on Matlab.......
How to work on Matlab.......How to work on Matlab.......
How to work on Matlab.......
 
C programming part2
C programming part2C programming part2
C programming part2
 
Using matlab simulink
Using matlab simulinkUsing matlab simulink
Using matlab simulink
 
9781285852744 ppt ch08
9781285852744 ppt ch089781285852744 ppt ch08
9781285852744 ppt ch08
 

Similar to First fare 2010 lab-view overview

First fare 2010 lab-view creating custom dashboards
First fare 2010 lab-view creating custom dashboardsFirst fare 2010 lab-view creating custom dashboards
First fare 2010 lab-view creating custom dashboards
Oregon FIRST Robotics
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview Introduction
Rashmi
 
Debugging and Fixing Errors in Published Instrument
Debugging and Fixing Errors in Published InstrumentDebugging and Fixing Errors in Published Instrument
Debugging and Fixing Errors in Published Instrument
Bradford Hull
 
Lesson_1-4.ppt
Lesson_1-4.pptLesson_1-4.ppt
Lesson_1-4.ppt
MudassarRafiq4
 
Report 2 microp.(microprocessor)
Report 2 microp.(microprocessor)Report 2 microp.(microprocessor)
Report 2 microp.(microprocessor)
Ronza Sameer
 

Similar to First fare 2010 lab-view overview (20)

Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.
 
Wmc lab (1)
Wmc lab (1)Wmc lab (1)
Wmc lab (1)
 
38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx38180007 Sarish Wadkar.pptx
38180007 Sarish Wadkar.pptx
 
38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf38180007 Sarish Wadkar.pdf
38180007 Sarish Wadkar.pdf
 
Design the implementation of Forward Dynamic for PUMA560.
Design the implementation of Forward Dynamic for PUMA560.Design the implementation of Forward Dynamic for PUMA560.
Design the implementation of Forward Dynamic for PUMA560.
 
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdf1.1 LabVIEW Step By Step Guide Final.pdf.pdf
1.1 LabVIEW Step By Step Guide Final.pdf.pdf
 
Virtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.pptVirtual Instrumentation & LabVIEW-lini.ppt
Virtual Instrumentation & LabVIEW-lini.ppt
 
First fare 2010 lab-view creating custom dashboards
First fare 2010 lab-view creating custom dashboardsFirst fare 2010 lab-view creating custom dashboards
First fare 2010 lab-view creating custom dashboards
 
Innoslate 4.5 and Sopatra
Innoslate 4.5 and SopatraInnoslate 4.5 and Sopatra
Innoslate 4.5 and Sopatra
 
Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)Virtual instrumentation (LabVIEW)
Virtual instrumentation (LabVIEW)
 
LabVIEW lecture handout by Prof. d k chaturvedi
LabVIEW lecture handout by Prof. d k chaturvediLabVIEW lecture handout by Prof. d k chaturvedi
LabVIEW lecture handout by Prof. d k chaturvedi
 
Labview Introduction
Labview IntroductionLabview Introduction
Labview Introduction
 
Debugging and Fixing Errors in Published Instrument
Debugging and Fixing Errors in Published InstrumentDebugging and Fixing Errors in Published Instrument
Debugging and Fixing Errors in Published Instrument
 
process control instrumentation lab and labview report
process control  instrumentation lab and labview  reportprocess control  instrumentation lab and labview  report
process control instrumentation lab and labview report
 
Lesson_1-4.ppt
Lesson_1-4.pptLesson_1-4.ppt
Lesson_1-4.ppt
 
Sample instrument using lab view abhijeet agarwal-1
Sample instrument using lab view  abhijeet agarwal-1Sample instrument using lab view  abhijeet agarwal-1
Sample instrument using lab view abhijeet agarwal-1
 
Lab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).pptLab-Lecture3-Intro-to-LabView(1).ppt
Lab-Lecture3-Intro-to-LabView(1).ppt
 
ECET 380 Entire Course NEW
ECET 380 Entire Course NEWECET 380 Entire Course NEW
ECET 380 Entire Course NEW
 
Design the implementation of Robotic Simulator: Goalkeeper.
Design the implementation of Robotic Simulator: Goalkeeper.Design the implementation of Robotic Simulator: Goalkeeper.
Design the implementation of Robotic Simulator: Goalkeeper.
 
Report 2 microp.(microprocessor)
Report 2 microp.(microprocessor)Report 2 microp.(microprocessor)
Report 2 microp.(microprocessor)
 

More from Oregon FIRST Robotics

Oregon FIRST PNW Championship Poster 2014 3
Oregon FIRST PNW Championship Poster 2014 3Oregon FIRST PNW Championship Poster 2014 3
Oregon FIRST PNW Championship Poster 2014 3
Oregon FIRST Robotics
 
Oregon FIRST PNW Championship Poster 2014 2
Oregon FIRST PNW Championship Poster 2014 2Oregon FIRST PNW Championship Poster 2014 2
Oregon FIRST PNW Championship Poster 2014 2
Oregon FIRST Robotics
 
Oregon FIRST PNW Championship Poster 2014 1
Oregon FIRST PNW Championship Poster 2014 1Oregon FIRST PNW Championship Poster 2014 1
Oregon FIRST PNW Championship Poster 2014 1
Oregon FIRST Robotics
 
Oregon FIRST PNW Championship Poster 2014 4
Oregon FIRST PNW Championship Poster 2014 4Oregon FIRST PNW Championship Poster 2014 4
Oregon FIRST PNW Championship Poster 2014 4
Oregon FIRST Robotics
 
First fare 2013 business plan presentation
First fare 2013   business plan presentationFirst fare 2013   business plan presentation
First fare 2013 business plan presentation
Oregon FIRST Robotics
 
First fare 2013 competitive analysis presentation
First fare 2013   competitive analysis presentationFirst fare 2013   competitive analysis presentation
First fare 2013 competitive analysis presentation
Oregon FIRST Robotics
 
First fare 2013 website design for frc teams
First fare 2013   website design for frc teamsFirst fare 2013   website design for frc teams
First fare 2013 website design for frc teams
Oregon FIRST Robotics
 
FIRSTFare 2013 overview of electronics-2014
FIRSTFare 2013   overview of electronics-2014FIRSTFare 2013   overview of electronics-2014
FIRSTFare 2013 overview of electronics-2014
Oregon FIRST Robotics
 
First fare 2013 manipulators firstfare 2013
First fare 2013   manipulators firstfare 2013First fare 2013   manipulators firstfare 2013
First fare 2013 manipulators firstfare 2013
Oregon FIRST Robotics
 
First fare 2013 district model overview 2014
First fare 2013   district model overview 2014First fare 2013   district model overview 2014
First fare 2013 district model overview 2014
Oregon FIRST Robotics
 
First fare 2013 crowdfunding 101 (beginner) with notes
First fare 2013   crowdfunding 101 (beginner) with notesFirst fare 2013   crowdfunding 101 (beginner) with notes
First fare 2013 crowdfunding 101 (beginner) with notes
Oregon FIRST Robotics
 
2013 FRC Autodesk Oregon Regional -- All you need to know webinar
2013 FRC Autodesk Oregon Regional -- All you need to know webinar2013 FRC Autodesk Oregon Regional -- All you need to know webinar
2013 FRC Autodesk Oregon Regional -- All you need to know webinar
Oregon FIRST Robotics
 
2013 Autodesk Oregon Regional Poster.11x17
2013 Autodesk Oregon Regional Poster.11x172013 Autodesk Oregon Regional Poster.11x17
2013 Autodesk Oregon Regional Poster.11x17
Oregon FIRST Robotics
 
2013 Autodesk Oregon Regional Poster - 4
2013 Autodesk Oregon Regional Poster - 42013 Autodesk Oregon Regional Poster - 4
2013 Autodesk Oregon Regional Poster - 4
Oregon FIRST Robotics
 
2013 Autodesk Oregon Regional Poster - 3
2013 Autodesk Oregon Regional Poster - 32013 Autodesk Oregon Regional Poster - 3
2013 Autodesk Oregon Regional Poster - 3
Oregon FIRST Robotics
 

More from Oregon FIRST Robotics (20)

Oregon FIRST PNW Championship Poster 2014 3
Oregon FIRST PNW Championship Poster 2014 3Oregon FIRST PNW Championship Poster 2014 3
Oregon FIRST PNW Championship Poster 2014 3
 
Oregon FIRST PNW Championship Poster 2014 2
Oregon FIRST PNW Championship Poster 2014 2Oregon FIRST PNW Championship Poster 2014 2
Oregon FIRST PNW Championship Poster 2014 2
 
Oregon FIRST PNW Championship Poster 2014 1
Oregon FIRST PNW Championship Poster 2014 1Oregon FIRST PNW Championship Poster 2014 1
Oregon FIRST PNW Championship Poster 2014 1
 
Oregon FIRST PNW Championship Poster 2014 4
Oregon FIRST PNW Championship Poster 2014 4Oregon FIRST PNW Championship Poster 2014 4
Oregon FIRST PNW Championship Poster 2014 4
 
First fare 2013 business plan presentation
First fare 2013   business plan presentationFirst fare 2013   business plan presentation
First fare 2013 business plan presentation
 
First fare 2013 competitive analysis presentation
First fare 2013   competitive analysis presentationFirst fare 2013   competitive analysis presentation
First fare 2013 competitive analysis presentation
 
First fare 2013 website design for frc teams
First fare 2013   website design for frc teamsFirst fare 2013   website design for frc teams
First fare 2013 website design for frc teams
 
First fare 2013 pneumatics 2013
First fare 2013   pneumatics 2013First fare 2013   pneumatics 2013
First fare 2013 pneumatics 2013
 
FIRSTFare 2013 overview of electronics-2014
FIRSTFare 2013   overview of electronics-2014FIRSTFare 2013   overview of electronics-2014
FIRSTFare 2013 overview of electronics-2014
 
First fare 2013 manipulators firstfare 2013
First fare 2013   manipulators firstfare 2013First fare 2013   manipulators firstfare 2013
First fare 2013 manipulators firstfare 2013
 
First fare 2013 district model overview 2014
First fare 2013   district model overview 2014First fare 2013   district model overview 2014
First fare 2013 district model overview 2014
 
First fare 2013 crowdfunding 101 (beginner) with notes
First fare 2013   crowdfunding 101 (beginner) with notesFirst fare 2013   crowdfunding 101 (beginner) with notes
First fare 2013 crowdfunding 101 (beginner) with notes
 
First fare 2013 basic-labview
First fare 2013   basic-labviewFirst fare 2013   basic-labview
First fare 2013 basic-labview
 
2013 Oregon Dept. of Education Grant Overview for FIRST Teams
2013 Oregon Dept. of Education Grant Overview for FIRST Teams2013 Oregon Dept. of Education Grant Overview for FIRST Teams
2013 Oregon Dept. of Education Grant Overview for FIRST Teams
 
2013 Oregon Dept. of Education FIRST Grant Overview
2013 Oregon Dept. of Education FIRST Grant Overview 2013 Oregon Dept. of Education FIRST Grant Overview
2013 Oregon Dept. of Education FIRST Grant Overview
 
FIRST Robotics Oregon Dept Of Education Grants - 2013
FIRST Robotics Oregon Dept Of Education Grants - 2013FIRST Robotics Oregon Dept Of Education Grants - 2013
FIRST Robotics Oregon Dept Of Education Grants - 2013
 
2013 FRC Autodesk Oregon Regional -- All you need to know webinar
2013 FRC Autodesk Oregon Regional -- All you need to know webinar2013 FRC Autodesk Oregon Regional -- All you need to know webinar
2013 FRC Autodesk Oregon Regional -- All you need to know webinar
 
2013 Autodesk Oregon Regional Poster.11x17
2013 Autodesk Oregon Regional Poster.11x172013 Autodesk Oregon Regional Poster.11x17
2013 Autodesk Oregon Regional Poster.11x17
 
2013 Autodesk Oregon Regional Poster - 4
2013 Autodesk Oregon Regional Poster - 42013 Autodesk Oregon Regional Poster - 4
2013 Autodesk Oregon Regional Poster - 4
 
2013 Autodesk Oregon Regional Poster - 3
2013 Autodesk Oregon Regional Poster - 32013 Autodesk Oregon Regional Poster - 3
2013 Autodesk Oregon Regional Poster - 3
 

Recently uploaded

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

First fare 2010 lab-view overview

  • 1. FIRSTFare 2010LabVIEW Overview Dennis C. Erickson ~ Senior Mentor for Teams 1510 and 2898 Daniel Bramblett ~ Team 1510 Amy Wiegand ~ Team 2915 1
  • 2. Introduction Working with National Instrument’s Hardware and Software Specifically: Software ~ LabVIEW Hardware ~ cRIO 2
  • 3. Introduction LabVIEW VI = Virtual Instrument EW = Engineering Workstation VI = Virtual Instrument or in other languages “Routine”, SubVI = Subroutine 3
  • 4.
  • 5. Dataflow (All inputs must be updated before VI – Virtual Instrument – executes)
  • 6. Self Documenting (You know what the code does)4
  • 7.
  • 8. Advanced set of diagnostic tools; probes, execution highlighting, error reporting, ability to surround the code with a “virtual world simulation environment” for testing.5
  • 9.
  • 10. Automatically handles multiple cores and threads
  • 11. Easily compiles to RT (Real-time) Operating Systems and FPGA (Field Programmable Gate Arrays) used in the cRIO processor6
  • 12. Why Do More Than Necessary to Win the Contest? While it is entirely possible to win a contest with a robot that is “bare bones” the better goal is to learn how to do things along the way that may or may not be used. 7
  • 14. The SoftwareUsed to Make Stuff Move This section offers a brief short course on the language LabVIEW 9
  • 15. To start a new project Launch LabVIEW to create a new project 10
  • 16. To start a new project Name your project . You might for example use your team name and year in the name: i.e., “Team 1510 for 2010 Robot Project” Be sure that you enter your team IP in the following format: 10.15.10.02 11
  • 17. To start a new project Adding a VI to your project: If its new, then right-click to “VI” and select and name it. If adding an existing one select the menu item “Add”. 12
  • 18. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 13 Numerical Controls and Indicators
  • 19. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 14 Booleans
  • 20. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 15 Strings and Paths
  • 21. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 16 Arrays, Clusters, Matrices and Dialog Boxes
  • 22. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 17 List Boxes, Tables and Trees
  • 23. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 18 2D, 3D Digital Charts and Graphs and Special Plots
  • 24. LabVIEW Functions - Front Panel Some example controls and indicators for the Front Panel 19 Rings and Enums
  • 25. LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 20 Structures
  • 26. LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 21 Arrays
  • 27. LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 22 Structures, Classes and Variants
  • 28. LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 23 Numerics, Booleans and Files
  • 29. LabVIEW Functions - Diagram Some example controls and indicators for the Diagram 24 Timing, Dialog Boxes, Waveforms, etc, etc Hundreds of other functions
  • 30. An Example of Virtual Testing Testing the Joystick Power Function VI 25 Task: Test the VI with 1000 simulated Joystick positions from 0 to +1 to 0 to -1 (White Line) and create 9 plots with the following function: Plotn = (motor speed)m Where: Plotn = a series of plots (9 total) Motor speed = voltage input to the motor (from 1 to -1) m = power function (use to alter the forward sensitivity of the Joystick)
  • 31.
  • 32. The Sensors, Motors and Actuators that can be used
  • 33. The DS Drive Station (Link from the User to the robot’s brain)26
  • 34. cRIO Hardware cRIO – Compact Real-time Input/Output A PAC (Programmable Automation Controller) which is an industrial controller that is used in advanced systems incorporating software capabilities such as control, communication, data logging, and signal processing requiring rugged hardware performing logic, motion, process control, and vision. For FIRST applications, ideal for robot building. 27 A fully populated cRIO example
  • 35. cRIO Hardware Real-time operating system 28 cRIO connected to a Laptop FPGA – Field Programmable Gate Array located under the cRIO chassis
  • 36. How to Set up a Virtual Test Environment The following Example code shows how to create an environment to test and calibrate VI modules. In this case we are testing the Camera Servo motors 29 Next run the test in a While loop. Note the Loop Sweep constant which defines the loop cycle (20ms). Here the loop is stopped using the Stop Test? command First Initialize the test (note the “Data Dependency” wire) Finally End the test by closing all references, etc. Again note the Data Dependency and use of a Frame structure as the SubVI has no wired input to use
  • 37. State Diagrams The following slides start with a State Chart to show what the State Diagram will do. The next slides show the State Diagram created. 30
  • 38. State Diagrams 31 State diagrams are extremely useful in creating small or large applications. Since LabVIEW is a DataFlow language, this approach adds to the robustness of the application The Application starts by selecting the Initialize Test State (case). Note that we check for errors and if the Stop Test? Button is pressed. Note that the Enum (far left constant control) has 3 possible states; Initialize Test, Run Test and End Test
  • 39. State Diagrams 32 These slides show a typical State Diagram that tests camera servos. Note the inputs from the joystick and a smoothing control to test filtering. Next if no errors, run the While loop until an error happens or the Stop Test? Button is pressed the go to the next State
  • 40. State Diagrams One of the interesting features of the State Diagram is confining the application code to one screen, thus self documenting code 33 Finally, there has been an error or the Stop Test? Button has been pressed so end the test by closing references, etc. Note that now the Boolean constant is now TRUE which stops the loop
  • 41. Questions? Dennis C. Erickson - dcerickson1@comcast.net