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

Similar Messages

  • Poll - Which Version Control Software Do You Use With LabVIEW?

    I wish the forums had a poll feature. I created a poll in the developer community - Which Version Control Software Do You Use With LabVIEW?
    http://decibel.ni.com/content/polls/1818
    Edit: I just saw that there already is a poll for that
    http://decibel.ni.com/content/polls/1050
    =====================
    LabVIEW 2012

    julieann wrote:
    You can use a source control provider to share files among multiple users, improve security and quality, and track changes to shared projects. Use LabVIEW with third-party source control providers so you can check out files and track changes from within LabVIEW. See info. here.
    Looks suspiciously like someone trying to increase hits on their blog. A coincidence that it was posted the same day as the blog post?
    Message has been reported to the moderator. Laura can decide whether or not it's appropriate.

  • I need to control a Ransco temperature chamber with LabVIEW

           I need to
    control a Ransco temperature chamber with LabVIEW.  The temperature chamber requires four BCD digits
    plus a – /+ bit and some control lines.  I have a piece of hardware attached to my PC
    called LabJack.  LabJack has 16 digital
    input/outputs, 8 analog inputs and 2 analog outputs.  What I would like to do is control the
    temperature chamber with LabVIEW using the LabJack as an interface.  Has anyone in the group done this or something
    close to it before?  Also has anyone used
    LabVIEW to control a LabJack for any purpose? 
    I would be interested in looking at what you did and what drivers and VIs you used.
    Thanks,
    Gary

    Try reading this thread. It might not be terribly helpful to your application, but it might answer some questions. Also look at the Labjack site to look for the LabVIEW VIs that they have written.

  • Control a usb missle launcher with Labview

    I have bought a toy named "usb missle launcher"
    The control software have a dll named "hiddog.dll"
    how coul i use the hiddog.dll with labview  
    that is mean
    how coul i control the usb missle launcher with labview
    Attachments:
    Missile Launcher.zip ‏2384 KB

    The Call Library Function Node will allow you to call a DLL. To do so, you need the documentation on the DLL. This documentation would list the functions as well as the arguments for those functions (i.e., inputs and outputs). There does not seem to be any documentation in what you uploaded. Actually, I have no idea what you uploaded, aside from the fact that one of those files was the actual DLL.

  • How to use labjack U12 to control solenoid directiona​l valve with Labview in hydraulic system

    Hi,
    I need to control a solenoid operated direactional valve in hydraulic system with Labjack U12. I am using three relays but need some help on the vi. like which instrument drive I need to use etc....
    The coil voltage for the solenoid valve is :  AC120V, 60Hz; AC110V, 50Hz 
    My goal is to control this solenoid valve open/close at certin time, am using Labview 2011. Any advise would be helpful.
    Thank you!

    Have you got the relays working yet.  Do some initial testing with LJlogger to make sure hardware is controlling the relays as expected.  If you need further help with this step, provide a link to electrical details for the relays and describe how you have the relays connected to the U12.
    As for your programming in LabVIEW, I suspect you are using digital I/O, so the simplest thing to do is call EDigitalOut() to set a particular line to output-high or output-low, or if you need to set a line to input (for open-collector style control) use a call to EDigitalIn().  Perhaps look at "e function example.vi" to get started, and for general information about using the LabJack U12 with LabVIEW see topic #84 from the LabJack forums.

  • How to Control the Valves and Pump with Labview?

    I have started a new project where I have to control the valves operation through Labview 2009,using PXI 1031, NI 5105(Digitizer) and NI 6251(M-series DAQ).
    The valves I need to control using the labview are:
    a) Pressure Reducing Valve (open & close)
    b) Remote control Valve(On & Off) with in-built actuator
    c) Flow control valve(open, semi open, partially open, semi close, partially close, fully close), 1%, 2%, 3%..etc
    d)saftey valve (opening closing depending on increase in pressure from certian limit)
    I hav eto control
    a) Hydraulic pump operation with in built gear-box
    Please let me know, how should l develop the VI for all? How to get started?, any helpful links? If there is any example code?
    Its little urgent !

    If you are not familiar with LV, I would suggest you go through the tutorials. Then take the leap and figure out how to use Action Engines and State Machines (search any of the terms I used that don't understand, there are a zillion threads on them).
    Then...
    Sit down and write stand-alone testers for each of the widgets you are going to control monitor etc.
      These testers will give you an idea if they really work the way you think, their character, and will serve as a "Sanity Check" when you think you are going crazy  durring development.
    THen integrate the tester so they can all work at the same time. This will become a utility screen that will serve you well when maintaining the critter latter in its life.
    Only then...
    write out a complete set of state diagrams that describe what you plan to do (don't cheat! ) and walk through them in your head until you are cetain it will all work blah blah blah.
    This step is optional but highly recomened...
    Compose a detailed set of documemtns describing what you have in mind and post them here (include the images, they will get many mor readers) and let people  pick aprat your design.
    When you have a final design, use everything you learned along the way to be a kick-ass developer.
    Along the way post distinct well defined question on this site and as long as it looks like you are trying someone will probably reply and get you going again.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Help with Controlling the HP E1411B multimeter with LabView

    Hi -
    I'm using LabView 7.1, and trying to control the HP E1411B multimeter in a Textronix VX1410 frame, using a VXI-MXI-2 interface.  I've read that this is a register based device, which means what?  I can't control it using the VISA method in LabView?  I've been successful in this with other devices, so I'm guessing it can't be done because it doesn't work.  I also downloaded both the drivers for this device from the driver database, and neither work.  I can't seem to figure out to nake them work either.  Can anyone help?  I just want to use the MM to make simple measurements and display them in LabView.  If I wanted to create my own driver, what would be the best way to communicate with it?  Thanks.
    Charlie

     Sir,
       I want to make automatic test setup for testing accelerometer. My resources are Test station PC with windows 2000, Agilent E1401B High power mainframe with slot 0 controller, Slot 0 controller is NI VXI-MXI-2 controller, shaker etc. MXI-2 bus begins at PCI at the PC and goes to VXI backplane. Agilent E1401B cage have Agilent E1411B 51/2 Multimeter (in slot 3), Etec Test Head Support Module (slot 2), Etec Digital stimulus response module, ETEC test head I/O panel etc. we have old version labview-2009. using labview i want to control my test whole setup.
         Procedure for test setup is that i need to give power supply to shaker. Also i have to give input signal of 1kHz to shaker for vibration. Accelerometer will be mounted on shaker. Accelerometer output voltage has to be measured with agilent DMM E1411B in VXI cage.
    I have installed NI-VISA n NI-VXI driver and i was trying to program it using visa VIs in LABVIEW, but couldn't succeed.
    First, i am trying to make a simple program which can read resistance and voltage from HP E1411B DMM. There is difficulties in using VISA Out and VISA In VI. to measure DC voltage value from DMM, how should i give command to DMM using VISA out, because input to VISA out is numerial value so how can i give command to DMM. VISA In has only input offset and address space, so how will i know that which offset setting will show voltage value.

  • Controlling a lock-in amplifier with labview

    Hi there, Does somebody know a good website to download labview code to connect a lock-in (Signal Recovery, Model 5210) with GPIB to the computer? I'm still learning to program in labview, Thanks, -Tod

    Hello, i'm novice in labview, i've just installed the 5210 lock-in amplifier's driver and i don't know how to use it in my program, can you help me please by giving me an example of a vi using this kind of driver for example? thank you in advance

  • Has anyone done any control of an ABB robot with labview and robotstudi​o?

    I am busy with a piece of test equipment where I need to read data from and send position commands to a ABB robot. This robot uses their new IRC5 controller. I have got their OPC server but I am having difficulty in getting it to respond to the commands I am sending via OPC. I was hoping someone has done this before and can perhaps assist me in getting going.

    Hi,
    I'm trying the solution like your, but communication with  ABB.Robotics.Controllers.dll (. NET) and convert between C# to LabVIEW,
    it was success but i'm not fisnish yet to send position or command to the controller because some class not a public constructors.
    any update please let me know.
    Thank you.
    Attachments:
    ABB_IRC5 Robot Info.vi ‏59 KB

  • Where can I find nice controls/indicators symbols to use with LabVIEW, like Valves, pumps, storages, etc, Free ?

    I'm using labVIEW, which is a fantastic tool, in control of industrial processes, and would be very nice if I can use some symbols to represent my controls and indicators, to give a better look to the aplications !! So I'd like to know where I can get it free ! Thank you!

    The "free" part makes this a difficult question..
    LabVIEW DSC has a whole suite of industrial images (See Tools>>Datalogging & Supervisory Control Module>>Image Navigator..). However, it's not free.
    You may want to search the Net for some free images. reichard.com may have some free samples as well.
    Regards,
    Khalid

  • How to make a Web Page with Labview?

    I have a Project: CONTROL A CAMERA OVER INTERNET (with Labview)
    i try to make a Web Page but it s very difficult for me.I have Labview 8.6 and Internet Toolkit.
    Why can i make a simple Web page?
    Why can i control the camera over Internet?
    Thanks...

    This thread is quite old but there is a new answer that might better suite your needs... So, for those who are looking for the answer, have a look at WebPager plugin for LabVIEW here: https://labicom.net/labdeveloper/WebPager/ . It will make much better job (in most cases) than Remote Panels and Web Services suggested above. The only difficulty I see in your request is a 'camera' word. With WebPager you'll be able to control it from the browser (without any plugins or similar things), but the video image itself will pose problems... Still, it can be tackled. 
    =========================
    Igor Titov, CLA
    WebPager - put LabVIEW front panels into the web page
    Labicom.net

  • How to creat the interface of auto CAD file with labview

     Hi
    I have been controling  2-axis Piezo motor  with labview. Now I have to use the dwg or dxf file  to move the piezo controller axis. How I can  transform the  dwg or dxf  file into  decimal number 1, -1   to create interface with my labview.

    Hi Nusrat,
    So it sounds like you want to create a CAD drawing and then control your piezo motor via LabVIEW by moving the CAD drawing?  Is that correct?
    If that is correct - I don't know of a way to do this I'm afraid.  I don't think it's really possible.
    The only potential way to do this is to use SolidWorks as your CAD program and then convert the SolidWorks drawing into an STL file, which can then be imported into LabVIEW as a 3D picture control.  I can't think of any other way to achieve this.
    These examples might help you:
    LabVIEW Interface VIs for SolidWorks
    STL Geometry in 3D Picture Control
    The Pitch Perfect Tuner
    Develop Motion Applications with RIO and SolidWorks
    NI SoftMotion for SolidWorks
    Connect NI LabVIEW and DS SolidWorks
    I hope that helps.
    Oli
    LabVIEW Student Ambassador
    National Instruments UK

  • WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable.

    WIth LabVIEW how do I control an instrument with a RS232 output, using a RS232 to USB converter cable since I dont have rs232 ports. I have two instruments that I want to control in this manner. One is an Imada ZPS force gage with RS232 output. The other is a Panasonic HL-G103-S-J laser micrometer sensor which is RS422. I've done considerable LabVIEW programming using GPIB but I have no experience with devices like these. Any tutorial or examples would be greatly appreciated.
    Thanks.
    Solved!
    Go to Solution.

    I understand that you want to control a device which having RS 232 port as output. If so, you can use an USB-RS232 cable from PC to device and you can control or monitor the device.
    See this link http://zone.ni.com/devzone/cda/epd/p/id/2669
    Also, first check the device in hyperterminal and then continue to program in labVIEW. You can find the serial VI's in Instrument I/O.

  • How to access SPECIFIC camera attributes tree (camera controls) located in MAX with Labview?

    How to access specific camera attributes tree (camera controls) located in MAX with Labview?
    I want to be able to access frame, trigger and grab properties. Does anyone know?
    Thanks.
    /Peter

    Please see this related thread http://forums.ni.com/t5/LabVIEW/IMAQdr-Property-Node/m-p/1642950/highlight/false#M590168
    Matt
    Product Owner - NI Community
    National Instruments

  • Controlling Hamamatsu Camera with LabVIEW

    I am using a Hamamatsu 1394 ORCA-ERA Camera in order to save microscope images on a PC. Im my lab, we are attempting to automate the process of saving an image from this microscope, and coordinate the time of the image capture with a function performed with LabVIEW. 
    As the 1394 name implies, this camera is connected to our PC using a firewire port. Is it possible to control the function of this camera with LabVIEW through a firewire port? What additional LabVIEW libraries would I need in order to perform this task, if any? Finally, is it possible to use LabVIEW to control a program called micro-manager that we currently use to save images? I know the Hamamatsu API supports both programs, but I am not sure if cross-communication between them is supported. 
    Thank you for reading, any response is greatly appreciated. 

    You say the API supports LabVIEW.  Does it have any example code for you to start with?  Typically driver sets include examples to make it easier to work with their API.
    If it works with that API, I'd see if you can get that to work with taking the images without using the second program.  You can typically use something like system exec on a Windows machine to run programs.  I'm not sure of anything that works similarly for a Mac.  Does micro-manager have an API you can use to make calls to it?

Maybe you are looking for

  • How do I print or export only selected cells in Numbers?

    Does anyone know how to do this in Numbers? I have been trying to do this for well over an hour...... I have looked at other posters' questions first, all the way back to 2008 in fact. The closest I have seen to an answer (and it is a workaround, not

  • What is the max mp4 file size?

    Does anyone know what the max mp4 file size that can be imported into iTunes for sync with ATV is?

  • Upgrate from CS5.5 to CS6

    It's possible? How much does the upgrate cost?

  • Unable to install reader/view PDF files

    Hi all, Here's another wierd one... suddenly, I cannot download or view PDF files in Safari. I have attempted to download acrobat reader for a re-install, but neither safari nor firefox will download the complete file. Adobe says the file is 21 megs,

  • [b]Oracle APEX Training in Utrecht, The Netherlands[/b]

    Hello, Just a quick note to say that Apex Evangelists is hosting it's next Oracle APEX Training in Utrecht, The Netherlands from 2nd-4th September. You can find more details here - http://eurotraining.apex-evangelists.com Thanks, John. http://jes.blo