DYNAMIXEL RX-64 Y LABVIEW

Hola Buenas Tardes.
Adquiri recientemente un servomotor dynamixel rx-64, y me gustaria utilizarlo con labview. Desafortunadamente no he podido hacer funcionar el servo con el programa dynamixelsyncwrite que viene en el tutorial http://zone.ni.com/devzone/cda/tut/p/id/12557 . Cabe mencionar que el servo me funciona de maravilla con Dynamixel Manager que adquiri de la pagina de dynamixel. Pero me gustaria trabajarlo con labview. No se alguien me pueda orientar respecto al tema, lo agradeceria mucho.

Entonces si ya tienes la librería es muy sencillo, solo necesitas 4 íconos para hacerlos funcionar de manera sencilla, el primero es el de inicializar, el de leer, el de escribir y el de terminar.
El programa que adjunto es de los primeros que realizé, solo recuerdo que en el ícono de leer debe de llevar la constante de 36 y el id del motor, también el ícono de escribir debe de llever la constante 30 y el id.
Y me parece que el 3.14 es un factor de conversión.
Adjunto el programa y si tienes alguna duda hay comentas.
Attachments:
LV 2010 M-4 DYNAMYXEL.vi ‏18 KB

Similar Messages

  • Control multi dynamixel AX-12 with LabView

    I need help controlling 2nd Dynamixel AX-12 from LabView based on "Dynamixel Sync Write Example" code.
    We used one USB2 dynamixel to control one dynamixel ax-12 from Labview. It worked well.
    Recently I added another ax-12. The two ax-12 are in series. USB2dynamixel is set to TTL. The Labview code generated dual control front panal automatically. Controlling one unit is good. But controlling the 2nd ax-12 is a problem:
    The ID seems incorrect according to USB2dynamixel chart: the unit next to the USB should be #0, the one in series with #0 should be #1 and so on. On my setup, I couldn't find a correct ID associated with the unit next to the USB. The one in series with it is #1. Only #1 responds correctly to front panel control.
    When click "run" 1st time ax-12 #1 will rotate according to set positions. click "run" again, the other ax-12 will rotate according to #1's set positions, not its own positions. The other unit's ID can be set any number, and results are the same.
    Has anyone used the same LabView code to control more than one ax-12 with USB2Dynamixel? Anything I have missed? Appreciate your inputs.
    Attachments:
    front.PNG ‏53 KB
    block.PNG ‏38 KB

    Thanks, Drew
    You are correct that the code is from NI example less while loop. I did repeated runs, results are the same as two single runs.
    I just traced the executions and recorded header and checksum parameters for ID #1 and #2 for debugging. I placed two sets of positions to separate ID#1 and ID #2:
             Control      Dial      Position      Manual pos
    ID#1      0           off         60              160
    ID#2      1           on        100             200
    There is only one set of header and checksum value being passed in the program. That might explain only one set of position (ID#1) was set, the other one (ID#2) was ignored.
    Does that make sense?
    Anne
    Attachments:
    111026 dynamixel.pdf ‏198 KB

  • LabVIEW with the Robotis Dynamixel AX-18A

    Hi,
    I am having trouble using the Dynamixel AX-18A with labview. I have found some examples but they all utilize this servo in Joint mode and I am wanting to use it in Wheel mode. Does anyone have any suggestions or examples for me. I cannot seem to alter the VI successfully to accomplish what I'm after. Any thoughts help.
    Thanks,
    -Isaac

    Hello, Isaac
    I recommend posting your code if possible. Otherwise, it might be hard for others to help you if they can't see what you're already trying. Also, if you have the links to the tutorials that you have been following then that may be able to provide some more insight into this problem.
    Thanks,
    Ryan

  • Pilotage moteur dynamixel via LabVIEW

    Bonjour a tous , 
    J'aurais aimé savoir si il existe des commandes a envoyer sur LabVIEW pour communiquer avec mon servomoteur 
    Dynamixel H54-100-S500-R ou si il existe des VIs existant ?
    Merci par avance pour vos réponse.

    Merci pour votre réponse,
    C'est de l'UART , la clé d'interface nommé "USB2DYNAMIXEL" utilise l'interface RS-485 pour communiquer avec le servomoteur .
    Je pense que je dois utiliser les commandes de ce site la avec une interface VISA et le SDK de Robotis avec labview (sous VIs)
    http://support.robotis.com/en/product/dynamixel_pr​o/dynamixelpro/control_table.htm
    Mais je n'arrive pas a communiquer et regler correctement le port ....
    Ci-joint je poste une image montrant qu'il y a un soucis au niveau du VISA test panel .
    Pièces jointes :
    Capture NI-VISA panel.PNG ‏52 KB

  • LabVIEW with the Robotis Dynamixel AX

    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

    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
    Attachments:
    Single_Servo_Control.vi ‏15 KB

  • Dynamixel Servos and Labview

    Hello all,
    I'm looking for some help with my labview and dynamixel project. I'm building a small robot to greet engineering students at the local community college. I have him built but am getting stuck with the programming. Here is a link to the images of the robot if interested. http://ola2.aacc.edu/tmcallinan/TC_Portfolio_Mick.htm
    I'm using labview via a USB Dynamixel to control 8 AX-18 servos. My robot has 2 arms and i'm (trying) to create a program. The left arm is free to move - whatever i do to the left arm i want the right arm to replicate. Im using the dynamixel labview SDK to control the servos. Firstly i open up my COM port then set the max torque and speed for each of the servos. Next i turn the torque OFF for the left and and ON for the right arm. In the main section of the program (its in a while loop) I'm reading what the positions of the left arm are and setting the desired position of the right arm to these numbers.
    What happens:  The right arm will follow whatever i do to the left arm - For about 5-6 seconds and then nothing - i need to restart the program. I think the problem is with the USB dynamixel. I'm sending and receiving too much data for it to handle? Im thinking this because if i put a delay in the loop say 500ms it keeps on working. 
    Maybe there is someone out there who has done this before and can see my mistake or give us a bit of advice. Any help is appreciated.
    Thanks - Tim
    Attachments:
    MIRROR ARM MOVEMENT.vi ‏33 KB

    Voila!
    I think I found the solution.  I did some googling, and stumbled upon this configuration page regarding the USB2Dynamixel:
    http://support.robotis.com/en/software/dynamixel_sdk/usb2dynamixel/usb2dxl_windows.htm
    Towards the bottom of the page, it tells you to adjust the Response Time Adjustment in the Windows Device Manager.  Its some sort of latency timer that can be lowered to correct communication problems.  By lowering the value to 1, as indicated, my problem was solved.  Just ran a bunch of tests and it works great now!

  • VISA Error -1073807194 When trying to connect to Dynamixel MX-28

    VISA Error -1073807194 When trying to connect to Dynamixel MX-28
    I'm trying to connect to a Dynamixel MX-28 and receive the above error when I run my VI.
    The COM ports detected by the VI match the ones that I see in Windows 7 Device Manager.
    Any other ideas?
    I've attached the code I'm running below.
    Attachments:
    Single MX-28 Position Control.vi ‏23 KB

    slow wrote:
    I had no idea, actually. I'm just learning Labview (and was handed this code by the previous guy). I appreciate the help.
    I'm guessing I need to replace the "VISA resource name" and "VISA resource name out" blocks (that are currently in the above linked VI) with the "VISA configure serial port" block?
    In a related question, what would be the best way to expand this so that a larger number of servos could be controlled at once?
    Would I just make multiple copies of the current blocks (with several position knobs on the front panel)? Would that make the most sense?
    LOL I was making fun of the unusual place that NI put the VISA serial config, not being sarcastic about you not finding it.  Sorry about that. 
    The config will go right before your write.  If you turn on context help (the little ? in the upper right corner) and mouse over the various things on the block diagram and front panel, you'll see how to use them. 
    Not really sure about a desing suggestion.  An array of position knobs to be indexed accordingly?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Open and close multisim contact with LabVIEW

    Can I open and close multisim contact with labview and read the receptor estatus (p.e. lamp)?
    Thanks.
    Attachments:
    Dibujo.JPG ‏13 KB

    Hi Guddan,
    I created a RFC having a query which is taking a long time to execute. So i want to close RFC connection with portals which is via java connector(JCO) before that query and open the connction again after that query.
    I guess i will need to understand your requirement a little more in detail, as i understand you have an RFC which has a query within to fetch some data and is taking a long time to do so. In the meantime you don't want to keep the connection open?
    My question would be, Is the role of this RFC to only execute the query and fetch the data or does it do something else?
    If it does other things and these are independent of the query execution, then you can span a parallel call within the RFC to execute the query and in the meantime the RFC does the other things (or vice versa) hence reducing the overall time taken.
    If the sole purpose of this RFC is to execute the query, then you will not be able(i mean to say there is no simple and direct way of doing this) to close the connection after the Query is started and re-establish the connection after its execution, for a simple reason that - how will you know if the query has completed it's execution, so that you can establish the connection back.
    Alternate solutions, make this a two way asynchronous call, 1) You invoke the RFC asynchronously and close the connection, the RFC in turn will execute the query and transfer the data to JCO via another RFC call.
    If this needs to be a synchronous call, then you will need to optimize the query to its best.
    Regards,
    Chen

  • LabView Exe Applicatio​n file not launch Excel applicatio​n for report generation

    Dear All,
    I created one LabVIEW application file for report generation (using Excel Template).
    While I run the program in programming mode it works well and create the report file in the specified path.
    After creation of the application file(exe), it gives the correct path of where the excel template is placed. The same path is given to New Report.vi, but it gives the error 'File Not Found'.
    Tell me, is any other configuration required for generating Excel reports? (During exe application mode)
    Give me the solution.
    Thank You
    Jegan.

    Hello,
    Most likely you are encountering a problem of stripping and/or building paths.  Probably the easiest thing to do is put a couple indicators on your front panel for the path or paths you care about, build your exe, and make sure you are really using the path you'd like.  If you always put the report at some deterministic place relative to the exe (that is, even it the exe is moved, it will go with the exe and remain in the same relative path location, then you can use the Current VIs Path funtion found in the ... File I/O -> File Constants palette as a start path (where you will want to strip at least the exe name off of course).
    I think this will bring some clarity to the issue!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • Error involving Report Generation Toolkit and Labview Run Time Engine

    Developed an application using LabVIEW 6.1 and LabVIEW Report Generation Toolkit for Microsoft Office 1.0.1. From there, tried to build a shared application for use with the LabVIEW Run Time Engine. The Run Time version functions properly until "New Report.vi" is called and then an error is generated, code 7, calling out "Open VI Reference in New Report.vi" could not be found. When building the application, I did include the "NI Reports Support" in the advanced installer options. The machine used for original development and application build is running Windows XP Pro and Office XP. Any suggestions??

    I am having the exact same problem but with LV 6.1 and M/S WORD 2000. It appears that the "New Report.vi" is trying to open "C:\APP.DIR\Word_Open.vi" and "C:\APP.Dir\Word_Open_Document.vi" by reference. The "OFFICE 2000.TXT" says that "_exclsub.llb and _wordsub.llb must be added as support files when building an application or a dynamic link library with the application builder." I added them as Support Files and I copied them to the "C:\TESTER\" where the TESTER.EXE is and I still get ERROR 7 in "NEW REPORT.VI" at VI OPEN REFERENCE.
    Do I need to make a "C:\TESTER\DATA\" sub-dir and put the support files there?
    I am building on MY COMPUTER on F: Drive on a network and transporting files to the real Tester.
    I displayed my App.Property of APP.DI
    R at start up and it is C:\TESTER\ ! How would my application know that "Word_Open.vi" and "Word_Open_Document.vi" are actually inside the _wordsub.llb?
    Any ideas ?
    Greg Klocek

  • Why do I get "The exception Privileged instruction (0xc0000096) occured in the application" error message when exiting LabVIEW 6.1?

    I have created a vi that uses the LV-GPIB and database connectivity vis. The program runs fine and it ends execution by running the "Close Database Connection.vi".
    After closing out my front panel windows and exiting LabVIEW 6.1, I get an error dialog box that reads the message "The exception Privileged instruction (0xc0000096) occured in the application". What does this error mean and how do I resolve it?
    Thanks,
    Taf

    Hi Taf,
    Given the broad scope of your application, it may be best to try and isolate the problem down by taking out parts of your application and simplifying it down as much as possible until you can get a consistent version that throws this exception. I would first try to take out either the GPIB or database connectivity portions of the application to narrow down our problem. This error generally occurs when accessing DLLs and external applications, so I wouldn't be surprised if it's the GPIB or database. Let's try to see exactly which one it is and then we can dig deeper into that part of the code. Thanks for your cooperation!
    Jeremy L.
    National Instruments
    Jeremy L.
    National Instruments

  • How to run downloaded drivers on Fresh Install of Labview 6.1 on a Mac G4 OS 9

    I have just completed a fresh install of Labview 6.1 on an Macintosh G4 running OS9. I can run it and it seems to work just fine. I downloaded some drivers for an oscilloscope (HP 546XX) to run with an HP 54603b. When I installed, I went to open the 'Get Started.VI' I get a freeze and have to force quit out of labview. I am not sure how to resolve this. I am pretty sure that it is independent of the device, since I can open the vi's at least on another computer with no hardware attached. So I guess to boil my situation down. I have 2 questions:
    -How do I get a fresh install on a mac G4 OS 9 to run downloaded drivers from the internet
    -How do I ensure that I have the hardware configured on
    a macintosh to run properly.
    I really have little experience with macs so I am not really sure what my options are or what could be the problem so any assistance would be much appreciated.

    Hmmm. I wonder if NI-VISA isn't installed correctly on this machine.
    When LabVIEW loads a VI that uses a VISA name control on the front panel, it queries VISA for the installed devices. Sometimes this takes a few seconds, but maybe in your case, something has been corrupted and it's hanging.
    To try to narrow this down, first run the separate program "VISAConfig". This should list your devices. If this works, this means it's pretty likely that VISA is installed correctly.
    Next, run LabVIEW. On an empty front panel, select the "Controls->I/O->VISA Resource Name" and place it on the front panel. When you click on the arrow on this control, you should see a list of your devices. If this works, then that indicates that LabVIEW is successfully talking
    to the VISA software.
    If both of those succeeded, then we have to take a closer look at this particular instrument driver. Can you drop other VIs (say, Initialize or Close) without hanging?
    If either of the first two steps fail, I'd suggest that you reinstall the VISA software. You may want to try the latest version of NI-VISA (from ni.com), but first confirm that it supports LabVIEW 6.1.
    I hope this helps.
    Brian

  • Convert PXIe-8135 controller to dual-boot Windows 7 and LabVIEW RT

    Hello. I have a PXIe-8135 controller that originally was just running Windows 7. We are trying to convert it to a dual boot system to also run LabView Real Time. (There is host computer that will run LabVIEW 2014 with the RT module, and the controller will become a target).
    I have created a FAT32 partition on the hard drive of the controller. Now, I’m trying to install the real-time OS with a USB flash drive made using the MAX utility, but I cannot boot using the USB drive for some reason. I keep getting the message “waiting for USB device to initialize”.  
    In BIOS, legacy USB support is [ENABLED] and boot configuration is set to [Windows/other OS]. I’ve tried removing the drive, waiting, and reinserting. I’ve tried two different USB drives (both 8 GB, different brands).
    I’m not sure what to do next. Apart from the USB boot issue, is converting the PXIe-8135 even possible?  I read about SATA/PATA hard drive issues with older controllers, but I don't know about this one.
    Thanks, in advance, for your help!
    -Jeff
    Solved!
    Go to Solution.

    Per Siana's licensing comment, more information on purchasing a deployment license if you do not have one for this target can be found here.
    The RT Utility USB key is used to set up non-NI hardware with LabVIEW Real-Time, but you should not need it in this situation to convert to dual-boot (*). Try this:
    1. Since you already have a FAT32 partion created, go into BIOS setup and change to booting 'LabVIEW RT'.
    2. The system will attempt to boot LabVIEW RT, see that the partition is empty, and switch over into LabVIEW RT Safe Mode. (this safemode is built into the firmware, which is why you don't really need the USB key).
    3. The system should come up correctly and be detectable from MAX, and you can proceed with installing software.
    4. To switch back to Windows, go back to BIOS setup and choose 'Windows/Other OS'
    (*) One area where the USB key is helpful on a dual boot system is with formatting the disk. If you want to convert from FAT32 to Reliance on the partition designated for LabVIEW RT, the USB key lets you attempt to format a single parition and leave the rest of the disk untouched. If you format from MAX, the standard behavior is to format only one RT partition if found, but if not found, it will format the entire disk.  Formatting from MAX on a dual boot system is consequently riskier and you could lose your Windows partition.

  • Some fonts are not shown correctly in LabVIEW 2012

    I found a bug related with fonts in LabVIEW2012 f3 KR.
    - When I select NI7SEG in font selection dialog, right font is not shown in the example box.
    - Draw text at point.vi shows same problem for some fonts while other fonts are working.
    I reported it to Korean NI. As far as I know, this was not reported in previous versions and I couldn't find any related documents in Google. 
    So, here I would like to know whether it is related with only Korean version. Please let me know if English version is OK. 
    * OS: Windows 7 32bit KR

    Just now, I installed LabVIEW 2012 f3 (32-bit, English) and checked for the issue. But the font(NI7SEG) was not shown properly in VI either.
    - Both of Korea and English version of LabVIEW 2012 on Win 7 Korea OS shows wrong results. It is same on 64-bit OS.
    - LabVIEW 2010 but on same PC shows correct fonts.
    Is there a limit of number of fonts in LabVIEW? There are more than 100 fonts are shown in the "Selection Font" dialog and I can divide them into 3 groups by sequential order. I find that all fonts in the 3rd group are not applied correctly.
    (1st group)
    Arial Unicode MS...
    Bookshelf Symbol 3....
    Windings 3
    (2nd group)
    @Arial Unicode MS...
    @Terminal
    (3rd group)
    Arial...
    Consolas...
    Courier...  
    Licida Console... 
    NI7SEG...
    Verdana

  • Comunicação entre Labview e ANSI's.

    Estou definindo Projeto de Graduação e estou interessado em trabalhar na integração entre Labview e ANSI's na análise de elementos finitos. Gostaria de saber se alguém possui alguma informação sobre o tema.

    Voce poderia ser mais especifico com relacao a informacao que voce esta precisando?
    Atenciosamente
    Filipe A.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • The folder path 'c drive' contains an invalid character

    is what my pc says when i try to open itunes. it immediately stops the installation and says its a fatal error during installation. this just occurred & i just updated my itunes. i recently put all my music on an external hard drive - i tried to down

  • How to find out the destination of an "Adaptive RFC Model - DEPRECATED"

    Hi All, How to find out the destination of an "Adaptive RFC Model - DEPRECATED" of an running application and Where is the destination created in the server . I have got the code of the running project from NWDI . Thanks in Advance Regards Piyas Kuma

  • In need of a personal tutor

    Any expert interested in answering specific/advanced questions about MM/SD interfaces and enhancements -- analyze and assist with code? Would like someone to be available to IM daily -- may have dumb questions. E-mail me if interested. Edited by: Aba

  • Read along for iBooks Author

    Is there a way to integrate the Apple extensions to Epub 3.0 that activate the 'read along' feature of iBooks2? These comprise, essentially, additions to the Document declaration in the XHTML source plus the inclusion of a SMIL file and an audio file

  • How to pass parameter to search help

    Hi, I have created a search help( zv_region) for a screen field(region) and assigned that search help( zv_region) to  screen attributes of screen field (region). But i have two fields in my screen. These two fields i am not taking from table or struc