Exercise 1: Install PC Software & NXT Firmware

Slides:



Advertisements
Similar presentations
1 ZonicBook/618EZ-Analyst Resonance Testing & Data Recording.
Advertisements

ZonicBook/618EZ-TOMAS Rotating Machinery Monitoring and Analysis
PGA309 EVM Multi-Cal-Tools-V1.6a User’s Guide
1
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
BASIC SKILLS AND TOOLS USING ACCESS
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 4 Computing Platforms.
Processes and Operating Systems
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 1 Embedded Computing.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
Intro to NXT Programming
1chung Robofest 2005 RCX code Workshop Jan 29, 2005 CJ Chung.
Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
Objectives: Generate and describe sequences. Vocabulary:
UNITED NATIONS Shipment Details Report – January 2006.
RXQ Customer Enrollment Using a Registration Agent (RA) Process Flow Diagram (Move-In) Customer Supplier Customer authorizes Enrollment ( )
© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 5: Repetition and Loop Statements Problem Solving & Program.
FIGURE 8.1 Process and controller.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Properties of Real Numbers CommutativeAssociativeDistributive Identity + × Inverse + ×
Custom Statutory Programs Chapter 3. Customary Statutory Programs and Titles 3-2 Objectives Add Local Statutory Programs Create Customer Application For.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Rhesy S.ppt proRheo GmbH
1 Click here to End Presentation Software: Installation and Updates Internet Download CD release NACIS Updates.
Microsoft®.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Teacher/Mentor Institute Using the Cortex Chuck Powell.
REVIEW: Arthropod ID. 1. Name the subphylum. 2. Name the subphylum. 3. Name the order.
Intel VTune Yukai Hong Department of Mathematics National Taiwan University July 24, 2008.
LabVIEW Crash Course Presented by:.
PP Test Review Sections 6-1 to 6-6
EU market situation for eggs and poultry Management Committee 20 October 2011.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Lesson 2 Navigating LabVIEW
Operating Systems Operating Systems - Winter 2010 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
VOORBLAD.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Diego Torres LabVIEW Student Ambassador Fall 2011 ITESM CQ
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
CONTROL VISION Set-up. Step 1 Step 2 Step 3 Step 5 Step 4.
© 2012 National Heart Foundation of Australia. Slide 2.
1 How Do I Order From.decimal? Rev 05/04/09 This instructional training document may be updated at anytime. Please visit and check the.
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
Note to the teacher: Was 28. A. to B. you C. said D. on Note to the teacher: Make this slide correct answer be C and sound to be “said”. to said you on.
CS 240 Computer Programming 1
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
Analyzing Genes and Genomes
Types of selection structures
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
PSSA Preparation.
Essential Cell Biology
Immunobiology: The Immune System in Health & Disease Sixth Edition
Energy Generation in Mitochondria and Chlorplasts
Profile. 1.Open an Internet web browser and type into the web browser address bar. 2.You will see a web page similar to the one on.
1 Decidability continued…. 2 Theorem: For a recursively enumerable language it is undecidable to determine whether is finite Proof: We will reduce the.
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Coding for the FIRST Tech Challenge: RobotC
Presentation transcript:

Exercise 1: Install PC Software & NXT Firmware Install FTC Software 2010 CDs (LabVIEW + MINDSTORMS software + FTC Toolkit) Upgrade NXT firmware to 1.28 (LabVIEW >> Tools >> NXT Tools >> NXT Terminal >> Update Firmware)

LabVIEW: NXT & Tetrix Training & Exercises

Overview NXT Review NXT-G  LabVIEW General Programming LabVIEW (NXT) LabVIEW (Tetrix) Resources Learn More NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

NXT Hardware Inputs (to NXT Brick) Outputs (from NXT Brick) Touch Sensor Motor Sound Sensor Sound Light Sensor Display Ultrasonic Sensor Lamp (Legacy) Rotation Sensor Write Bluetooth Messages NXT Buttons (Write Files) Temperature Sensor (Legacy) Read Bluetooth Messages (Read Files) NEW: IR Sensor What happens in between?  Processing ….which is what I will talk about most of the time NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

NXT-G Environment Palettes Workspace Block Download Options Configuration Panel Help NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

LabVIEW Environment Constants (Inputs) VI (Block) Block Diagram Workspace Palettes Block Download Options Configuration Panel Help NXT Toolkit Palette (NXT : LabVIEW) Workspace : Block Diagram Configuration Panel : Block Diagram (constants) Palettes : Palettes Download Options : NXT Terminal Window Move Block : Move VI Help Window : Context Help Window Context Help Window NXT Terminal Window NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

