Servomotors Dynamixel MX 64 Labview

Hello

I use Dynamixel MX 64 servos servos in my project. I have 4 of them to tie in the series. P1, P2, P3, P4 represents the degree of rotation of each servo/axis. I'm trying to run my code for set 50 values of P1, P2, P3, P4

Do not know what is the best method for updating digital orders by several times. I used property nodes when I had little value. How can I send a picture of 4 * 50.

Really appreciate your help!

Thank you

Ana

I think that the best way to proceed would be to use array index to split the 4 tables 1 d 2D table (each line of the 2D table becomes a line). Then, you can send each of these tables 1 d in your loop. The tunnels of automatic indexation will extract an element at a time from each line. In this way, each iteration of the loop will have individual data points for all your engines. I've attached an example VI that proves.

I think you should take a close look at your LabVIEW code to ensure that the tables have the correct data. Your starting data set is actually a 3 two-dimensional table. I believe that this is the case, because you use the auto-index tunnels a loop to extract your data from worksheet. The tunnel automatic index adds an extra dimension to do starting from a 2D to a 3D Board table Bay. I do not think that the for loop is necessary here. You should be able to extract the entire table 2D of the worksheet with a single function.

Jeremy P.

Tags: NI Hardware

Similar Questions

  • data plc labview

    First of all thank you for anyone who reads this, I am very new to LabVIEW and I think it is perhaps a matter of trival, but I'm not sure.

    I am building a test bed to measure the angle of vs couple of clutch disc to find the hystersis. I am confedient that my program is very well to save the data. I am usin a servomotor to apply the couple and when the couple gets to high I want to the plc to turn off the servo motor. I want to LabVIEW for data acquisition, but the plc for the control. I have no experience with modbus. I was wondering if I could share the output by the couple with the plc and LabVIEW transducer or would it weaken my signal and affect my data? The torque converter is a mv/v output, the tourque transducer is TRS - 20K of transducer techniques. I'll use a PLC direct automation and a NOR-9237.

    http://www.transducertechniques.com/TRS-torque-sensor.aspx

    Thanks for your time

    Hi all

    I thank very you much for helping out Carl.

    Carl,

    If you are looking for the cheapest and most reliable solution, I think Dave has a great solution.  However, this library is not directly supported by OR so I will be unable to help.

    Whatever solution you choose, I recommend always scrutinize watchdog timers.

    http://en.Wikipedia.org/wiki/Watchdog_timer

    It is a good method to give up your PLC, if the computer breaks down.

    Kind regards

  • How to use Labview to control the motorized turntable?

    Hello

    I am new to Labview and do a project that requires the use of labview to control the motorized turntable (XYZ axes). I need to use the Labview programming and have no idea at all. Need help, thank you very much!

    Lei,

    Everything said by others is correct and to do because they describe, at a given time. But I always approached these projects of motion control first by looking at the 'motion controller' (I hope you have a) and 'drivers' (what you need) between the computer/LabVIEW and engines decide what communications will be required for these devices and get an idea of the syntax of command and the language to use with them.  In some cases, the controller and the motor driver are integrated in a single unit. Heck, in some cases, they are even integrated with each engine.

    The motors can be the stepper motors or perhaps servomotors.

    In the case of drivers stepper (devices that provide power electronics to run the engines), many of them are run using only two control signals for digital called 'step' (a pulse train) and 'direction' (high-low level) and if it is possible to generate directly with the PC, it's an order of magnitude easier (if you have not already a library of available motion control to manage the generation of these signals and) the execution of the stepper motors) of having a "Motion Controller" between the PC and the "motor".  Engine drivers step by step usually can be configured that current engine and the size of the stage and sometimes for the other plus-moteur/driver-parameter setting. The configuration of these can be made with jumpers, switches or, for some drivers, with orders ASCII on some sort of port of communication, but in general these are values you download the installer once at the beginning and then never touch again if you do not need generally to have a full time available on their change communication path.

    In the case of the actuator drivers (once again the devices that provide power electronics to run the engines), many use a +/-10V control input analog signal, and, again, while it is possible to generate the signal directly with the PC hardware, a separate axes controller is usually much simpler and more robust.  In the case of a servo system, there is also a signal back to an encoder or resolver attached to the engine to be used by any device will exercise the motion controller in the system.  There are once again associated with the driver configuration parameters (and controller in this case, since it is part of the servo feedback loop) which must be configured at the start but once set up properly, they rarely need to be changed again.

    A movement controller which is separated from the PC often manage several drivers, and can often coordinate a movement between them. It will load the rise up/down of the engine speed as that changes. It will be followed by position of each motor. The servo system, but it will take the feedback signal and use it to adjust the speed/position/torque of the engine. The motion controller also deal with race and home or index of signals is usually on most lines of movement and provide information of the State of the switch to the PC.   To run the motor controller is then just a matter of chaining a set commands of (usually ASCII) to indicate how fast to run and how far to go (and direction) and by sending a command "do it." Then, ask you to keep track of the status of the process and the States of the switches.

    In many cases the builders of controllers of movement are a primitive way to communicate with the controllers of a PC with no additional software other than what they offer. With this you can at least have an idea of how different the controller commands and responses they produce. That you can start to build sequences of commands to perform the actions you want.

    You can then add LabVIEW to the mix and to understand how you can get it to send sequences of similar orders on the paths of communication that are available and respond intelligently to the information it receives in return for motion control.

  • LabVIEW 2016 NI_ReportGenerationToolkit error

    I upgraded to Labview 2015-2016, but when you open one having previously worked for the project I now see an error in the NI_ReportGenerationToolkit.lvlib:Excel_Save_Workbook.vi.

    He tells me that the invoke node contains terminal unwired or bad.  However, it's a NOR provided VI and has not been changed between updates. Please let me know if it is a solvable issue.

    Take a look at this thread.

    Ben64

  • Please convert LabVIEW 2013 urgent please

    Please convert LabVIEW 2013 urgent please

    You can go there.

  • Please convert LabVIEW 13 10

    Can someone can convert LabVIEW 13 LV 10. These files come from the community

    Much thanks

    Here you are

  • DAQ Assistant is not in LabView

    Hi all

    I use NEITHER cDAQ-9174 and NI 9203.  I have already installed the driver for the NI 9174 cDAQ, which is NEITHER-DAQmx 9.8.0.  I can see the device when I opened NI MAX. However, when I open LabView 2015, I can't find DAQ Assistant in the function Palette. I noticed on the chassis, 'ACTIVE' light is not on while two other "POWER" and "READY" light is on.  I look in the forums OR but I can not find the solution.

    Any suggestion, please help!

    Thank you!

    DAQmx 9.8 is not compatible with LabVIEW 2015.  You must use at least DAQmx 15.0.  See here for more details: NOR-DAQmx and LabVIEW compatibility

  • LabVIEW FPGA SPI accident - SPI OR IP address for example - R series OR

    Hello

    I am trying to run the series R - sample project NI SPI FPGA Simulation.lvproj that comes with the SPI IP OR on a real FlexRIO FPGA SMU-7976R target with an attached digital adaptation NI 6581 B Module. The example is for a PCIe-7841R but I wore during my target FPGA, follow these steps and made additional changes to try to make it work with my set-up. I learned that FlexRIO FAMs CLIPs do not work with nodes in office had so I know I can't simulate the project originally planned so I will try to use FPGA to e/s node host side (open FPGA vi reference) to implement the actual hardware.

    My first question concerns my configuration of the adapter module e/s and selection. I added the IO Module (NI 6581 B: NI 6581 B channel) for my project and selected the channels as shown in the table below. I have a real physical hardware connection as described below using two NI SHC68-C68-D4 cables and a break-out Board.

    I changed the names as well:

    I selected these DIO channels because I wanted the DDCA connector to be the master and the DDCB connector to be the slave. In addition, in this CLIP every eight channels of i/o has a write enable signal. I have not used the Port configuration because I needed 4 available DIO channels and I saw DIO0-3. Is my logic of selection of channel vs correct Port here?

    Following the same strategy that examples FlexRIO/NI6581B, I changed the FPGA.vi to include initialization outside of timed loops:

    And in the Host.vi I have a node reference FPGA and wired loops of feedback accordingly:

    When I compile the FPGA and try to run Host.vi LabVIEW inevitably crashes with Crash Reporter below and must restart:

    Does anyone know what I'm doing wrong here? My guess is that it has something to do with the CLIP/IOModule. Any help is appreciated.

    Thank you

    Scott

    Hi Scott,.

    I suspect that the problem might be related to the fact that your node open FPGA VI reference is in the while loop and trying to open a new FPGA reference at each iteration.
    If you move outside of the while loop, it does not solve the crash?

    On channel vs port question, your logic seems reasonable to me, but I recommend to try it since this feature could depend on device.

  • LabVIEW 2014 does support CDAQ 9136

    I use LV 2014 SP1, I wanted to buy CDAQ 9136 Windows controller for one of my projects. I'd like to figure out if I can use the SP1 of 2014 LV with DAQmx15.1 in the program for this controller? User manual CDAQ 9136 does not say anything on the support of LV, just said that DAQmx 15.1 is supported.

    When I tried to add a target CDAQ in SP1 LV2014 with DAQmx15.1, it does not show the CDAQ 9136. I won't use the real time of the CDAQ 9136 version, but I'm confused. Any help would be greatly appreciated.

    Nanda,

    I would like to clarify the compatibility for the NOR-9136. It is compatible with DAQmx, starting with DAQmx 15.1. In other words, it can be used as a normal cDAQ chassis in any version of LabVIEW with DAQmx 15.1 or later installed (within reasonable limits). However, compatibility in real-time with the cDAQ-9136 has not introduced before LabVIEW time real 2015 module, which is only compatible with LabVIEW 2015. Thus, to use the cDAQ-9136 as a real-time controller, you will need 2015-LabVIEW and the module time real LabVIEW 2015 or later. This note can be found in DAQmx 15.1 notes for supported devices.

  • does anyone have a good recommendation for a voltmeter of PoE that can be integrated into Labview/TestStand?

    I started looking for a voltmeter of PoE, but so far all the ones I've found are for use of the mobile hand held.   I'm looking for a version that can be integrated in an automated production environment.

    Can someone point me to a voltmeter of PoE who has control USB or ethernet.   Ideally with Labview drivers. But if I do these myself I'll be okay with that.

    Unfortunately, I've not seen anything quite like that around. The closest I could find was the PoE3N-reach technology RT, which looks like it might have connectivity RS-232.

    Another option might be to type the tensions of the ESP and read those who use a more general tool as a DMM device or data acquisition. Something like the POET systems-FM-1. Maybe something like this work?

    There may be someone on the forum who is more familiar with POE that I am, but that's what I was able to dig up.

    William R.

    National Instruments

  • Use of LabView for exploitation of Bosch Rexroth HCS01

    Hello people,

    I am a student assistant and my current project is to complete what was launched in a work of degree more than a year ago: to build an experimental platform to test the effect of superconductivity on maglev technology. Part of this experimental platform is a precision three-rail network operated by compact inverters HCS01 (IndraDrive Cs) by Bosch Rexroth.

    My question is: is it possible to use LabView to operate the three axes of a central VI?

    I have already connected all three compact inverters to a computer and I am able to operate using most Ds-startup-easy mode, but I can only operate separately and not of a single window.

    Thanks in advance, any help would be appreciated!

    Greetings,

    Paul Masuch

    Hello world

    I just found this forum article on control components Rexroth with LabView and as a representative of Rexroth, I disagree that West no way is easier to control than using Ethernet/IP.

    We have an official partnership with National Instruments, and offers a complete Package of VI for all our components (IndrDrives and IndraControl automata) to access all the features of a PLC or lead of Bosch Rexroth. This is possible thanks to our Open Core of Bosch Rexroth and our open approach we take with our automation components. For controllers the VI contains more than 850 screws to communicate directly from your LabView execution to the controller. These packages are completely free for you and you can download the packages from our Web site

    http://www.boschrexroth.com/OCE

    (access after registration in our network in engineering).

    In addition it s also possible to control our readers a cRIO OR using the Council of Europe.

    Here's a sneak peek of our open main Interface feature. There are SDKS for several languages of programming and several technologies including National Instruments Soft - and hardware.

    So you see, West don't need to learn PLC programming, when you want to connect LabView to Automation from Rexroth.

    If you have any trouble Don t hasitate to contact me!

    Best regards

    Tammo Schwindt

    Application engineer

    Bosch Rexroth AG

    [email protected]

  • Allot of extra RAM for LabVIEW

    Hi all

    I'm out of memory trying to compile a great personality FPGA VI. LabVIEW generates an error and crashes when it reached the limit of 4 GB memory while generating intermediate files (specifically step 3/5). I have 8 GB of RAM installed on the laptop. I know that only 4 GB can be used by LV 32 bits, and it doesn't have a 64-bit version of LV FPGA. Does anyone have a solution or workaround for this? Decreasing again the size of my VI is not an option. I wonder if it is possible for compiling Xilnix itself of tools to access more memory?

    Mitch

    I don't think that would compile a project that includes only the FPGA VI. My project includes only the items that are needed to build the bitfile: DMA FIFO read & write, a global variable sub VI and two other sub screws, which are used in the FPGA VI. In my view, that a key issue, it's that it handles many groups that are up to 64 elements each. I took care not to include functions that take a lot of space on the FPGA, avoided constraint, etc., but the large paintings are an essential component.

    Yes, the Xilnix program itself is short of memory. If I remember correcly, the compiler showed the error message "a Xilnix request has run out of memory...". "and he said that 4 GB of RAM has been reached.

    I get to the conclusion that I have to wait for a 64-bit version of LabVIEW FPGA to be released (with a 64-bit compiler) to build the VI in the desired way.

  • LabVIEW Terminal connects not to the EV3 EV3 software retail will be (but pilot LEGO will not uninstall)

    Windows connects successfully to the LEGO EV3 via USB or Bluetooth.

    However, the Terminal LEGO of LabVIEW 2015 do not recognize.

    I installed the software at retail EV3 for check and it * is * connect to the EV3.

    I'm trying to fix the "LEGO Mindstorms NXT x 64" driver, but it will not uninstall even if I uninstall everything of LabVIEW, including the module (input administrator rights when prompted.)

    I've been struggling with this days, and I need to connect my EV3 to teach my students LabVIEW.

    Any help is greatly appreciated! Thank you in advance.

    -Associate Professor Matthew,

    #Date: Thu, January 21, 2016 17:21:58
    #OSName: Windows 7 Enterprise Service Pack 1
    #OSVers: 6.1
    #OSBuild: 7601
    #AppName: LabVIEW
    #Version: 15.0 32 bits
    #AppKind: FDS


    21/01/2016 5:27:54.774 PM
    Coolish 0x00BA6193:
    c:\nimble\penguin\labview\components\mgcore\trunk\15.0\source\ThEvent.cpp(267): coolish 0x00BA6193:
    Minidump ID: 789e6f18-0e9e-4b10-8b46-c0dd7448d8d4
    $Id: //labview/components/mgcore/trunk/15.0/source/ThEvent.cpp#1 $

    We found it!

    Our IT Department has been able to dig up in the driver package and finally managed to uninstall.

    Something has been damaged and the pilot wouldn't uninstall correctly.

    This fixed the problem beautifully.

    -Matthew

  • Using a neural network with box Toolbox MATLAB in LabView?

    I would like to know how to train a neural network in Matlab and use it in Labview? I know I should be using the MathScript, but as I do once the network formed in matlab is a dull file?

    Hi GringoButzlaff1,

    Well, it's not all MATLAB code/script that can run in LabVIEW using MathScript.

    If there is a function of IP (intellectual property) in the code, that is, any Toolbox MATLAB functions, you won't be able to execute it using the MathScript.

    In fact, you must call the MATLAB script node in your code. This node calls the script software MATLAB server to run scripts written in MATLAB language syntax and are only available for windows.

    Try encoding using the MATLAB script node and tell me if it worked for you.

    Best regards.

  • Cloud dashboard do not install it in 2014 of Labview

    Hi guys,.

    I try to use Dashboard Cloud with LabVIEW 2014.

    I'm https://decibel.ni.com/content/docs/DOC-38359 but the attachment at the bottom of the manual does not open in VIPM Labview Tools Network. Instead, I get the general with 244 page different tools but without the tool dashboard of the clouds.

    Does anyone know if there is an incompatibility with the LabVIEW 2014 with the palette/tools/examples of clouds Dashborad?

    See you soon

    I solved it, thanks. A reboot did the trick

    THX

