Upload
rolf-rich
View
230
Download
1
Embed Size (px)
Citation preview
Common Rookie Blunders
Kelvin LinTeam 4001 Programmer
Yoan HolderTeam 4001 Electrician
Agenda
1. The BasicsI. 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
Part 1: Getting Started
Installing theRequired Programmes
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
Installing LabVIEW from the CD
After Installing the Updates
Setting up the Router
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 #.
Setting up the DS
Setting Up the cRIO
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)
Part 2: Common LabVIEW Blunders
Creating Your FirstLabVIEW Project
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.
Using the LabVIew Simulator
1. Go to Robot Main.vi2. Right click ProjectName.lvproj/RT CompactRIO Target3. Select ProjectName.lvproj/Rt My Computer4. Click Run
Deploying LabView Code
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.
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.
Q&A
Contact Us
Kelvin Lin: [email protected] Holder: [email protected]
Social Media
Like us on Facebook: Team 4001 FRC
Subscribe to our YouTube Channel for more tutorials! (http://www.youtube.com/user/FRCRetroRams4001)