12-02-2013 12:15 PM
hi! im trying to use LabView to control 2 or more Dynamixel AX using the USB2Dynamixel. Has anybody some code example? how to control the speed? degree rotation? cause i just find some example but using other kind of dynamixel actuators or using a CM contoller.
thanks
12-02-2013 05:31 PM
Hi xaviK,
You will have to download Dynamixel SDK driver. Here is the link http://support.robotis.com/en/techsupport_eng.htm#product/dynamixel/ax_series/dxl_ax_actuator.htm
This is the Labview example in case you have not seen it yet http://support.robotis.com/en/techsupport_eng.htm#product/dynamixel/ax_series/dxl_ax_actuator.htm
I am using MX 64 dynamixel(4 of them in series). I am guessing the Library functions should be the same for AX series.
Attached is the simple example in which you can change/ control speed, acceleration, degree rotation by setting the value of COM port and baud rate
12-03-2013 12:16 PM
Thanks Sshenoy,
I tried but it doesn't work.... I mean, i downloaded Dynamixel SDK driver for labView and i get all this new functions (dynamixel.lvlib: dxl inicialize.vi...) do you have any tutorial or some information for beginers? cause i tried to execute your Single_Servo_Control.vi and the example .vi on the link you passed me, but they doesn't do nothing....
Any help would be amazing!
Thanks.
12-03-2013 12:57 PM
Hi xaviK,
I followed the same link which I sent you. The following section : Software help-> Dynamixel SDK-> USB2Dynamixel-> Windows-> Labview has Labview setup procedure and examples (read/write and sync write examples ).
I believe you have already setup the ID for each servo (Using Dynamixel Wizard). Default ID of the servo is one. So if you are using 2 servos, you will have to change one of them to differnent ID value
Make sure to add the Dynamixel Library function in Labview.
I am not sure where exactly you are stuck. Please specify the errors so I can help you more .
-Sahana
12-04-2013 09:17 AM
Hi Sshenoy,
well the problem is that when i execute the examples the initialize fails, and dont know why, because i know the id of actuator (2) and the the com port(3). so im confused cause i havent changed nothing else.... i attach you a screenshot.
if you know anywhere i can find more information or what im doing wrong would be so nice.
Thank you a lot.
12-04-2013 11:57 AM
Looks like you have to set the baud rate = 34, I had similar problem. 34 is the default baud rate for these servos. You can check/ change the EEPROM parameters of the servo using Dynamixel Wizard. Basically if you have set baud rate =1 in your program make sure your EEPROM baud rate parameter is changed to 1 too.
Hope this helps you get moving !
-Sahana
12-04-2013 05:58 PM
Did it work ?
12-05-2013 04:15 AM
No it doesn't...
Thanks anyway
12-05-2013 11:52 AM
Hi xaviK,
I have attached a RX series manual. You might have already seen it .
Also this is a NI - dynamixel tutorial http://www.ni.com/white-paper/12557/en/
12-09-2015 02:47 PM
Hi Sshenoy!
I'm using 2 Dynamixel MX-64 servos (the same as you) and I have them connected in series. I downloaded your vi to try to modify the velocity and the possition of one of them but it doesn't work, it didn't do anything and I wonder if I have to send any specific bit or to configure something else before to start working.
Your vi looks very simple and I have checked one of the examples from the robotis web page (I add an image to this message) which use the visa serial to initialize and to open de serial port, at the end it uses the visa close to close the serial port, so I have the doubt, do I need to use them even if I use the dynamixel library?
Thanks!
Iván