Go to Post God bless the camera. That's all I gotta say. - Bharat Nain [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 30-01-2012, 23:28
rhp3794 rhp3794 is offline
Registered User
no team
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Mexico
Posts: 50
rhp3794 is an unknown quantity at this point
Question programming joystick buttons

I've already made a program with basics for the team robot, We try to test it, the Joystick axis x and y work well, but button 1 which is programmed for the cannon didnt work, i connect Isochronous terminal with the unbundle by name, connected in buttons terminal in joystickget with an indicator of T/F
the three together, and didnt work, what do i have to do??
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2012, 01:25
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: programming joystick buttons

I couldn't make out exactly what you are trying to accomplish but this is what I got out of it...

1. You have a button, in this case button one or on a joystick usually the trigger, which is supposed to shoot a cannon.
2. You've stated that you have connected the button up to a true/false indicator and when you run code it doesn't work?

I would assume that your joystick is bad... Although that is pretty rare...
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2012, 07:55
DominickC DominickC is offline
Registered User
FRC #0023 (PNTA)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 1620
Location: Boston
Posts: 435
DominickC is an unknown quantity at this point
Re: programming joystick buttons

Here's a basic Joystick button layout.

If you are looking to light up an LED, replace the case structure with a boolean indicator.
Attached Thumbnails
Click image for larger version

Name:	Capture.JPG
Views:	50
Size:	19.2 KB
ID:	11644  
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


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