Go to Post I've learned that the measure of success isn't the money you make, the education you get, or the car you drive. Your success can only be measured in the amount of people in whose lives you've made a difference and the size of your heart. - Amanda Morrison [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
  #1   Spotlight this post!  
Unread 14-02-2010, 21:15
helenajoy helenajoy is offline
Registered User
FRC #2437
 
Join Date: Nov 2008
Location: Hawaii
Posts: 31
helenajoy is an unknown quantity at this point
Smile Buttons on Joystick

Just a quick simple question -
Is the code attatched done correctly? The false area in both of the case structures are completely blank.

I want it so that Button One will accuate solenoid and basically kick. Then, I want Button Two to bring the kicker back in when it is pressed.

When this code is running, the Joystick on the Driver Station Diagnostics tab lights blue. Does this mean that the code is reading the buttons or just that it will light blue no matter what button is pressed.

Right now, the code is not working and doesn't seem to be controlling the solenoids at all.

Also, our compressor doesn't seem to be the problem. I placed the compressor code within Periodic Tasks and it does work.
Attached Thumbnails
Click image for larger version

Name:	2010 Joystic Buttons (kicker) Screenshot.PNG
Views:	127
Size:	14.1 KB
ID:	8672  
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Joystick Buttons? grosh NI LabVIEW 7 16-02-2009 16:59
Joystick buttons Team_2547 NI LabVIEW 1 24-01-2009 19:42
Joystick Buttons KRibordy C/C++ 6 24-01-2009 10:06
Programing joystick buttons Shivang1923 Programming 8 09-02-2008 16:21
Buttons to Pins on Joystick yarb65 Electrical 1 24-08-2007 20:39


All times are GMT -5. The time now is 11:02.

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