07-24-2015 12:36 PM
Hello everyone,
I want to control RC servo using LABVIEW. I am using NI USB X-6353. Let me explain the setup detail. I have connected the signal wire of the servo to counter output (port2/line5) to produce PWM signal. The VI is given below. As I understand the theory of RC servo, it has a nutral position at around 1.5ms (7.5% duty cycle for 50Hz PWM). and if I increase or decrease the duty cycle , then the servo will rotate either direction respectively. Anyway right now my problem is that the servo is rotating contenuously. Changing the duty cycle, either speed up or change rotational direction but never stops the servo unless I hit stop. I need my servo to be fixed in position after desired rotation. plz help.
07-27-2015 02:55 PM
07-29-2015 12:47 PM
hello,
I have tried with finite sample but in this case its rotating less time but still not performing as it should be. I mean its initializing its nutral poition in each iteration and moving forward. never stops in desired postion. plz help.
07-29-2015 01:56 PM