Go to Post I'm not basing success on winning a regional. Success is learning by building the best system you can. In the engineering industries, the best system is the one chosen. - AdamHeard [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 13-02-2009, 14:56
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Arcade Drive Issue and Pnuematics

Hello we at team 1689 have our arcade drive code and our pneumatics code both in the while loop set up to run ( also a third motor and the second joystick). 1) But when we run our program if the Arcade drive system work then the compressor does not turn on. 2) If the compressor turns on our arcadr drive does not work( meaning the joysticks or the motors do not respon to each other). 3) Also we need have a soleniod for a piston set to a button.http://f590.mail.yahoo.com/ya/downlo...ean=0&inline=1

Last edited by chenvoy : 13-02-2009 at 15:13.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2009, 20:27
Sentient's Avatar
Sentient Sentient is offline
Registered User
FRC #0639 (Code Red)
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Ithaca
Posts: 21
Sentient is on a distinguished road
Re: Arcade Drive Issue and Pnuematics

Could you post the code? That link you gave doesn't work.
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2009, 23:06
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Re: Arcade Drive Issue and Pnuematics

OK i see the icon for files
Here is my code for Robot Main.vi ( only this vi was changed)Main_Drive_Program_TO_USE.zip
Reply With Quote
  #4   Spotlight this post!  
Unread 14-02-2009, 01:42
varun1718's Avatar
varun1718 varun1718 is offline
ToaD
AKA: Varun Jasuja
FRC #1669 (Jaganators)
Team Role: Mentor
 
Join Date: Feb 2009
Rookie Year: 2009
Location: Long Beach
Posts: 8
varun1718 is an unknown quantity at this point
Send a message via AIM to varun1718
Re: Arcade Drive Issue and Pnuematics

im not an expert programmer. this is my first year programming.so please excuse my terminology. The easiest way to program this is by using the DIO program instead of the compressor and solenoid. the compressor can be directly connected to the power but by using a pressure valve. Use the DIO output to program and connect 2 spikes to the DIO output. you can use the buttons from the joystick to control the spikes. I tried the compressor program but didnt find it much helpful so my teammates suggested using the pressure valve provided which automatically turns the pressure on and off to keep it within a certain pressure limit.
Attached Thumbnails
Click image for larger version

Name:	SpikeProgram.jpg
Views:	80
Size:	39.9 KB
ID:	7431  
Reply With Quote
  #5   Spotlight this post!  
Unread 14-02-2009, 13:31
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by varun1718 View Post
the compressor can be directly connected to the power but by using a pressure valve. Use the DIO output to program and connect 2 spikes to the DIO output. you can use the buttons from the joystick to control the spikes. I tried the compressor program but didnt find it much helpful so my teammates suggested using the pressure valve provided which automatically turns the pressure on and off to keep it within a certain pressure limit.
Thanks you varun1718, I will try the program when I get to school, and thank you varun1718 because we needed a way to control the compressor.

So all i need to know is how my current code conflicts that arcade drive runs or only the compressor runs 0-0.
Reply With Quote
  #6   Spotlight this post!  
Unread 14-02-2009, 23:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by varun1718 View Post
the compressor can be directly connected to the power but by using a pressure valve
While it is electrically possible to do this, it is not in accordance with the game manual's rules. See specifically <R77>.
Reply With Quote
  #7   Spotlight this post!  
Unread 15-02-2009, 07:52
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Re: Arcade Drive Issue and Pnuematics

Well COULD anyone look at our code if anyting is incorrect becuase our robot should be able to 1)drive arcade, 2) have a second joystick for a motor to runs with a button to set off the soleniod, 3) Also be able to turn the compressor on and off by a button on the joystick !!!!!
Reply With Quote
  #8   Spotlight this post!  
Unread 15-02-2009, 14:21
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by chenvoy View Post
Well COULD anyone look at our code if anyting is incorrect becuase our robot should be able to 1)drive arcade, 2) have a second joystick for a motor to runs with a button to set off the soleniod, 3) Also be able to turn the compressor on and off by a button on the joystick !!!!!
With the exception of #3 (which does not follow the rules), I don't see anything obviously wrong with the code you posted.
Reply With Quote
  #9   Spotlight this post!  
Unread 16-02-2009, 18:45
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by Alan Anderson View Post
With the exception of #3 (which does not follow the rules), I don't see anything obviously wrong with the code you posted.
Well thanks you for looking . I will ask our Electronics guys to see if there are things we could of missed when doing our electronics bored one more. But thank you for looking. Also thank you for warning us that we can not run the compressor under a button. I Will try a timer instead.But thank you for looking.

Last edited by chenvoy : 16-02-2009 at 18:48.
Reply With Quote
  #10   Spotlight this post!  
Unread 16-02-2009, 23:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by chenvoy View Post
...thank you for warning us that we can not run the compressor under a button. I Will try a timer instead.
Please read the 2009 FRC Game Manual, with special attention to <R77>. The cRIO code must use the Nason pressure switch in order to control the compressor.
Reply With Quote
  #11   Spotlight this post!  
Unread 23-02-2009, 20:03
chenvoy chenvoy is offline
Registered User
FRC #1689
 
Join Date: Feb 2009
Location: Bloomfield, NJ
Posts: 6
chenvoy is an unknown quantity at this point
Re: Arcade Drive Issue and Pnuematics

Quote:
Originally Posted by Alan Anderson View Post
Please read the 2009 FRC Game Manual, with special attention to <R77>. The cRIO code must use the Nason pressure switch in order to control the compressor.
Did you say that with my code the way it is that I should ,program wise, be able to set off the solenoid by my JoySticks Controller?
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
Non-Arcade Drive causes problems in Autonomous... pinballwizard96 NI LabVIEW 2 01-02-2009 20:45
Arcade/Tank Drive Malfunction piedmont Programming 2 19-01-2009 17:37
EASY C PRO help tank drive issues!!! can any 1 solve this programming issue? mayazk Programming 2 16-02-2008 02:17
Arcade Drive Anfony VEX 4 08-11-2006 19:46
vex programming arcade drive setting Michael Leicht FIRST Tech Challenge 3 17-10-2005 21:26


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

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