Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Problems using the labview templates in ftc (http://www.chiefdelphi.com/forums/showthread.php?t=103878)

tjakowenko 27-02-2012 09:43

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

Alan Anderson 27-02-2012 10:34

Re: Problems using the labview templates in ftc
 
Showing us your code would help us help you figure out what's going on.

tjakowenko 27-02-2012 10:43

Re: Problems using the labview templates in ftc
 
1 Attachment(s)
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

Alan Anderson 27-02-2012 15:01

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.

tjakowenko 27-02-2012 20:58

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


All times are GMT -5. The time now is 17:10.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi