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

Similar Messages

  • 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

  • How to use labview with the handyboard

    Hi,
    how to use labview with the handyboard
    Thx...

    I'm assuming you're talking about this, since you didn't provide a link for those of us who don't know what you're talking about.
    As the other poster said, you didn't say how you want to use LabVIEW with it.  If you want to write LabVIEW programs than run on the microprocessor, then you're out of luck.  If you want LabVIEW to interact with it, then you've got a couple of options, SPI probably being the best, but it also has DI and AI that you could use to communicate with it - the DI's could be used as a parallel interface.
    Message Edited by Matthew Kelton on 12-17-2007 02:21 PM

  • Has anyone done work in LabVIEW with the LLRP protocol for RFID readers?

    [cross-post]
    Has anyone done work in LabVIEW with the LLRP protocol for RFID readers?  I've googled around and didn't find anything.
    Message Edited by Jim Kring on 10-31-2008 10:45 AM

    Hi G-Money,
    The communication will be over TCP-IP.
    Thanks for your offer to help.  I don't really need assistance in figuring out how to communicate with the device in LabVIEW at a transport layer.  I'm just trying to take inventory on what's already been done, at a messaging protocol level, that could be useful as a reference or starting point.
    Thanks,
    -Jim

  • Labview with industrial robot connection

    Hi,
       I am in the field of industrial Robots Automation and I am impressed with Labview. So I am plannig to use this as HMI for our industrial robots. Can you please tell me is it possible to connect labview with ABB, Commau, Motoman, Fanuc and KUKA. If yes can you please send me the details.
      I saw a third party software called imagin lab but they are doing only for kuka, denso and mistibushi. 
    Thank you

    You've listed 5 different robot types, and while I'm sure that if those robots are able to communicate with any outside resource they'll be able to do so with LabVIEW; they are five different types of robots and will probably require different LabVIEW solutions for each. 
    The robot model and the specifics of exactly what type of communication you're looking for are also required to know "how to do it."
    A couple of quick searches tell me that OPC may be required for some of the robot types you listed.   A good place to start with that is here: http://www.ni.com/opc/
    Without the specific details it will be difficult to locate an existing solution.  
    If a custom solution is required, you may be able to find some assistance creating one on the forums.  But again, details will be requried.   
    Patrick Allen

  • I would like to convert a continuous waveform (created in Labview with the waveform generator vi) into digital form...am I on the right track (see below)

    I would like to simulate a sample and hold circuit. I was thinking of using the zero order hold vi (for continuous to discrete conversion) in combination with the AC to DC vi? Am I on the right track, or could anyone suggest a better way to do this? Many thanks in advance! 

    Hi,
    The answer to this question was answered in the forum post below:
    http://forums.ni.com/t5/LabVIEW/How-can-I-create-and-sample-and-hold-circuit-in-Labview/m-p/2369050#...
    If this question is different then please clarify and let me know. 
    Regards
    Arham H
    Applications Engineer
    National Instruments

  • More trouble with the robot class (takin a screencapture)

    I have created a small label which can have a transaprent background, and through the help of people on this forum, I am tryin to make it more robust. My latest task involves adding a component listener, and changing the background image when the parent component is moved.
    Unfortunately, the background image is not being changed, but I dont know why. When I slow things down with a debugger, it seems that all of my x and y coordinates are correct, but the background image remains the same.
    If you give it a shot, you will be able to see what I mean:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    public class LabelTest extends JWindow {
         static int x=300, y=300;
         public static void main(String[] args) {
              JFrame frame = new JFrame();
              frame.setPreferredSize(new Dimension(300,400));
              final LabelTest l = new LabelTest(frame, new Point(500,500), "My long string 222333111444555");
              l.setFont(new Font("Tahoma", Font.BOLD, 14));
              frame.addComponentListener(new ComponentAdapter() {
                   public void componentMoved(ComponentEvent e) {
                        x+=5;
                        y+=5;
                        l.setLocation(x,y);
              frame.pack();
              frame.setVisible(true);
              l.setVisible(true);
         private BubbleLabel bubble;
         public LabelTest(JFrame owner, Point startingPoint, String text) {
              super(owner);
              setupBubble(startingPoint, text);
         public LabelTest(JDialog owner, Point startingPoint, String text) {
              super(owner);
              setupBubble(startingPoint, text);
         private void setupBubble(Point startingPoint, String text) {
              bubble = new BubbleLabel(startingPoint, text);
              this.setLocation(startingPoint);
              this.setLayout(new BorderLayout());
              this.add(bubble, BorderLayout.CENTER);
              this.pack();
         public void setFont(Font f) {
              bubble.setFont(f);
              this.pack();
         public void setLocation(int x, int y) {
              super.setLocation(x,y);
              bubble.updatePoint(x, y);
         public class BubbleLabel extends JLabel {
              private String myText;
            private BufferedImage image;
              private Point point;
              private Robot robot;
              public BubbleLabel(Point p, String text) {
                   this.point = p;
                   this.myText = text;
                   try {
                        robot = new Robot();
                   catch(AWTException e) {
                        e.printStackTrace();
                   setupImage();
              public void updatePoint(int x, int y) {
                   this.point = new Point(x,y);
                   setupImage();
              private void setupImage() {
                   if(point ==  null) {
                        return;
                   try {
                        Dimension d = getPreferredSize();
                        image = robot.createScreenCapture(new Rectangle(point.x, point.y, d.width, d.height));
                   catch(Exception e){
                        e.printStackTrace();
              public void setFont(Font f) {
                   super.setFont(f);
                   setupImage();
              public void paint(Graphics g) {
                   Graphics2D g2 = (Graphics2D)g;
                   g2.drawImage(image,0,0,this);
                   //draw the labels
                   Font f = getFont();
                   if(f != null) {
                        FontMetrics fm = getFontMetrics(getFont());
                        g2.setColor(Color.GREEN);
                        g2.drawString(myText, 15, 25 + fm.getHeight()/2 - fm.getMaxDescent());
              public Dimension getPreferredSize() {
                   Font f = getFont();
                   if(f != null) {
                        FontMetrics fm = getFontMetrics(getFont());
                        int hieght = fm.getHeight();
                        int width = 0;
                        width = fm.stringWidth(myText);
                        System.err.println(width + 15);
                        return new Dimension(width + 15, hieght + fm.getHeight()*2);
                   else {
                        return new Dimension(200, 200);
              public Dimension getMinimumSize() { return new Dimension(200, 200); }
    }

    Hi camickr,
    I didn't ignore your suggestions, I just didn't completely understand them (I actually asked about them in my previous thread, but didn't get a response). Looking back at that thread, I realize that I read some of the code wrong. Where it saide desktopImage != null I saw desktopImage == null in the paintComponent() method. Now that I have reread it, I understand what you were getting at. However, that still doesn't solve the problem of the background changing. i.e. a screen behind my application is minimized.
    As for your suggestions:
    a) Right you are, I should be using paintComponent. I normally don't make this mistake, but I have been playing with so many different variations of this code, in different classes, that things have gotten quite mixed up. You also have to understand, that the code I posted is much smaller than the code I am working with, in order to be able to identify exactly what problem I am having, and not give you guys the burden of sorting through a lot of unrelevant code.
    b) right you are again. I started with the JLabel, because I was going to use some of the class's properties, but as my code has progressed, I have steered away from that approach. However, for my puproses I don't see the downside of using it. I want to get my core functionality working, and then clean the code up.
    c) see first paragraph
    d) I haven't looked into it, but I am not so sure this would work for my purposes. I use the graphics package to draw a border around the text (I cant use the border classes because this is not a uniform border). I suppose this is more reason to use a JComponent than a JLabel.
    e) The is no real logic to my component listener. I wrote it to show the problem I am having. I just increased the pixels by 5 for each call, because that was the simplest way to show that the background image was not being 1) created correctly or 2) painted correctly. As I said before, I want to solve the core issues first, then clean up the code so it actually behaves in a manner that makes sense.
    I don't know why the code didn't execute for you. Are you just not seing the text at 500,500? It should say: "My long string 222333111444555" in Green, with a transparent background (i.e. the screenshot of the background image.
    Thanks for your suggestions. I appreciate your help!

  • Labview with the velmex nf90

    This is pretty obscur, but I was wondering if anyone was using the velmex
    nf90 stepper motor controler with labview.
    I`m having problems with the get position function.
    Further, I`d be willing to trade home made utilities

    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

  • Random crashes when using 16 Labview with the 32 bit labview

    I am using 2 versions of Labview at the same time, one is version 4 which has a camera and a weigh-in-motion scale attached to it. The second is either Labview version 4, 16-bit or Labview 3.0.1, 16-bit, i'm not sure. The sixteen bit has a data acquisition system attached to it. Its an optim electronics system and the 16-bit Labview drivers for the optim were provided by Optim electronics and so I am stuck with using the same system. When I use both these systems in tandem, the system crashes frequently, but both systems run fine independently. It usually just freezes up or says "Illegal operation performed. Contact program vendor". Its a windows error with a red cross.

    So a guy goes into his doctors office and tells his doctor "Ya gotta
    help me doc...it hurts when I run my head into the door like
    this...OW!". Then the doctor says:
    "DON'T DO THAT ANY MORE!!!"
    (I promise to keep my day job...oops what job...and not go into
    comedy..)
    Why don't you convert all the old 16 bit code into 32 bit code and
    create one application where the various parts all know about each
    other? I don't think that there's any way to coordinate an old 16 bit
    LV and a new 32 bit LV application so that they don't step on each
    other driverwise like they appear to be doing. I don't think that the
    two LabVIEW's even know that the other exists!
    Alternatively, get a second computer to run the 16 bit code on and
    make the two apps communicate with
    each other using TCP/IP or serial.
    Doug De Clue
    [email protected]
    cincidude wrote in message news:<[email protected]>...
    > I am using 2 versions of Labview at the same time, one is version 4
    > which has a camera and a weigh-in-motion scale attached to it. The
    > second is either Labview version 4, 16-bit or Labview 3.0.1, 16-bit,
    > i'm not sure. The sixteen bit has a data acquisition system attached
    > to it. Its an optim electronics system and the 16-bit Labview drivers
    > for the optim were provided by Optim electronics and so I am stuck
    > with using the same system. When I use both these systems in tandem,
    > the system crashes frequently, but both systems run fine
    > independently. It usually just freezes up or says "Illegal operation
    > performed. Contact program vendor". Its a windows error with a red
    > cross.

  • Problem building installer in Labview with the databse connectivity toolset

    Hello!
    I have built an application in Labview Using the Databse Connectivity Toolset but when I try to make an installation file of it, the following appears in the build window:
    CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFBuildDist_Build.vi
    Loading product deployment information
    Loading product deployment information
    Adding files to installer
    Done adding files
    Preparing to build deployment
    Copying products from distributions
    Building deployment
    Copying setup files
    Setting merged database information
    Setting product information
    Setting developer part information
    Starting final build
    *** Error: Caught an exception of an unknown type. (Error code -1)
    *** End Error Report
    Done building deployment
    Does somebody have any idea that has gone wrong?
    Best regards
    Erik Johansson

    Did you select the run time engine for LabVIEW?
    Kudos and Accepted as Solution are welcome!

  • How to calculate de area of a waveform in LabView with the oscilloscope Tektronix TDS380

    I have a question about a mathematical algorithm. I am using the Tektronix oscilloscope model TDS 380 and since now I have been taking measurements peak to peak, putting in the labview program MEASU: MEAS1: VAL?
    I am interested in calculating the area of the waveform, and the instruction manual for the Tektronix TDS 8000 found the command MEASU: MEAS1: TYPE AREA. This command is not in the manual for the model TDS 300 and therefore do not know if you can apply FOR IT. When I insert it I get the error code -1073807339.
    My question is: would it be possible to calculate the area with my oscilloscope TDS380 somehow and with LabView? Is it possible to apply the algorithm or can be done differently?

    Sorry about not posting. I'm on a business trip right now. Here's the VI, though.
    Attachments:
    get_second_derivative.vi ‏56 KB

  • Interface labview with the test board to identify opamp pins automatically

    is it possible to interface LABVIEW to a test board in such a way that the input, output pins of an op amp (8, 10, 14, 16 pin opamps) are identified automatically when DUT is placed in the socket

    pratheek wrote:
    Thanks alot. pin numbers are variable. I need to test the functional and test parameters for 8, 10, 14, 16 pin opamps.
    The first thing you need to do is ensure that +VCC, -VCC, and GND are always connected to the correct pins.  I think the best way to do this is have preset wire options that you manually select with some switches (reduces the complexity of the LabVIEW controlled wire switching).
    pratheek wrote:
    The desired out put for my project is to check the functionality of the opamps
    I understand the end goal, but what you need for first specity is the test sequence.
    1. Identify In/Out pins & number of op-amps.  What is the sequence for this??? What voltages do you apply to the various pins and what is your desired outcome???  How do you identify each pin as in/out and whether they are for OpAmp1, OpAmp2, etc.  Since this sequence will inevitabely apply voltage to the output pins, make sure your test sequence doesn't damage the chips.
    2. After identfying each op-amp, what is the test sequence for evaluate its "functionality"??  Do you wish to evaluate the gain for various resistor combinations in an external circuit????
    3. Now with your test sequences outlined, you can finally begin on getting LabVIEW to implement these functions.  I'd use the DAQ digital outputs to a decoder (3-to-8 or 4-to-16).  Use the outputs of the decoder to control switches (these switches control the connections between a second DAQ and the test pins).  A third DAQ may even be necessary to control the selection of various test resistors.  Keep in mind that each of these switches will add resistance to the path so your evaluation must be made measuring the voltages at the op-amp pins (not using the sourced voltage values).  Planning the full measurement sequence and requirements before you start will not only help guide your program's development but it will tell you which DAQs are useful and how many you will need.
    This is quite an undertaking and we can't really provide any help on the LabVIEW end until you have a full write up of what you want to happen and how (step-by-step details).  Once you have that, start thinking about the sequence of events your code will have to follow to make it happen, then come back for guidance/help.

  • Blutooth connection with the robot Lego Mindstorms NXT

    Hi,
    I have got a license for Bluetooth Stack for Windows by Toshiba.
    I try to connect to the Lego robot, Mindstorms NXT : http://mindstorms.lego.com/en-us/default.aspx
    But it does not work.
    The connection seems to be good and both NXT and PC find each other, but when I try to communicate, the NXT says "line is busy".
    Does somebody can tell me if he can get through this issue ?
    Does Toshiba and Lego have a deal about connecting issues ?
    Thank you.

    Hello
    Do you have Toshiba notebook or you just use Toshiba BT stack?
    How to get through this issue? Should someone of us spent 250 Euros to buy this and test it at home? Dear oracid this is user-to-user forum and you can get some help from someone who has identical hardware at home and can help you with his experience.
    Deal between Toshiba and Lego in my opinion there is no deal. Every manufacturer who build hardware and want to use BT must know how this works. On the hardware market there are specific specifications for each communication technology and what Toshiba do is to build and offer specified hardware.
    In your case you should contact Lego support and ask for help. they have, probably, tested own stuff with different hardware platforms, operating systems and BT software so Lego should have enough experience with own products.

  • How do I read multiple channels at one time using labview with the Fluke Hydra Data Bucket 2620a using serial port?

    I need to take a reading of 15 channels about once a second. I can read one value at a time using the monitor function on the read values.vi driver, but this takes forever to read all the channels.

    I don't have this instrument but I took a look at the instrument driver and it appears that you can only configure one channel at a time to read from. You might want to take a look at the command set for this instrument and see if it allows for configuration of multiple channels. It could be that the instrument driver just doesn't have that built in.
    J.R. Allen

  • Possible to use mySQL, an open source program with Labview without the use of toolkit, just like we can do with MySQL with Command line.

    Hi i am trying to see if I can use sys exe .vi to execute Mysql commands. Is it possible to use without toolkit?
    regards,
    Clement

    Hi. I know there's a free toolkit that use ADO. But the problem is that my company not wish to splurge on the purchase of MS database server or  alikes, but prefer to run MySQL. So can I do the labview with the MYSQL only?
    Clement

Maybe you are looking for