Go to Post You have to start at the bottom to get to the top, usually. - Kyle [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-01-2015, 19:29
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 8
tmk is an unknown quantity at this point
Exclamation Pneumatics Problem

Our test robot has a double action solenoid on it. I wanted button 3 on the right joystick to make it go both out and in. But currently, button 3 is making it go out and button 4 is making it go in. (Even though button 4 is not wired to the solenoid.) In fact, I completely deleted button 4 from the program, and it still controlled the solenoid. Buttons that don't exist in the program shouldn't work when I run it! I also tried creating an imaginary motor (one that doesn't exist on the robot) for button 4 to control, just to give it something to do, but it still controls the solenoid.
Any help is very, very welcome.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-01-2015, 19: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,713
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: Pneumatics Problem

That sounds like your updated code isn't getting onto the roboRIO.

Are you using Run or are you doing a Build/Run as startup?
If you open Robot Main.vi is the white Run arrow solid or broken?
Do you get any error messages when you Build?
Any error messages when you Run as startup?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 13-01-2015, 20:20
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 8
tmk is an unknown quantity at this point
Re: Pneumatics Problem

I'm using Run as Startup, and on the robot main.vi the white arrow is solid. It builds and runs perfectly, but when I try to control the robot with the joysticks I get that problem with the button.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-01-2015, 20:48
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,713
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: Pneumatics Problem

If you hit the Reset button on the roboRIO (or cycle the robot power) does button 4 still misbehave?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #5   Spotlight this post!  
Unread 13-01-2015, 21:26
tmk tmk is offline
Registered User
FRC #0876
 
Join Date: Jan 2015
Location: Northwood ND
Posts: 8
tmk is an unknown quantity at this point
Re: Pneumatics Problem

AGGGGHHH! It was so glaringly obvious!
I built the program the first couple of times, but when I was changing things I forgot to re-build the program every time I changed something in the program.
How could I forget something like that?!
Thanks for trying to help. I think it'll work now.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-01-2015, 21:42
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,713
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: Pneumatics Problem

Good luck!
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2015, 18:56
cougarbot cougarbot is offline
Registered User
FRC #2665
 
Join Date: Jan 2015
Location: Dayton,Ohio
Posts: 3
cougarbot is an unknown quantity at this point
Re: Pneumatics Problem

We are trying to wire a bimba MRS-.087-B. The wire coming from the roboCRIO has 3 wires (red,white,black) but the bimba MRS switch has a black and red wire. Can someone help us wire it?
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2015, 19:03
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,070
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Pneumatics Problem

Quote:
Originally Posted by cougarbot View Post
We are trying to wire a bimba MRS-.087-B. The wire coming from the roboCRIO has 3 wires (red,white,black) but the bimba MRS switch has a black and red wire. Can someone help us wire it?
The red wire (assuming it's in the center) provides 5V. The switch doesn't need power since it's a passive switch. Connect red to white and black to black (you could actually switch them if you wanted), cover up the red wire so it can't touch anything and you should be all set.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #9   Spotlight this post!  
Unread 06-02-2015, 18:47
Jack Gillespie's Avatar
Jack Gillespie Jack Gillespie is offline
Registered User
FRC #5430 (Pirate Robolution)
Team Role: Teacher
 
Join Date: Nov 2008
Rookie Year: 2009
Location: Vallejo California
Posts: 48
Jack Gillespie is an unknown quantity at this point
Re: Pneumatics Problem

Can you share your code for button 3 out, button 4 retract. That is exactly what we are trying to do. We are close but something is not right

Team 5430,
What a bunch of rookies
Reply With Quote
  #10   Spotlight this post!  
Unread 06-02-2015, 19: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,713
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: Pneumatics Problem

Does this Double Solenoid example help at all?
There are two examples in this, a Single Solenoid to the left and a Double Solenoid to the right. You're probably only concerned with the Double example.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 08: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