Go to Post I don't know about you but i would love to have a grilled cheese maker in the workshop. - CMBrandon [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 29-01-2014, 00:03
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,112
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: LabView code of other teams ?

Quote:
Originally Posted by eren96 View Post
...the extend and retract functions only work when the pressure is above 100 psi.
That sounds almost like the code to control the cylinder is only running when the compressor is not. Can you show us the relevant parts of your program?
Reply With Quote
  #2   Spotlight this post!  
Unread 29-01-2014, 14:56
eren96's Avatar
eren96 eren96 is offline
Registered User
FRC #3646 (Integra)
 
Join Date: Oct 2013
Rookie Year: 2011
Location: Türkiye
Posts: 22
eren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really nice
Re: LabView code of other teams ?

Quote:
Originally Posted by Alan Anderson View Post
That sounds almost like the code to control the cylinder is only running when the compressor is not. Can you show us the relevant parts of your program?
No, even if the compressor is running, we can still control extend and retract functions, but within some specific range.

http://imgur.com/yWLShcp
http://imgur.com/JcrDTcO&yWLShcp&NfAFJ3K&O8KQNNz#0 (green wires come from two different buttons)

These are the codes releated to our solenoids in our begin and teleop vi. To try in a different way, we first ran the compressor and filled the air tanks and then wired a solenoid and run the program. It still does the same thing. Although the pressure switch or compressor aren't wired, we can't extend the pistons below nearly 100 psi. Is it normal?
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2014, 20:58
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,112
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: LabView code of other teams ?

Quote:
Originally Posted by eren96 View Post
http://imgur.com/JcrDTcO&yWLShcp&NfAFJ3K&O8KQNNz#0 (green wires come from two different buttons)
There's a red dot on the input to Solenoid Set. It means you've connected something of a type that the function doesn't expect, and it has coerced the value to something it can use. Where did you get the Forward, Reverse, and Off constants that you have going into the Select functions? It's possible that you're feeding the Solenoid function with Relay values. They happen to be completely compatible and shouldn't cause problems, but it's usually a good idea to keep the program as "happy" as possible.

Quote:
Although the pressure switch or compressor aren't wired, we can't extend the pistons below nearly 100 psi. Is it normal?
Most pneumatic systems will "work" down to 30 psi without difficulty, though they of course won't provide much force. I don't think your symptoms can be explained by anything in the code. It's probably time to examine your pneumatic system in detail. What kind of solenoid valves are you using? Do they have a manual actuation feature, perhaps a small button or lever?

Or maybe whatever you have the cylinder connected to just requires that much force in order to move. What is the mechanism you're trying to activate with the cylinder?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2014, 21:29
eren96's Avatar
eren96 eren96 is offline
Registered User
FRC #3646 (Integra)
 
Join Date: Oct 2013
Rookie Year: 2011
Location: Türkiye
Posts: 22
eren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really niceeren96 is just really nice
Re: LabView code of other teams ?

Quote:
Originally Posted by Alan Anderson View Post
There's a red dot on the input to Solenoid Set. It means you've connected something of a type that the function doesn't expect, and it has coerced the value to something it can use. Where did you get the Forward, Reverse, and Off constants that you have going into the Select functions? It's possible that you're feeding the Solenoid function with Relay values. They happen to be completely compatible and shouldn't cause problems, but it's usually a good idea to keep the program as "happy" as possible.



Most pneumatic systems will "work" down to 30 psi without difficulty, though they of course won't provide much force. I don't think your symptoms can be explained by anything in the code. It's probably time to examine your pneumatic system in detail. What kind of solenoid valves are you using? Do they have a manual actuation feature, perhaps a small button or lever?

Or maybe whatever you have the cylinder connected to just requires that much force in order to move. What is the mechanism you're trying to activate with the cylinder?

We solved our problems with solenoids. Thanks for your help. I guess I was lack of some essential information about solenoid. First we changed the code and then checked our wiring. We found out that our solenoid breakout is not fed by 24v on pdb and fixed it by wiring it to C and NC outs. All of our solenoids are 24v, we missed that detail. We can finally drive our robot, shift and control other pneumatic systems properly.

Now, the only thing that was left is vision processing in autonomous. We looked over the example code and tried to understand it. We could customize our dashboard by the example code. However, we still don't have any idea how to link the example code to our robot actions in autonomous mode. I know this thread is going far from its title and hope that it's not a problem. Do you have any simple and clear resources about using vision processing code in auto mode?
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 09:48.

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