Go to Post Clearly and clearly, the go-to place is Chief Delphi. It connects all the dots. - JaneYoung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 27-02-2012, 09:43
tjakowenko tjakowenko is offline
Registered User
AKA: Tom Jakowenko
no team (Pirates of the Pythagorean)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Hartford, ct
Posts: 12
tjakowenko is an unknown quantity at this point
Problems using the labview templates in ftc

We have several descrete vi's to move 180 degree servos. Everything works fine when a descrete function is mapped to a game controller button. However when the code is placed in the respective parts of the template by "generating code" when a button is pressed to move one motor other motors move in addition.

We can't figure it out. Any insight would be very welcome.

Thank you in advance.

~TJ
Reply With Quote
  #2   Spotlight this post!  
Unread 27-02-2012, 10:34
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,113
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: Problems using the labview templates in ftc

Showing us your code would help us help you figure out what's going on.
Reply With Quote
  #3   Spotlight this post!  
Unread 27-02-2012, 10:43
tjakowenko tjakowenko is offline
Registered User
AKA: Tom Jakowenko
no team (Pirates of the Pythagorean)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Hartford, ct
Posts: 12
tjakowenko is an unknown quantity at this point
Re: Problems using the labview templates in ftc

Attached is our teleoptank.vi. thank you for your quick response I'm taking the day off of work to try to resolve this issue
Attached Files
File Type: vi teleoptank.vi (66.7 KB, 8 views)
Reply With Quote
  #4   Spotlight this post!  
Unread 27-02-2012, 15:01
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,113
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: Problems using the labview templates in ftc

I don't know FTC programming, so I don't know how much help I'm going to be. I hope someone else will be able to chime in with useful advice.

What I see from this program is that buttons 1, 2, and 4 on Controller 2 will all cause servos 1 and 2 to change position. Buttons 5 and 7 on Controller 1 drive in different directions at power 75. POV up on Controller 2 zeros servo 3.

If this isn't what you want to happen, something isn't set up right.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-02-2012, 20:58
tjakowenko tjakowenko is offline
Registered User
AKA: Tom Jakowenko
no team (Pirates of the Pythagorean)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Hartford, ct
Posts: 12
tjakowenko is an unknown quantity at this point
Re: Problems using the labview templates in ftc

Thank you for the feedback. Your interpretation is correct. Unfortunately, servo 3 moves when servo 1 and 2 are being commanded.
~TJ
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 11:28.

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