Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.

Slides:



Advertisements
Similar presentations
Apple Pi Robotics Logic System and Programming Basics 1 1.
Advertisements

US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
Robot Code MVRT 2010 – 2011 Season. Robot code controls the robot Robot Main.vi –Calls all the smaller SubVis Rules of programming the robot –Be careful.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
BEST Robotic, Inc. easyC Team Training
Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Add and Use a Sensor & Autonomous For FIRST Robotics
Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.
1. 2 FRC 2010 Driver Station Doug Norman & Stephanie Brierty National Instruments January 8, 2010 Thanks to Joe Ross – Team 330.
Introduction to LabVIEW
Getting your Arduino to Work: Microsoft Windows 1.Install Arduino programming environment 2.Install Arduino Uno driver 3.Make sure you can download a program.
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
How to Use This Training Deck
TAX-AIDE Network Router Setup Network Printer Setups July SMT/TCS Training - Dallas1.
Lecture 13LabVIEW and GPIB LabVIEW (National Instruments) –Graphical program language –Widely used in academia (lab) and industry (R&D) General Purpose.
Infinity-project.org Engineering education for today’s classroom The Infinity Project SM LabVIEW for The Infinity Project.
Drivers Station 2010 Joe Ross Team /12/2009.
Getting started with Microsoft.NET Gadgeteer Comberton Village College Gadgeteer Club.
US First Kickoff 2013 Software Programming (And Control System) Daniel Kohn University of Memphis.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
US First Kickoff 2012 Software Programming (And Control System) Daniel Kohn University of Memphis.
Configuring the MagicInfo Pro Display
LabView Basics The Fighting Pi Controls Group. About LabView LabView is a highly adaptable programming GUI (Graphic User Interface) LabView compiles the.
Virtual Instrumentation With LabVIEW. Course Goals Understand the components of a Virtual Instrument Introduce LabVIEW and common LabVIEW functions Create.
Introduction to LabVIEW
Tutorial 11 Installing, Updating, and Configuring Software
Hands-On Virtual Computing
1999 Cabletron Systems. Wireless Networking RoamAbout RoamAbout Installation Installation/Configuration of: Network adapter card on a: Windows 95 system.
Each VI has 2 Windows Front Panel User Interface (UI) –Controls = Inputs –Indicators = Outputs Block Diagram Graphical Code –Data travels on wires from.
Weston Schreiber & Joshua Gabrielse Robotics Summer Training Programming #1: EasyC Basics.
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
The New FTC Platform (Connecting your legacy hardware)
2009 FRC Control System Software Overview Dave Doerr, Mentor, Team 67 November 15, 2008.
LabVIEW in 3 Hours. What is Test & Measurement? Keypad Functionality Keypad Functionality LCD Testing LCD Testing Sound Quality Sound Quality Acoustic.
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
BEST Robotic, Inc. easyC Breakout Session By: Guy Chetrit Programming With easyC September 15, Copyright © 2012 BEST Robotics, Inc. All rights reserved.
Part I MVRT 2011 – 2012 Season Introduction to LabVIEW.
1. 2 LabVIEW Intro, Basics, Tips, Tricks Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Creating, Editing, & Debugging a VI A.How to Create VIs B.How to Edit VIs C.How to Debug VIs You Will Learn:
1. 2 FRC 2010 Robot and Dashboard Projects Doug Norman & Stephanie Brierty National Instruments January 8, 2010.
Chapter 33 Troubleshooting Windows Errors. STOP Errors  When Microsoft Windows XP encounters a serious problem  And the operating system can't continue.
Part II Introduction to Robot Code. How to open a new FRC robot project 1.Open LabVIEW. 2.Click "FRC cRIO Robot Project" in the upper left section "New".
FRC Robot Programming 1.PID Continued 2.Downloading and Deploying Code 3.Program a 2012 Robot from Spec Basic code For FIRST Robotics.
Hands-on Teleoperation TARET Winter School Villach, February 5 –16, 2007 Darko Hercog.
Introduction to LabVIEW 8.5
An Overview of LabVIEW by: The Software User-Interface Group!
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
CS320n –Visual Programming More LabVIEW Foundations.
DHP Agenda: How to Access Web Interface of the DHP-1320 on Access Point Mode How to Access Web Interface of the DHP-1320 on Router Mode How to Change.
Envision Tutorial Horner APG, LLC July 18, Introduction The Cscape Remote Viewer allows remote interaction with the user interface on Horner OCS.
Session 11 Intro to FRC API.
Cr yptonite robotics labview beta findings December 19, 2015.
HTC Android Projector User Guide v Agenda Setup and Demo Environment Launch Projector Installer Launch Projector Application Q&A.
HOW TO INSTALL WINDOWS 7? This step-by-step guide demonstrates how to install Windows 7 Ultimate. The guide is similar for other versions of Windows 7.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Mechanical Components and Programming Ken Youssefi Introduction to Engineering – E10 1.
VAFIRST LabVIEW Workshop 11/19/11 Presenters: Marin Kobin & Patrick Foley.
Programming and Debugging with the Dragon and JTAG Many thanks to Dr. James Hawthorne for evaluating the Dragon system and providing the core content for.
/Reimage-Repair-Tool/ /u/6/b/ /channel/UCo47kkB-idAA-IMJSp0p7tQ /alexwaston14/reimage-system-repair/
After Construction Name: Per #:.
Programming and Debugging with the Dragon and JTAG
Electronics II Physics 3620 / 6620
Training Module Introduction to the TB9100/P25 CG/P25 TAG Customer Service Software (CSS) Describes Release 3.95 for Trunked TB9100 and P25 TAG Release.
How to install and manage exchange server 2010 OP Saklani.
Introduction to Programing the Cortex for BEST
Presentation transcript:

Driver Station MVRT 2009 – 2010 Season

Add information Breadboard Classmate PC USB Hub Joysticks Stop Button

Classmate PC –Accounts Developer – Like regular PC Account –Administrator Driver –Driver Station software can be installed on other computers –2 USB ports –1 Ethernet –16 gigabyte hard drive –Downsides: Very small key size – making it very difficult to code Relatively slow –Advantages: First provides a charger during the match for the classmate during competition (as of season)

Stop Button Connected by the USB hub to the computer Acts as an Emergency Stop button –In general the program can not be run without connecting the stop button Although you can bypass this by switching to Diagnostics tab, double- clicking on the red LED labeled Stop Button, and acknowledging the message –Press Ctrl-Alt-Enter Have to reboot the cRio after pressing the stop button Reboot Robot button no longer works after Stop button is pressed, so manual reboot is needed. Sometimes it does not work when plugged into the USB hub

Cypress FirstTouch PSoC 3 A board you can attach to a standard breadboard that allows you to use digital and analog devices with your driver station. Need to install PSoC programmer in order to install the firmware on the board Need to both install firmware (a hex file) onto the board and a USB interface image for Labview in order to get the FirstTouch running. Only Digital and Analog Pins work with the Dashboard, other functions such as the accelerometer are disabled.

Driver station

Dashboard Shows the camera output Shows the communication with some of the inputs and outputs including the solenoid, PWM

Dashboard Customizing Able to customize dashboard by editing the dashboard project

Operations Tab Shows the battery's volts on the robot Shows communication with the robot Shows whether code uploaded Shows whether stop button is connected Able to choose between teleoperated, autonomous and practice mode Enable and disable buttons –Even if you are in a different window, the space bar will enable or disable the robot Has elapsed time since you enabled the robot Shows PC battery Can choose which team you are (red or blue)

Diagnostics Tab Shows a detailed report of the communication with each of the connected devices –Detailed error log Helpful for debugging code Button for rebooting the cRio

Setup Tab Set team number –Sets IP address by itself Allows you to set variables in a simulated match –Button to run practice match is in operation tab

I/O Tab Simulates digital inputs and outputs Simulates analog inputs and outputs

2009 – 2010 Season Labview Changes 8.6

What is LabVIEW? Graphical data flow language –Easy drag-and-drop functions Used by scientists and engineers Uses VI’s (Virtual Instruments), which comprise of a block diagram and a front panel, to manipulate data.

Changes in LabVIEW Examples Update Robot Framework Global Variable Changes –Initializing global variables –Inputting global variables SubVI Compatibility LabVIEW diff LabVIEW Clean up

Examples Updated Analog Input Example The examples have directions on how to wire the device.

Robot Framework LabVIEW 8.5 has Basic and Advanced frameworks when creating a new project Now we only have one framework, which is similar to last year’s Advanced Framework

Initializing Global Variables DevRefs initialized DevRefs grouped into a bundle bundle goes to the global variable ‘Robot Data’ Advantages Easier to keep track of where variables change NewOld DevRefs initialized DevRefs become global variables (becomes part of Refnum registry) Advantages neater and cleaner easier

Inputting Global Variables input ‘Robot Data’ unbundled ‘Robot Data’ to access DevRefs Advantages Easier to keep track of where variables change NewOld input global variables Advantages neater and cleaner simpler

SubVI Compatibility SubVIs made in LabVIEW 8.5 can not be used directly in LabVIEW 8.6 To use the 8.5 SubVIs –Open the old SubVI in LabVIEW 8.6 –Save the SubVI as an 8.6 file –Make sure the DevRef names match If you do not transfer the SubVIs correctly, it gives an error message while running

LabVIEW Diff

What is LabVIEW Diff LabVIEW 8.6 includes a new feature for FRC teams called Diff LabVIEW Diff allows us to compare two Vis and find out all the differences This can be very useful in comparing LabVIEW 8.6 default code with LabVIEW 8.5 default code to see what has changed It can also be used to see the differences between different versions of your own code.

To start using LabVIEW Diff, open any VI.

Start by pressing the Tools tab.

Find Compare under Tools.

The first choice, Compare VIs, only compares VIs within a project.

The second option, Compare VI Hierarchies, compares any two VIs.

This is what you will see when you first press Compare VI Hierarchies. Pick what attributes of the Vis you want to compare here.

Then press Browse Files and navigate to the two VIs you want.

Press Compare Hierarchies.

This is what it looks like after pressing Compare HierarchiesThe symbols seen here show what is different. This shows the differences in writing. Double click on any of the VIs under the VIs in Hierarchies

After double clicking one of the VIs, this screen appears showing the differences and details.

After double clicking on any of the differences, LabVIEW highlights the differences graphically.

LabVIEW Clean Up

Clean Up Feature In LabVIEW 8.6 the clean up feature allows us to clean up the whole block diagram with the press a button. The shortcut is Ctrl-U to clean the block diagram. Another shortcut is the broom icon This can be extremely useful when cleaning messy code.

This an example of messy code.

First we go to Edit tab and under it we click Clean Up Diagram.Another way to do this is to press Ctrl-U or click the broom icon.

This is the cleaned up version.

When you press clean up diagram again it shows another way it can be arranged Take notice to the position of the comments in this code

This another way it can be arrangedComments are kept near the things they start with

Thanks to... Beach Bots, Team 330 FIRST