View Single Post
  #2   Spotlight this post!  
Unread 05-02-2010, 14:19
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,795
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: HELP!!!! we need help w/ compressors/pneumatics for teleop/autonomous in LABVIE

You don't seem to have followed the Default coding conventions and that prevents your code from working.
You Open your drive motors in two different places (Begin and Teleop) and that just confuses the cRIO.
I especially like how you have the Enable Vision control sitting all by itself, unconnected to anything at all.

In your own standalone vi you are missing all the Driver Station communication, so it can never be Enabled from the Driver Station.

I think you're trying to follow last year's Basic-style in this year's Advanced-style and that won't work well.

Learn to:
  • Open all your devices in Begin.vi,
  • Close everything only in Finish.vi, and
  • Set your solenoids in Teleop.vi and Autonomous Independent.vi
We can help if you want to walk through it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 05-02-2010 at 14:28.
Reply With Quote