Go to Post I am thoroughly convinced FIRST is a sport. Convince me otherwise. - Bharat Nain [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-02-2010, 20:57
ngould ngould is offline
Registered User
FRC #1572
 
Join Date: Feb 2010
Location: San Diego
Posts: 3
ngould is an unknown quantity at this point
Re: Help Solenoid Programming

To team 2987,

Im new to programming too, but i'm pretty sure i fugured out the enumeration error for adding solenoids.

when you have your solenoid icon that says Open on it (should be green, just like the other one) on the left side hover over the edge until the little box thing says solenoid channel. right click on that and go to create -> constant. this will give you the option of choosing what number solenoid you have. be sure that if you add more solenoids to the begin etc... VI that you add the same amount with the same names to the rest of your VIs...

hope this helps.

Tasha
Attached Thumbnails
Click image for larger version

Name:	how to add solenoids.jpg
Views:	93
Size:	102.0 KB
ID:	8716  
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2010, 21:28
team2987 team2987 is offline
Registered User
FRC #2987
 
Join Date: Feb 2010
Location: Farmington
Posts: 9
team2987 is an unknown quantity at this point
Re: Help Solenoid Programming

Yea thanks much ngould I believe I have everything figured out now and I hope when I test it on the bot tommorow the kicker kicks! I'll just have to wait and see let me know if you got any questions I'm getting the hang of this...
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2010, 22:23
JP Carlin's Avatar
JP Carlin JP Carlin is offline
Registered User
FRC #2487 (Mechanical Animals)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Sayville NY
Posts: 42
JP Carlin is on a distinguished road
Re: Help Solenoid Programming

i've been trying for a few days trying to get our solenoid working so that it could lock our robot in place after pulling itself up and i think i was able to make it work doing the same thing. Although i wont be able to test it until tomorrow i'm glad that i figured it out.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-02-2010, 08:51
team2987 team2987 is offline
Registered User
FRC #2987
 
Join Date: Feb 2010
Location: Farmington
Posts: 9
team2987 is an unknown quantity at this point
Re: Help Solenoid Programming

As of right now we have have a single solenoid attached to our breakout with the cord connected to the intake in port one and the cord connected to the outake in port two. We are trying to use this setup as a pneumatic kicker that pushes the arm out of the cylinder and pulls the arm in to reset. I feel my programming is the flaw. I'll have pictures up later but for right now a description of what i have in labview. In begin.vi I have two solenoids both set to "solenoid 1" and then set to slot 8 and 7 because it doesnt allow slot 1 and 2. In finish.vi I have the "kick solenoid" and "return solenoid" closing. Then in teleop to achieve the push button mechanism I'm calling the joystick and then calling button 4. Then I have a true false system setup so that when button 4 is true it kicks and when button 4 is false it returns, or atleast I think i have it that way.... I would love it if someone could put up labview diagrams of a working solenoid button press system to kick and return. Thnaks in advance!
Reply With Quote
  #5   Spotlight this post!  
Unread 19-02-2010, 16:22
team2987 team2987 is offline
Registered User
FRC #2987
 
Join Date: Feb 2010
Location: Farmington
Posts: 9
team2987 is an unknown quantity at this point
Re: Help Solenoid Programming

UPDATE: We now know signal is going to our solenoid from the button pushes how ever nothing is happening as in the valves arent actuating and dont seem to be anyone have a possible solution?
Reply With Quote
  #6   Spotlight this post!  
Unread 19-02-2010, 19:17
JP Carlin's Avatar
JP Carlin JP Carlin is offline
Registered User
FRC #2487 (Mechanical Animals)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Sayville NY
Posts: 42
JP Carlin is on a distinguished road
Re: Help Solenoid Programming

i have been able to get the solenoid only to extend out by programming it in a case structure and controlled by a button on the joystick. although we are using the solenoid only to activate a pneumatic in the end to lock a system in place while lifting ourselves, it would be nice to figure out a way to program it to retract by pushing a button so we do not have to do it manually after the competition is over or just in case it is accidentally released we can retract it so we can still lift ourselves at the end.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-02-2010, 20:13
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,833
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 Solenoid Programming

Here's a quick sketch of one way to extend with one button and retract with another.
The False cases do nothing.
Attached Thumbnails
Click image for larger version

Name:	CylinderHowTo.jpg
Views:	96
Size:	17.2 KB
ID:	8722  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 19-02-2010 at 20:33.
Reply With Quote
  #8   Spotlight this post!  
Unread 20-02-2010, 22:36
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: Help Solenoid Programming

Quote:
Originally Posted by team2987 View Post
UPDATE: We now know signal is going to our solenoid from the button pushes how ever nothing is happening as in the valves arent actuating and dont seem to be anyone have a possible solution?
How do you know the signal is getting to the solenoid?

The pneumatic solenoid valves are "pilot activated" and will not move unless they have enough pressure. Make sure there's 40 PSI or more getting to them.
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
Labview Solenoid Programming 3p1c w1n Programming 12 12-02-2010 17:29
Solenoid Programming Issue. Dr. Manhattan Pneumatics 2 10-02-2009 17:42
solenoid programming holty531 Programming 0 10-02-2008 16:17
Programming a Solenoid Brigander Pneumatics 4 17-02-2007 14:06
Solenoid Programming duckshepherd Pneumatics 1 17-02-2003 09:15


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

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