Go to Post Robotics for me though really is hard to beat. Though tiring and exhausting, the memories you build are priceless. - ShadowKnight [more]
Home
Go Back   Chief Delphi > Technical > Programming
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
  #5   Spotlight this post!  
Unread 16-02-2009, 11:12
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,113
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: Trigger buttons

Quote:
Originally Posted by chinckley View Post
We do not know how to read a button.
Use a Joystick Get VI. Wire the appropriate joystick's DeviceRef bundle to it. One of the Get's outputs is a bundle called Buttons. Wire that output to an Unbundle By Name VI. Click on the "Button 1" text and you'll get a menu of possible buttons to read. The output of the Unbundle By Name will be a boolean representing the state of the button.

Now you can use that boolean to choose what value to send to the motor. Do you know how to do that?
 


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
Joystick Trigger Programming dnrobotics11 C/C++ 7 09-02-2009 19:27
Programming the joystick trigger... pudgeball C/C++ 4 10-01-2009 10:25
making a trigger a toggle team877 Programming 3 02-02-2007 13:26
Buttons, Buttons and more Buttons (2006) Freddy Schurr Team Organization 11 14-12-2005 21:36
Ball Chute Trigger pludodog Technical Discussion 1 12-01-2004 10:26


All times are GMT -5. The time now is 20: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