I am using a DAQ card USB 6008 to try to control a servo on a robotic arm. I am sending a TTL signal out of a serial digital output. What should happen is that if i send out the propper freaquency and duty cycle, the servo should move and hold its postion. But when i send out the correct signal the servo moves past the correct angle without stopping while making jerky movements and will max out the range of motion and start shaking the arm. I have tested the servo using a function generator and i can get the servo to work correctly using it.
I'm using the Simulate Signal Express Vi. to generate the squarewave and i connected that to the DAQ Assistant Vi. where the signal is sent out a serial digital output. That is all inside a while loop.
Could the problem be the the DAQ is a USB and that it is causing problems with signal generation to the servo? i have no idea, i am new to labview and controlling servos. Any help would be greatly apperciated.
thanks,
eric