Go to Post While we all look back and appreciate the shoulders of the giants of the past upon which we are standing, let us not forget that we are the giants of today. Ours are the shoulders on which others will be standing in the future. - Mike Rush [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
  #2   Spotlight this post!  
Unread 11-02-2009, 16:58
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Button Help

You have not stated explicitly what you want the motor to do when neither of the joystick buttons have been depressed. I assume that you want the motor to stop. This may also be the problem with the code.

i.e.
Have you programmed the motor speed to be zero when neither of the buttons are pressed?

Incidentally, the Motor Control Set Speed.vi uses an input range from [-1, 1]. If you want a range from [0-255], then you use the Set Value.vi in the WPI Robotics Library->IO->PWM->Set Value.vi You can right click on the VI and select Help for additional details about each VI.

-Nate
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 Button Motor!!! HELP!!! furiousgeorge Programming 3 07-02-2009 22:57
Joystick Button Programming in Labview Help Needed domoarigato NI LabVIEW 11 28-01-2009 10:55
Button making Alex Burman Team Organization 7 10-10-2005 21:45
Button Programing BobcatProgramer Programming 6 25-02-2004 16:43
Button types Scottie2Hottie General Forum 7 27-03-2002 00:13


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

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