Go to Post What’s in a name? That which we call a robot, by any other word would smell of magic smoke. - Jack Jones [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 03-04-2009, 14:47
Cuse's Avatar
Cuse Cuse is offline
Registered User
AKA: Matt Mancuso
FRC #0175 (Buzz Robotics)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Enfield, CT
Posts: 22
Cuse is an unknown quantity at this point
Re: Button Programming Error?

Rather than opening the motors repeatedly for each case, I would instead have a single Open Motor for each outside of the loop and a single Set Speed for each within the loop, and simply have the speed values as the case selects.

Instead of doing 2 seperate cases structures for identical motors, also just use an Or operator on the selector input for the button inputs.
Attached Files
File Type: vi Basic Robot Main.vi (52.3 KB, 74 views)
__________________


Last edited by Cuse : 03-04-2009 at 14:53. Reason: Added modified VI
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: Is this right? greatman05 NI LabVIEW 12 13-02-2009 16:02
Programming a joystick button... programmr Programming 2 05-01-2009 16:13
button programming joesmomh00haha Programming 12 10-02-2007 10:36
Joystick Button programming Bharat Nain Programming 5 18-02-2005 11:48
Arm Rotation (1 Button Programming!!) Joelster Technical Discussion 1 14-02-2002 13:15


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

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