Go to Post If Dave stops wearing the Hawaiian shirts, the terrorists have won. - kjohnson [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 22-01-2013, 16:54
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Do my Solenoid vi's look alright?

Hello, I am trying to get a festo double solenoid to work. However... it isn't. Does my code look alright? If so, it might be a wiring problem. I want the solenoid to push out and retract when I push button 2. Thanks!

Begin - Tele - Finish

Allons-y
Attached Thumbnails
Click image for larger version

Name:	solenoid.png
Views:	66
Size:	31.5 KB
ID:	13622  
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2013, 17:38
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,731
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: Do my Solenoid vi's look alright?

I'm bothered by the tiny red coercion dot on the Solenoid Set.
That means it's not the proper type that's expected when it looks like it should be.

First though I'd check the Solenoid Module LEDs to see if the code is changing them. Look on the module and operate the button (DS Enabled and all) to see if the LEDs come on at all and change when you push the button.
Make sure Joystick 1 (where the button is) is in the first slot on the Driver Station Setup tab. Pushing the button will make it turn blue.
You should see the first two LEDs alternating being on.

If you do then your code is alright, and it's a wiring issue.
If those status LEDs don't come on then it's a code issue.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 22-01-2013 at 17:40.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2013, 17:45
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Re: Do my Solenoid vi's look alright?

There are no lights running on the solenoid itself. The festo does work when we use it manually.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2013, 17:55
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,349
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Do my Solenoid vi's look alright?

Basic question here. Is the Solenoid Bumper powered? If so, is it the correct voltage for the solenoids you are using?
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2013, 18: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,731
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: Do my Solenoid vi's look alright?

For the code problem...
  • It looks like the "Solenoid" name might be different between Begin.vi and Teleop.vi. It looks like there might be a space before "S" when it's used in Teleop.vi. Delete the name in Teleop.vi, then copy and paste the name from Begin.vi and wire it in.
  • I'd fix the coercion dot, too. Remove the wire into Solenoid Set, as well as, the Forward/Reverse constants. Then create a new constant from the Solenoid Set (hover over node right-click and Create->Constant). Copy and paste the new constant to replace the old ones and wire it all up again.
Check your Driver Station Diagnostic messages to see if it's complaining about a Solenoid.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 22-01-2013, 23:41
Ganondalf Ganondalf is offline
Registered User
FRC #4665
 
Join Date: Jan 2013
Location: Minnesota
Posts: 48
Ganondalf is an unknown quantity at this point
Re: Do my Solenoid vi's look alright?

Okay I fixed my vi's. This code should work with a double solenoid fest valve right? That is assuming the wiring is correct.
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 04:11.

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