Go to Post Once this competition is over, we should donate all of these Poof balls to daycares, elementary schools, neighbors; all the little kids. It would make us look good like, "Here's our Toys for Toddlers gift from us upstanding citizens. And we build robots." - atomikitten [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Spotlight this post!  
Unread 13-02-2011, 13:01
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: Double Solenoid problems

I can't post any screenshots, but I think I can explain simply enough what you want. Marks approach is more elegant than mine but mine is the one I'm familiar with so here goes. assuming that you are using the thin festo valves or equivalent that came in the KOP, and that you are running the from the pneumatics bumper in slot 7 or 8 on the crio. each valve has 2 solenoids, so in begin I open 2 single solenoids. lets call them sol1 and sol2. then we open the device refs in teleop for sol1 and sol2. so using one case structure, when button 6 is true we set sol1 off and sol2 on (or vise versa) and in the false case we set sol1 on and sol2 to off (or vise versa). this does require button 6 to be held, but it should get your solenoid actuating. if you want it to stay actuated look at the labview example for joystick button latching, and also check out FRCmastery for a video about shift registers and typedefs. hope this helps.
Reply With Quote
 


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 20:33.

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