01-04-2008 09:09 AM
It would be very helpful if someone could help me converting this code compatible with Labview 8.0.
Also, I cannot use counter output to create PWM because of the inability of my device. Therefore, I need a program that gives digital PWM output. To control my servos, I need to give pulses between 1ms - 2ms(to control the position of servo) and update time of 20ms between each pulse. I believe the code I mentioned above will work but any other improved codes would also be very helpful.
01-04-2008 01:21 PM
By the way, I forgot to mention that my servo motors are simple RC hobby servos. Any VI to control RC servos would be very helpful.
Thanks again.
01-07-2008 12:14 PM
01-08-2008 07:28 AM
Thank you for your concern. I see that software timed pulses are not accurate enough for me. I have to give the pulses between 1ms and 2ms and wait 20 ms between each pulses. Is it possible to do this task with USB 6501? I'll be very glad if you can give any idea to control RC servos with USB 6501. I tried several ways but I couldn't succeed.
Thanks.
01-10-2008 08:40 AM
Hello,
An example that might be helpful is PWM-Counter Output.vi. Please look up this example through the example finder by searching PWM in the search tab. Click once to highlight the example and read the summary Information and glance at the Requirements in-order to see what cards are compatible with the example. The NI USB 6501 would not be able to this type of counter output for three servo motors since it only has one counter. I would suggest looking at the example listed above and simulating one of the cards listed in the Requirements section. This way you can start developing your software or use the example code to see if this will suit your application prior to purchasing hardware. To simulate a card, open Measurement and Automation Explorer (MAX) and right click NI DAQmx Devices under the Devices and Interfaces menu. Select Create New DAQmx Device.
05-08-2009 08:47 AM
05-12-2016 11:34 AM
I downloaded your VI, and it was very helpful, but, I need some help about how I command, individually, each line, I mean, set a different duty cycle, for each specific line, for example.
Thank you.