LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.

Slides:



Advertisements
Similar presentations
Unit 4 - I Said Stop!. Introduction New Topics Timing Parallelism Sequence of Operations New Features NXT terminals New Functions Wait For.
Advertisements

Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
EducateNXT Robot Sumo. EducateNXT What is Sumo? Sumo is a competitive contact sport where a wrestler (rikishi) attempts to force another wrestler out.
Exercise 1: Install PC Software & NXT Firmware
Based on LabVIEW 2011 Student Edition
TE Sessions Supported by: Basic Concepts of Programming November 3, 2012.
Dublin Robotics Boosters NXT-Step Programming Workshop.
LabView Basics.
In this presentation you will:
VEX and Robot C Chris Patterson Presented by Modified by J. Andazola.
Robot Programming. Programming Behaviors Behaviors describe the actions and decisions of your robot.
From the NXT top menu Connect desired hardware as indicated Enter a command in the box indicated from the menu provided Repeat for all 5 boxes.
Loops A.About While Loops B.About For Loops C.About Case structures D.Sequence Structures E.Formula Node You Will Learn:
CS320n –Visual Programming LabVIEW Control Structures.
Introduction to LabVIEW Seth Price Department of Chemical Engineering New Mexico Tech Rev. 10/5/14.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Testbed: Exercises.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
Getting Started! Lego Mindstorms Program NXT 2.0.
ADVANCED EV3 PROGRAMMING LESSON
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
LabVIEW – 2 Windows ► Front Panel- User Interface ► Block Diagram- Programming View.
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Obstacle Detection Introductory Presentation. Opening Activity If you were blindfolded, what senses would you use to find things in the room?
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
Sentry System Multiple Sensors
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Design of Bio-Medical Virtual Instrumentation Tutorial 2.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
Program Flow LabVIEW Robotics Fundamentals. Unintuition You know what this program does… So what does this one do? Inserted code.
While and If-Else Loops ROBOTC Software. While Loops While loop is a structure within ROBOTC Allows a section of code to be repeated as long as a certain.
Oregon Robotics Tournament and Outreach Program RCX Basics.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
Programming with LabVIEW Intro to programming and.
Mindstorm NXT-G Introduction Towson University Robotics.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
VEX and Robot C Chris Patterson Frisco ISD CTE Center Presented by.
Flow Control in Imperative Languages. Activity 1 What does the word: ‘Imperative’ mean? 5mins …having CONTROL and ORDER!
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Forward Until Near Stop when near a wall.
Decision Making: while loops and Boolean Logic. While Loops A while loop is a structure within ROBOTC which allows a section of code to be repeated as.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 4.
NXT Mindstorms Kit Programming
Introduction To Programming with LEGO NXT 2
Introduction to LabVIEW
Introductory Presentation
Module F: Presentation Understanding Robot Fundamentals
Introductory Presentation
Introductory Presentation
Loops with Multiple Sensor Controls
Forward Until Touch Robot goes forward until it hits a wall.
Line Following Behavior
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 5.
Algorithms Take a look at the worksheet. What do we already know, and what will we have to learn in this term?
Introductory Presentation
Obstacle Detection.
Lego MINDSTORMS EV3.
Oregon Robotics Tournament and Outreach Program
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals

Data Flow Many code objects in LabVIEW generate data – Constants always put out one “constant” value – Read Sensor commands send out sensor values – Operations like “Divide” send out result values Data flows through wires Value = 75 Value = Sound Sensor Reading Value = Ultrasonic Sensor Reading divided by 2

Data Flow Data is used by commands and Structures Motor power set to 75 Motor power set to Sound Sensor value Motor power set to Sound Sensor value divided by 2

Data Flow Data is used by commands and Structures Repeats 8 times If Touch Sensor is Pressed, run this “True” pane code Repeats until Port C Rotations exceed 1800 degrees

Front Panel Data The Front Panel can provide and display data – Controls generate values that can be used in code – Indicators display values in different ways

Data Flow Every command in LabVIEW runs as soon as all its “incoming” data is ready The NXT Pink Wire is actually just a creative use of Data Flow to create sequences of commands that have to wait for one another

Data Flow: Parallelism Every command in LabVIEW runs as soon as all its “incoming” data is ready – This even lets multiple code strands run at once!

Controlling Program Flow Structures can control when commands run – Sequence Structures force groups of commands to run in a certain order

Controlling Program Flow Structures can control when commands run – Case Structures choose alternative sets of code to run, based on an input value

Controlling Program Flow Structures can control when commands run – For Loops repeat code a set number of times

Controlling Program Flow Structures can control when commands run – While Loops repeat code until a wired Stop condition is reached

Control Loops Control Loops are a strategic arrangement of a Case and a Loop – Repeats a decision quickly so it looks “continuous”

Shift Registers Shift Registers pass values across loop cycles – This allows values to “accumulate” or “count up”