Go to Post You have the rest of your life to play video games. Time at an FRC tournament is precious. Use it wisely. - gblake [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 13-02-2015, 19:50
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Difficulty Getting the Pulley to Move Down (Suspicions of a Programming Issue)

You're using buttons, aren't you? Your code is almost certainly controlling the motor in two different places. The "down" part executes first, just by chance, and the "up" part immediately overrides it.
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2015, 14:40
MegaQueen MegaQueen is offline
Captain of Team 1159
AKA: Samantha Bordador
FRC #1159 (Ramona Rampage)
Team Role: Driver
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 4
MegaQueen is an unknown quantity at this point
Re: Difficulty Getting the Pulley to Move Down (Suspicions of a Programming Issue)

Quote:
Originally Posted by Alan Anderson View Post
You're using buttons, aren't you? Your code is almost certainly controlling the motor in two different places. The "down" part executes first, just by chance, and the "up" part immediately overrides it.
Here's the case structure for what we are using and how our buttons are programmed.

Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2015, 16:57
MegaQueen MegaQueen is offline
Captain of Team 1159
AKA: Samantha Bordador
FRC #1159 (Ramona Rampage)
Team Role: Driver
 
Join Date: Apr 2014
Rookie Year: 2013
Location: United States
Posts: 4
MegaQueen is an unknown quantity at this point
Re: Difficulty Getting the Pulley to Move Down (Suspicions of a Programming Issue)

[quote=MegaQueen;1443996]Here's the case structure for what we are using and how our buttons are programmed.

We figured it out, we changed the case structure for different code.
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 10:24.

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