Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Motor Program Issue (http://www.chiefdelphi.com/forums/showthread.php?t=134031)

RafaelRamosV 05-02-2015 14:43

Motor Program Issue
 
Hi partners, I have this little problem, I built a simple code to control the rotation of a motor with two buttons of the joystick, at the moment I tested it, it worked fine to the left, but when I try the right the motor stop and start, then stop and this become a cycle, we try the same code with another computer and it worked perfectly at the first time, so I donīt know what to do, I already update labview but still the same

Alan Anderson 05-02-2015 15:00

Re: Motor Program Issue
 
Those symptoms are pretty specific. What you have probably done is set up two different pieces of code that each set the motor to either run or stop. What you need to is to connect them so that the motor is only being set in exactly one place.

If you're using Select functions, delete the Motor Set after the first one and wire its output instead to where you used to have a 0 going into the second one.

If you're using Case blocks...use Select functions instead. Look here for an example of how to do it.

RafaelRamosV 05-02-2015 16:24

Re: Motor Program Issue
 
I have already done that and keep having the problem :S

Alan Anderson 05-02-2015 16:31

Re: Motor Program Issue
 
Show us your code.


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

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