Go to Post Stand scouting allows you to get to know the robot. Pit scouting allows you to get to know the team. - Taylor [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 15-04-2011, 19:43
Joel Johnson's Avatar
Joel Johnson Joel Johnson is offline
zeleathos
FRC #3536 (ElectroEagles)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Hartland Michigan
Posts: 9
Joel Johnson is an unknown quantity at this point
Does this look Okay?

Please look at the picture I am trying to set up a different controller to make a certian function happen with pneumatics
If the image isn't showing visit the website
http://labviewhelpplease.webs.com/index.htm

Last edited by Joel Johnson : 15-04-2011 at 19:48.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-04-2011, 20:04
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Does this look Okay?

That code will work and do stuff with solenoids. If you want to know if it will do the stuff you want, you'll have to describe how you want the pneumatic cylinders to respond to the buttons.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #3   Spotlight this post!  
Unread 15-04-2011, 20:12
Joel Johnson's Avatar
Joel Johnson Joel Johnson is offline
zeleathos
FRC #3536 (ElectroEagles)
Team Role: Programmer
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Hartland Michigan
Posts: 9
Joel Johnson is an unknown quantity at this point
Re: Does this look Okay?

I want to hit a button to make a cylinder go out and when i hit another button i want it to go in, but i don't want it to be used on the driver controller.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-04-2011, 20:20
Vikesrock's Avatar
Vikesrock Vikesrock is offline
Team 2175 Founder
AKA: Kevin O'Connor
no team
Team Role: Engineer
 
Join Date: Mar 2006
Rookie Year: 2007
Location: Manchester, NH
Posts: 3,305
Vikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond reputeVikesrock has a reputation beyond repute
Send a message via AIM to Vikesrock Send a message via MSN to Vikesrock Send a message via Yahoo to Vikesrock
Re: Does this look Okay?

Ok, that's what the top section of code will do.

The bottom section will extend (or retract) a cylinder when you push a button and keep it there as long as you hold the button. When you let go, the cylinder will move back, basically making your double solenoid act like a single.

The Joystick Open should go in Begin.VI with the output wired to a Joystick Set RefNum. Then use a Joystick Get RefNum in Teleop.VI and wire the output of that to the Joystick Get.

Pattern your joystick code off of the existing code for your primary joystick, all you want to change in the second copy (upstream of the Joystick Get at least) is the USB port and RefNum name.
__________________


2007 Wisconsin Regional Highest Rookie Seed & Regional Finalists (Thanks 930 & 2039)
2008 MN Regional Semifinalists (Thanks 2472 & 1756)
2009 Northstar Regional Semifinalists (Thanks 171 & 525)
Reply With Quote
  #5   Spotlight this post!  
Unread 17-04-2011, 13:31
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,579
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Does this look Okay?

You'll get allocation errors from allocating solenoid channels 1 and 2 twice. For a double solenoid, you need two separate solenoid channels.
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


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

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