Go to Post Its not about Poof balls or green lights or getting up on the ramp at the end, this is about the learning experience and inspiration gained throughout the year. - Winged Wonder [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 16-02-2009, 16:25
rhoads2234's Avatar
rhoads2234 rhoads2234 is offline
Registered User
AKA: Erin
FRC #2234
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: PA
Posts: 80
rhoads2234 will become famous soon enough
Re: Joystick Buttons?

your set speed to 0 would be in the false statement of the interior case statement.
This would make the motor stop when no buttons are pressed but if one or the other is, it will send that value.
-so I will walk you through it (I don't have Labview on this computer)

Open Motor
get button 5
___Case statement
_____true
________set speed to Right Crab speed inverse
_____false
________get button 4
________Case Statement
__________true
_____________set speed to Right Crab speed
__________false
_____________set speed to 0
__________________
ALWAYS a mechanical problem!

Last edited by rhoads2234 : 16-02-2009 at 16:27. Reason: make the code clearer
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2009, 16:59
grosh grosh is offline
Registered User
FRC #2147
 
Join Date: Feb 2008
Location: Spokane, WA
Posts: 100
grosh is an unknown quantity at this point
Re: Joystick Buttons?

I think we got it!!!!!!!!!!!!!!!!!!! Wow, thanks everyone. I think we might be ready to ship.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview Joystick Buttons... team877 NI LabVIEW 36 17-02-2009 19:23
Joystick buttons Team_2547 NI LabVIEW 1 24-01-2009 19:42
Joystick Buttons KRibordy C/C++ 6 24-01-2009 10:06
Buttons to Pins on Joystick yarb65 Electrical 1 24-08-2007 20:39
Assigning Joystick buttons.... archiver 2001 5 24-06-2002 00:59


All times are GMT -5. The time now is 21:36.

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