Go to Post The true beauty is, no matter what the game (Yes, even 2001), we spend these 6 weeks going crazy with design strategy, and trying to figure out a way to work the plot twists that the GDC throws at us...and its a blast. - Andy Grady [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 13-02-2010, 11:24
tommy0019's Avatar
tommy0019 tommy0019 is offline
Registered User
FRC #2957
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Minnesota
Posts: 23
tommy0019 is an unknown quantity at this point
Button help

This is my first year programing and our team needs help programing buttons. We are looking to be able to run a CIM motor using imput from the joysticks but have run into some problems.

How can we get it so that the motor spins 360 degrees when the button is pushed and resets after the button is pushed. We don't want to hold down the button to have the motor go but have the motor go with one push of the button. Is is possible for us to get any examples of this?

Also how do we set up initializing the motor and joystick with the begin vi? There is some confusion among our team about how the main code flows and initializes and finishes things since the main project is different visually from last year. Do we have to set up each joystick in the Begin vi and add the motor there? Do we have to put our teleop code inside the case structure or can we leave it in the execute loop outside the case structure?

Thanks.

Last edited by tommy0019 : 13-02-2010 at 11:48.
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
Button programming help interplanetary Java 3 17-02-2010 13:01
Help Reading Joystick button Values PlaidPillagers NI LabVIEW 1 11-02-2010 11:27
Button Help brainsdmaner NI LabVIEW 3 11-02-2009 18:06
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


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

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