### Labview Training for FRC with Lego Mindstorms

 Training Material for FIRST Robotics Competition (FRC) Labview Environment using LEGO Mindstorms kits as a getting started point.For people interested in the NXT-G language I highly recommend: Before starting the setup instructions are available in the The slides are currently an ongoing effort and improvements are being made regularly.A Great Overview of Labview by National Instruments:My condensed version of Labview for people who know how to program:Introduction to Robots and Programming1 session: Move a robot, Move a fixed distance (Math in Labview and unit conversion)Introduction to Boolean Logic and Decision Making in Labview2 sessions: Intro to more debugging and Logic with sensors and case structures: - If(and,or, not, equalty checks, Boundary checks) Then (do something: move, beep, turn off)Intermediate Logic and Decision Making(Section being updated for new version of FRC Labview, need to remove loop content)Introduction to Loops2 sessions: Intro to Loops - (stop conditions, iterations, shift registers, unconstrained versus constrained loop speed)Star Wars Theme Played with Loops, Math, Local Variables and Case StructuresIntro To Loops and Decision MakingIntroduction to and Using Finite State Machines4 sessions: Finite State MachinesIntroduction to PID Controls and Discrete Time Systems2 sessions: PID controlsDiscrete Time TrackingThe Lessons are more Units than individual lessons and vary greatly in length. Our team spent 4 sessions on Lessons1-2.5, went through lesson 3 in an hour and spent 4 weeks on Lesson 4. At some point the lessons will be edited into appropriate sections, but for now content creation and revision is top priority. Lesson 4 on Finite State Machines has a LOT of information but the material should, hopefully, be high school level.Feedback is Appreciated
SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser
ć
An equivalency description of Labview programming blocks for experienced programmers. Data Flow, Data Types, Variables, If/Then, While Loops, For Loops, Data Types, Sub-Vi's and Debug in the Labview environment  948k v. 3 Dec 17, 2011, 6:59 PM Brian Holford
ć
Introduction to the Labview environment with the NXT Toolkit and Mindstorms. Rotary Encoders briefly introduced   1447k v. 1 Aug 27, 2012, 6:02 PM Brian Holford
ć
Updated more concise version of Finite State Machines for the 2012 Labview FRC version  488k v. 1 Oct 8, 2012, 4:13 AM Brian Holford
ć
Introduction to Case Statements and Logic Event Driven Control. Displaying Text on NXT screen. Creating a Simple Robot that can be steered   487k v. 1 Oct 23, 2011, 9:17 AM Brian Holford
ć
Finite State Machines and NXT Program Debugging in Labview. Mealy vs Moore FSM, Abstraction and Black Box Design, Local Variables, State Diagrams, Case Sensitivity, default cases, Pressed Vs Released Vs Bumped. Speed Controllers, Up/Down Counters, Multi-Click Counters  1553k v. 5 Oct 8, 2012, 4:11 AM Brian Holford
ć
Introduction to Discrete Time Tracking Systems. Basic overview of Analog to Digital Conversion Concepts. An Edge detecting robot is developed. Measurements and Decisions must be made faster than the system components move. An additional section on tracking and Gain was added  1577k v. 6 Dec 15, 2011, 7:09 PM Brian Holford
ć
Labview for Mindstorms Loops, Logic, Decision Making, IF-THEN-ELSE, L/R Button Speed Controller, How fast the controller runs  566k v. 1 Oct 23, 2011, 9:04 AM Brian Holford
ć
Sound Controlled Robots and Continuous Sound Tracking Robots are developed step by step. Each major section is broken down and debugged as the program organically grows with errors and everything until a final? version is reached  2010k v. 3 Dec 15, 2011, 7:08 PM Brian Holford
ć
A supplemental Recap of the first two lessons with several important additions aimed at improving understanding. Unit Conversion, Comparison Logic, Loop Timing and Sample Rate, Displaying Text, Accuracy of Sensors, Boundary Conditions and Checking  953k v. 1 Oct 23, 2011, 9:11 AM Brian Holford
ć
Setting up the Environment... Advanced  239k v. 1 Dec 29, 2011, 1:50 PM Brian Holford
ć
Real World Timing demonstrated with Music, Unit Conversion Demonstrated with Beats per Minute to MilliSeconds per Beat, Loop iterations, Case Structures, Local Variables, Playing the Star Wars Intro on an Lego Mindstorm NXT  802k v. 3 Nov 2, 2012, 3:56 AM Brian Holford
ċ