View Single Post
  #2   Spotlight this post!  
Unread 20-01-2010, 23:28
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,800
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Rookie needs LabVIEW help (and more)

Robot Project:
I don't know of any write-up on the structure of the Robot Project.
In the Project Explorer window you'll see "Team Code". These are the files you will be changing. Leave the others alone. Here are the most important vi's:
  • Begin.vi - this is where you should Open all the devices you'll be using.
  • Finish.vi - this corresponds to Begin.vi and is where you should close all your devices.
  • Teleop.vi - is your regular teleoperated driver code and where Arcade Drive is setup, and where you'd change it to Tank Drive.
  • Autonomous Independent.vi - where you'll program your autonomous moves.
Tank Drive is not programmed into this default Robot Project, so no amount of Z-throttle fiddling will change anything. Look in Teleop.vi and you'll see the Arcade Drive icon.
A good source of LabVIEW training are the videos done by http://frcmastery.com/

Camera:
If you've setup the camera password, then it gets cabled with a cross-over Ethernet cable (pink in the KOP) to port 2 on the cRIO. It must be port 2 only.
To wire it you cut the cord off the wall plug they gave you in the KOP so you have the barrel connector. The bare wires at the other end connect to the built-in gray Wago connector on the Power Distribution Panel.
You can see the wiring here:
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote