Go to Post WHAT!?!?!? YOU DON'T DEVOTE YOUR LIFE TO APPLE!?!?!?!? ;) :p - Joe Matt [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 21-02-2012, 00:04
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

Ok, thank you. I'll check for the light in the morning.

We are using, I don't know if it's last years solenoid, but its a single. We felt this was less complicated since all we have to do is make the cylinder go up and down.

Also, are you saying there is nothing wrong with my programming?

If so, that would be much easier, since we have to be done with the robot tomorrow.

Last edited by chall3613 : 21-02-2012 at 00:27.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2012, 11:30
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

Ok, it has to be the programming because the solenoid breakout has the one green light on, and doesn't turn red when I pull the trigger, which means its not electircal, right?
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2012, 11:45
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: Solenoid Issue

The rows of green LEDs on the solenoid module will turn green if a single solenoid is ordered "on" and will be off if ordered "off".
There is no red.

A double solenoid should alternate green on one LED while the corresponding reverse LED is off, and vice versa when it is set to "Forward" and "Reverse"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2012, 11:47
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

For our single solenoid, the green light is always on. What does that mean?
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2012, 11:49
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: Solenoid Issue

That would be a code problem.

Your code sets the solenoid "On", but never "Off", or at least it immediately gets reset to "On' if you are managing to set it to "Off".
Off never gets a chance.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2012, 12:20
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

i tried reversing the on and off, moving the wire and changing the programming to 3 on the solenoid breakout and I also tried changing buttons. nothing worked. it is always on.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2012, 12:32
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: Solenoid Issue

Quote:
Originally Posted by chall3613 View Post
...the solenoid breakout has the one green light on,...
The solenoid breakout only has one green LED, and that indicates only that it is receiving power. You need to look at the array of eight green LEDs on the NI 9472 Digital Sourcing Module installed in slot 3 of the cRIO. They are labeled 0-7, corresponding to solenoid outputs 1-8.
Reply With Quote
  #8   Spotlight this post!  
Unread 21-02-2012, 12:44
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

The Solenoid breakout is the blue board plugged into the NI 9472?
Reply With Quote
  #9   Spotlight this post!  
Unread 21-02-2012, 14:00
bstites82 bstites82 is offline
Registered User
AKA: Blake Stites
FRC #2164 (multiple)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Harrisonville
Posts: 12
bstites82 is an unknown quantity at this point
Re: Solenoid Issue

Yes, the breakout is the smallish circuit board that plugs into the NI 9472 module. Like Alan said, there is one led on the breakout to indicate it has power, and then there are 8 leds on the NI 9472 module itself. If you cant see a reaction from any of the 8 leds, then try assigning an empty solonoid channel, lets say chanel 8. So in begin all you need to do is open the solenoid and assign it to channel 8, and then do a solenoid set with a constant of on wired to the input. Now when run the code and enable your robot the led indicator for channel 8 will go on and never turn off. So hopefully that will help you find the leds. Your code seemed as if it should do what you wanted to, once you find the led's and see if they are actuating you will know if the code is responding correctly. if the leds actuate but the valve does not bu sure to check the wiring and voltage requirements of the solenoid valve.
Reply With Quote
  #10   Spotlight this post!  
Unread 21-02-2012, 16:12
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

I changed it to a victor plugged into relay. Is the relay incorrect? My teacher is saying to plug it into the Digital I/O but I dont know how to work that in the programming.

The solenoid is hooked into the victor on the M+ and M- side, then into 30A on the power board with the 20A plug.

I also have it all RELAY on the programming.
Attached Thumbnails
Click image for larger version

Name:	BeginVI2.png
Views:	9
Size:	19.0 KB
ID:	12035  Click image for larger version

Name:	TeleOpVI2.png
Views:	10
Size:	20.4 KB
ID:	12036  
Reply With Quote
  #11   Spotlight this post!  
Unread 21-02-2012, 16: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: Solenoid Issue

Remove the Victor immediately. You're going to burn something up.

Solenoids do not connect to Speed Controllers. They connect either to the Solenoid Breakout on the DIO module, or to a Spike controlled by a Relay output on the Digital Sidecar.

Is your solenoid a 12V part or a 24V part?
Reply With Quote
  #12   Spotlight this post!  
Unread 21-02-2012, 17:06
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

Ok we found a spike! Turns out webster thomas gave us one. I plugged it into RELAY 3. should it all work right now? People are still cutting and tightening bolts and fileing. so i have to wait a few minutes.
Reply With Quote
  #13   Spotlight this post!  
Unread 21-02-2012, 18:02
chall3613 chall3613 is offline
Registered User
AKA: Candace
FRC #3613 (Team Wolf Pack)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2011
Location: New York
Posts: 28
chall3613 is an unknown quantity at this point
Re: Solenoid Issue

It didn't work. Am i allowed to keep just the solenoid and the spike out of the bag to work on it?
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 22: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