View Single Post
  #35   Spotlight this post!  
Unread 14-02-2010, 16:43
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,808
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: solenoid with compressor vi

I copied your code into a new copy of the default robot project.
Robot Main.vi is left in it's original untouched state.
All Opens are done in Begin.vi
All Closes are in Finish.vi
All uses are in Teleop.vi

I got rid of the duplicate drive motors and fixed the duplicate relays.
Attached Thumbnails
Click image for larger version

Name:	Teleop-sample.jpg
Views:	55
Size:	23.4 KB
ID:	8662  Click image for larger version

Name:	Finish-sample.jpg
Views:	57
Size:	41.1 KB
ID:	8663  Click image for larger version

Name:	Begin-sample.jpg
Views:	62
Size:	82.3 KB
ID:	8670  
Attached Files
File Type: vi Teleop.vi (19.0 KB, 17 views)
File Type: vi Begin.vi (42.7 KB, 12 views)
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-02-2010 at 18:06. Reason: Fixed the multiple PWM - thanks Alan
Reply With Quote