Maybe you are looking for

  • How Thunderbird keep track of where it stores your messages?

    I am writing a program to isolate some of the messages to a message queue. Of course I can hardcode the path where messages are kept for the moment, but when the user changes this, my program will be lost.I looked in the registry and profile.ini file

  • Empty FF29 my bookmarks toolbar.

    I had a row of bookmarks above my tabs in the previous version. I'm not really Diggin ' this new UI, so I followed the steps to achieve the classic look, with square on the bottom tabs and the star to bookmark, but at some point during the fight with

  • Windows Update 0x80070005

    Hello! I think that I ve followed all the steps and here are the results. HKLM\software\Microsoft\Windows\CurrentVersion\Component Servicing\Retry Agent of baseHKLM\software\Microsoft\Windows\CurrentVersion\Component base Servicing\SqmHKLM\software\M

  • HP 1217 starts printing VERY slowly. A web page took 15 minutes to start printing!

    My HP1217 takes a LONG time to start printing. A web page took 15 minutes. A 5-page report took 10 minutes. That this has something to do with the pages visited on the computer? My computer is about 4 years old. It isn't real fast, but is not true sl

  • Panasonic NV-GS300

    I need if I can find los drivers Windows 7 para the NV-GS300 Panasonic Please. El OS Win 7 ve pero no dice "debe ser is a resolution of conflicts" y no reconoce la. I made everything that el os be replaced by pero Recomiendan no encuentra los apropia