Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Error problems (http://www.chiefdelphi.com/forums/showthread.php?t=134115)

Mark McLeod 07-02-2015 22:13

Re: Error problems
 
The problem is your motor code only runs once when the robot starts and never again, because of where you placed it in Periodic Tasks.

Two solutions:
  1. Move the motor code to Teleop.vi, because Teleop gets called over and over again by Robot Main, so your motor code will get called every time new joystick commands are received.
  2. Move the motor code into the 10ms loop in Periodic Tasks. Because that loop gets repeated over and over again, calling your motor code over and over again.

Team5709 08-02-2015 08:47

Re: Error problems
 
ok i will try it today and i'll let u know if it works

Team5709 24-03-2015 15:05

Thanks to every one who helped we did get are robot running in time to compete

aeastet 13-05-2015 08:45

Re: Error problems
 
Where are you at in Michigan? I might be able to help. If not I know other teams all over Michigan. This might be useful for next year.

Tim


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

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