Go to Post Why do FIRSTers think we're better? ...because we hold values like honesty, integrity, and intelligence dear... - Redneck [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 20-02-2011, 23:01
Garten Haeska's Avatar
Garten Haeska Garten Haeska is offline
Registered User
AKA: Garty
FRC #2861 (Infinity's End)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Lake City, MN
Posts: 219
Garten Haeska has a spectacular aura aboutGarten Haeska has a spectacular aura about
Re: our solenoids are not working.

Allthough i dont really know how to program in labview nor really read labview code, i had this same problem yesterday at a scrimmage, What was wrong was that in our code we were calling for two seperate solenoids, but instead we were supposed to call for a single "doublesolenoid" and it worked after that, no we just hold down button "2" and our grabber is held open, even though this will be in java it might help.

if(leftStick.getRawButton(2))
{
Fluffy.feed();
grab.set(DoubleSolenoid.Value.kForward);
Fluffy.feed();
}
else
{
Fluffy.feed();
grab.set(DoubleSolenoid.Value.kReverse);
Fluffy.feed();

dont worry about "Fluffy" it is our watchdog and it needs to be fed more than normal for some reason.
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:37.

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