View Single Post
  #15   Spotlight this post!  
Unread 02-02-2010, 23:28
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Buttons on a Attack 3 Joystick useing LABView

Here's a shot of something that doesn't do exactly what you want, but it's close and easily modifyable ... our trigger overrides the throttle and sets it to full speed.

In the pic, the case structure shows the FALSE case, where the throttle goes straight thru, but when button 1 is pressed, the TRUE case has a hard constant 1.0 wired up into the throttle output of that case structure, ignoring the actual joystick throttle until the button is released.

In your case, you'd wanna' wire up a 0.5 constant to it, if you want half-speed.
Attached Thumbnails
Click image for larger version

Name:	JoystickThrottleVIstuff.jpg
Views:	624
Size:	53.9 KB
ID:	8483  
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics
Reply With Quote