General Programming Data Types Dataflow Loops Numeric Boolean String NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Data Types: Numeric Whole Numbers (0,2,-10, …) Decimal Numbers (2.2, 12.3, -15.1, …) Which takes up more memory? Will be creating most controls and constants by right-clicking and creating; therefore, not going into great detail here. NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Data Types: Boolean For Example: On/Off Yes/No True/False NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Data Types: String Grouping of Characters NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Data Types: Ring List of Predefined Items User Can Select NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Dataflow Sequence Beam Sequence Flow In/Out NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Loops Repeat Code NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

LabVIEW (NXT) Context Help Window User Documentation Constants Case Structures Variables Real Time User Interaction with Brick Program Download Options Debugging NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Context Help Window Help >> Show Context Help Terminals Required Recommended Optional NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

User Documentation Labels (attached) Free Labels (unattached) Right-click >> Show >> Label Free Labels (unattached) Double click NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Constants Configuration Panel Block Diagram NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Case Structures Switch (NXT-G) Case Structure NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Variables Variable (NXT-G) Local Variable NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Exercise 2: (NXT) Motor Task: Move robot in a square using Move Motor and Timing VIs Open Feedback Example NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Exercise 3: (NXT) Motor + Light Sensor Task: Move robot inside a square outlined by tape using Light Sensor Closed Feedback Example NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Real Time User Interaction with Brick Front Panel Controls Indicators Plotting Data NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Program Download Options NXT Terminal (Tools >> NXT Tools >> NXT Terminal) Compile and Download Compile, Download, and Run Debug Front Panel linked to running code Abort NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Exercise 4: (NXT) Motor + Light Sensor + Front Panel Task: Alter Exercise 3: (NXT) Motor + Light Sensor Put light detection threshold value on Front Panel Put turn degrees on Front Panel NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Debugging Debug (download option) Broken “Run” Arrow in LabVIEW Context Help NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Demo 3: Direct Commands Task: Scan for all Available NXT Bricks User Selects One Brick to Connect Query Brick for All of Its Files Remotely Start One Program Remotely Stop the Program How do you interact with a program running on the Brick? (debug mode, direct commands) Sometimes we don’t want to be inside the code itself. We want to work with it. How to get data off of the NXT onto your computer? (debug mode won’t let you – you’re peeking at the code on the Brick) Wii-Mote control example (NI Week 08) NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

LabVIEW (Tetrix) New Hardware Items Tetrix VIs Additional Need-to-know NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

New Tetrix Hardware Items DC Motors Motor Controller Servos Servo Controller Touch Mux Compass NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Tetrix VIs (formerly FTC) NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

FTC Tools

Additional Need-to-know NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Exercise 5: 4 Tetrix Motors + 2 NXT Motors Task: Move Robot in a Square Open/Close Claws Every 5 seconds NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Demo 4: ConstantSpeedGodz Task: Constant Speed Dead Zone Implementation Sound File Controller Station NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Resources “If You Forget Everything Else” Help Examples Big Differences NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

“If You Forget Everything Else” When in doubt, Right-click. Constants = Inputs (on Block Diagram) Controls = Inputs (on Front Panel) Indicators = Outputs (on Front Panel) Palettes (Right-click on Block Diagram, Front Panel) Context Help (“?”, CTRL + H, Help >> Show Context Help) NXT Terminal (Tools >> NXT Tools >> NXT Terminal) NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Help Right-click Context Help (“?”, CTRL + H, Help >> Show Context Help) LabVIEW Help (Help >> Search the LabVIEW Help… >> Search: “NXT”) PDF Manuals (C:\Program Files\National Instruments\LabVIEW 2009\manuals) NXT_Getting_Started NXT_Advanced_Programming_Guide FTC_Getting_Started LabVIEW for LEGO MINSTORMS NXT (by Michael Gasperi) www.ni.com/academic/mindstorms/ NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Examples NXT Tetrix www.ni.com >> Search: “nxt example” C:\Program Files\National Instruments\LabVIEW 2009\examples\FTC Toolkit NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Big Differences: NXT-G & LabVIEW Sequence Beam vs. Sequence Flow In/Out Front Panel Debug in Real Time (download option) Direct Commands Data Logging Arrays, Clusters Numeric, Boolean, String Manipulation Mathematical Processing … Questions? NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources

Learn More Tool Selection Window Arrays Clusters Write/Read to File Graphs Clusters Write/Read to File Flat Sequence Structure How to Remotely Control your NXT with LabVIEW Latching/Switching Booleans NXT-G  LV Gen. Prog. LV NXT LV Tetrix NXT Review Resources