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.