Go to Post Dean's said it before, and it's been repeated many times, but it clearly hasn't sunk in yet, so I'll say really loudly. FIRST is not a science fair! - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2010, 20:59
Murray Murray is offline
Registered User
FRC #3164 (Thundercats)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Tampa
Posts: 2
Murray is an unknown quantity at this point
Rookie needs LabVIEW help (and more)

Hi there. I'm a rookie mentor (electrical engineer) for a rookie team (3164 Thundercats) here in Tampa.

We are trying to set up the control system according to the document 2010 FRC Control System-Getting Started-Rev-0-7.pdf. We've decided to use LabVIEW although we don't have any experience with this software (but we don't have any C++ or Java either so it seemed the lesser of three evils!). We got the 2010 Game Robot Project.lvproj downloaded to the cRIO and we can get two CIM motors to work fine with arcade control. Our problem is that we follow the instructions to try out tank drive and cannot get it to work. We have verified that both joysticks work and are putting the Z-wheel in the down (-) position, but it doesn't change out of arcade drive. Can anyone help or point to the VI in LabVIEW where it looks for the Z-wheel position?

On another point, can someone please direct us to instructions on how to wire up the camera on the robot, and set it up for use with the cRIO? We have done the password change per the above manual.

Finally, is there anywhere where the 2010 Game Robot Project is described in detail - i.e. maybe an explanation of what each VI does? As complete rookies the only chance we will have to "program" is to modify existing code.

Thanks in advance for any help you can give.
Reply With Quote
  #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,717
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
  #3   Spotlight this post!  
Unread 21-01-2010, 02:04
elmer_fud elmer_fud is offline
mentor/code monkey
FRC #2859
Team Role: Mentor
 
Join Date: Jul 2009
Rookie Year: 2009
Location: co
Posts: 18
elmer_fud is an unknown quantity at this point
Re: Rookie needs LabVIEW help (and more)

Another useful thing is context help. To do this when labview is open click on help>context help. If you then mouse over an icon it gives a description of what it does. I have attached a screen shot of this below.



Typically in labview the ports on the left are input into sub VI's and ports on the right are output
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2010, 10:55
Murray Murray is offline
Registered User
FRC #3164 (Thundercats)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Tampa
Posts: 2
Murray is an unknown quantity at this point
Re: Rookie needs LabVIEW help (and more)

Many thanks guys.

Mark, great information - thank you. This really gives us something to work on now.

Elmer_Fud, thanks for tip on LabVIEW - I didn't know this was there and I'm sure it will help.

I'm sure there will be many more questions.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2010, 09:01
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Rookie needs LabVIEW help (and more)

Another help source is lvmastry.com/tipjar. He is a LabVIEW integrator/trainer and FRC mentor and has many hours of FRC specific training videos on his website.

Greg McKaskle
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Team #3020 Needs your help more than ever! BurtGummer General Forum 33 17-04-2009 21:25
Rookie team - Needs help with sending program to cRIO awbraunstein NI LabVIEW 1 12-02-2009 22:30
Labview Help, Rookie Joraus NI LabVIEW 8 07-02-2009 17:08
Pre-Rookie team needs help please yodameister General Forum 9 17-09-2008 21:21
Rookie team needs help with shipping from CT Temp Championship Event 6 18-04-2006 15:49


All times are GMT -5. The time now is 19:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi