common rookie blunders

25
Common Rookie Blunders Kelvin Lin Team 4001 Programmer Yoan Holder Team 4001 Electrician

Upload: shanae

Post on 25-Feb-2016

51 views

Category:

Documents


0 download

DESCRIPTION

Common Rookie Blunders. Kelvin Lin Team 4001 Programmer. Yoan Holder Team 4001 Electrician. Agenda. The Basics Program Installation Router Setup Driver Station Setup cRIO Setup Common LabVIEW Blunders Your first LabVIEW Program LabVIEW Real-Time Simulation - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Common Rookie Blunders

Common Rookie Blunders

Kelvin LinTeam 4001 Programmer

Yoan HolderTeam 4001 Electrician

Page 2: Common Rookie Blunders

Agenda1. The Basics

I. Program InstallationII. Router SetupIII. Driver Station SetupIV. cRIO Setup

2. Common LabVIEW BlundersI. Your first LabVIEW ProgramII. LabVIEW Real-Time SimulationIII. Building and Deploying Your Code

3. Q&A4. Contact us

Page 3: Common Rookie Blunders

Part 1: Getting Started

Page 4: Common Rookie Blunders

Installing theRequired Programmes

Page 5: Common Rookie Blunders

1. Install LabVIEW from the installer CD• The serial number for 2012-2013 is S14X86759

2. Install the Utilities update3. Install the Driver Station4. Install the FRC Bridge Configuration Utility

Page 6: Common Rookie Blunders

Installing LabVIEW from the CD

Page 7: Common Rookie Blunders

After Installing the Updates

Page 8: Common Rookie Blunders

Setting up the Router

Page 9: Common Rookie Blunders

1. Ensure that the router is set to 2.4Ghz AP (Access Point)

2. Configure your wireless bridge for team use either by an Ethernet cord or a crossover cable.

3. Set the IP address to your corresponding team #.

Page 10: Common Rookie Blunders

Setting up the DS

Page 11: Common Rookie Blunders

Setting Up the cRIO

Page 12: Common Rookie Blunders

1. Remember to “flash” it using FRC 2013 Imaging Tool

2. Use a crossover cable when flashing your cRIO (flashing will not work with a Ethernet cable)

Page 13: Common Rookie Blunders

Part 2: Common LabVIEW Blunders

Page 14: Common Rookie Blunders
Page 15: Common Rookie Blunders

Creating Your FirstLabVIEW Project

Page 16: Common Rookie Blunders

1. Remember to input your cRIO IP Address• It is 10.xx.yy.2

2. Select the radio box that best describes the drive configuration of your robot.

Page 17: Common Rookie Blunders

Using the LabVIew Simulator

Page 18: Common Rookie Blunders

1. Go to Robot Main.vi2. Right click ProjectName.lvproj/RT CompactRIO Target3. Select ProjectName.lvproj/Rt My Computer4. Click Run

Page 19: Common Rookie Blunders
Page 20: Common Rookie Blunders

Deploying LabView Code

Page 21: Common Rookie Blunders

1. Expand Build Specifications2. Right Click on FRC Robot Boot-up

Development3. Click Build4. Repeat step 2. Then, click Deploy.5. Repeat step 2. Then, click Run As Startup.

Page 22: Common Rookie Blunders

Quick Little Blunders• Refrain from using variables where possible.• Give your sensors meaningful names.• Ctrl + H brings up the help menu.• The use of logic is ESSENTIAL in LabVIEW.• Loops with timers are useful for timed tasks in

autonomous mode.

Page 23: Common Rookie Blunders

Q&A

Page 25: Common Rookie Blunders

Social MediaLike us on Facebook: Team 4001 FRC

Subscribe to our YouTube Channel for more tutorials! (http://www.youtube.com/user/FRCRetroRams4001)