Comunicacion Labviewy Simulink de Matlab

Buen dia, estoy desarrollando una aplicacion donde tengo comunicarme com simulink de matlab. He revisado varias bibliografias y material....en los cuales me remiten a un servicio SIT Connection Manager, el cual no encuentro en mi version de Labview(2011) y matlab2011a
Muchas gracias
Solved!
Go to Solution.

Hola ivan_1982
El servicio que mencionas, se agrega cuando instalas el Simulation Interface Toolkit para LabVIEW (SIT). Este es un add-on que se agrega sobre LabVIEW y le agrega funcionalidad extra. Dicho toolkit lo puedes revisar y descargar como evalucación, en la siguiente liga:
NI LabVIEW Simulation Interface Toolkit
Sin embargo, para la versión que tienes de Matlab, es necesario descargar la versión de LabVIEW 2012. Esto lo puedes verificar en la siguiente liga:
Simulation Interface Toolkit Version Compatibility
Espero sea de tu utilidad dicha información.
Saludos
Francisco S.
National Instruments
Field Engineer
www.ni.com/soporte

Similar Messages

  • Comunicacion entre Matlab y Labview

    Me gustaria saber cuales son las posibles formas de comunicacion entre Labview y Matlab. Creo que se puede hacer por ficheros, DDE, Active X. Tambien me interesaria saber si existe alguna libreria ya creada con este objetivo o algun ejemplo. He visto un ejemplo para Labview 3.0 o 3.1 pero no se puede convertir a Labview 6i.
    Si alguien tiene ejemplos, librerias o informacion sobre esto me gustaria que me ayudase.
    Gracias!

    Maneje convertir el fichero asociado sin ningunos problemas, ahora probados en LV 6i y todo el VI abierto. Espero que esto le ayude. Dejeme saber si hay algunos problemas..
    (Perdone por favor mi espa?ol pero estoy utilizando un programa de la traduccion para comunicarme - no se realmente una sola palabra del espa?ol mismo!)
    Attachments:
    matlab.llb ‏258 KB

  • Matlab vs. C DLL

    I have an algorithm written in Matlab that I need to integrate into a LabVIEW VI.  In our current version of the software, we use a DLL written in C that I compiled in Visual Studio through a long period of trial and error.  I need to make some significant updates to our code and would much prefer to keep it in the Matlab environment that I’m more comfortable with.  Unfortunately, using a MathScript node is not an option due to the complexity of the algorithm and our desired processing speeds.
    Initially I thought I would buy the Matlab Compiler and use it to create the DLL, which I’d then call in LabVIEW, problem solved.  However, after reading through several threads about Matlab DLLs on the discussion board, I am concerned about all of the issues that people seem to have had when trying to do this.  Can anyone offer some insight into whether these Matlab DLLs usually cause problems in LabVIEW VIs or if these are isolated incidents?  Do they always need to be called through a secondary C DLL?  Thanks in advance!

    It's been a little while since the last time I did this, but I think I can answer some of your questions. One, there's a good chance that the c-dll will run faster than the Matlab dll, unless you are using some functions that were heavily optimized for Matlab. You can use the compiler to create a dll and call it from LabVIEW, but you will have to create some sort of interface to convert the datatypes (outside of LabVIEW). You may have better luck if you use an older version of Matlab. 6.5 and prior would actually generate compiled code, and as long as you have the 90 or so dlls installed correctly, would run very quickly. These compiled dll's were also easier to call, but still require an interface to LabVIEW. Since Matlab 7 (R14), the compiled code will run exactly like it does in Matlab (i.e., with the same performance), and is easier to get compiled and running (just install the runtime). Previously, not everything would compile. Now, if it runs in Matlab, you can use the Matlab compiler to create a dll. We've created an internal c-library of functions that allow us to create and handle the pointers to the Matlab datatypes so we can work with Matlab generated code all in LabVIEW, but it is still a hassle. Unfortunately, I can't share this library.
    A better option, but not always feasible is to use Real Time Workshop to create c code from your Matlab code. This can be done quickly, and will generate an actual dll that has traditional datatypes. These can be called directly from LabVIEW. Unfortunately, RTW requires Simulink and Matlab, and all of that will set you back ~$15k if you don't already have it.
    Of course, there is always the Matlab script node, which works fine as long as you don't mind having Matlab installed on your test machine. This is the way we usually go for initial testing or quick demonstrations. It's much easier to modify the Matlab code this way during debugging. I'm not positive, but I think you can build an executable in LabVIEW and still call the Matlab script node, which can target a script explicitly somewhere in the file system. That way, you can tweak the "analysis" portion of the code on a built executable even without rebuilding in LabVIEW.
    Finally, the Mathscipt nodes. I wish they would work, but we rarely actually get anything to work in them. The problem is that everyone developing m files does so in Matlab, not Mathscript. Then when we try to take something they've built and get it running in Mathscript we are bled to death by a million little cuts. I don't think structures or cell arrays work, and it just seems like we always run up against a little annoying thing that keeps us from using them. We are even paying for the Mathscript RT licenses now (or soon anyway) just in case someday we get something to work. I'm not a Matlab guy myself, so I can't really explain the problems clearly, but it seems like the code always has to be re-done for Mathscript, and that is not something the Matlab guys are too enthusiastic about.
    sorry if I rambled a bit.
    Chris
    edit: wow, all my linefeeds disappeared.. FIXED

  • How matlab function is work in labview

    hi all
    i have implenet a function say
    function [op]=myimplement(ip) in Matlab
    & i have used it in simulink as Matlab function
    as i have attached the both matlab file name & also Simulink file
    i want to convert the matlab function int Labview
    i have tried by using Matlab script node
    but its is not working ??
    so where iam doing any mistake??
    iam also attaching Labview file as well name funct.vi
    waiting for any kind replay
    thnaks
    Attachments:
    prog.zip ‏10 KB
    funct.vi ‏13 KB

    As it is the Matlab node can't really do anything with that. It would be no different than if you have a .m file. You need to call the function. The Matlab node does not do that automatically (and neither does the Matlab editor). Of course, it's probably simpler to just remove the "function" line and have the last line changed to say
    uk=[x_ukp1;x_ykp1;x_zkp1;thetakp1(];
    instead of
    op=[x_ukp1;x_ykp1;x_zkp1;thetakp1(];
    Note: I believe your input variable should be "ip", not "n", since you calculate "n" in the script.

  • Usb 6009 not recognized in simulink/matlab 2012b

    i have matlab 2012b and when connect DAQ ni usb 6009 matlab recognize it but when i open simulink library and Data Acquisition Toolbox and when add analog input it belongs "winsound Michrophone...'
    so any body can help me to simulink/matlab recognize usb 6009
    thanks

    Hello,
    The Data Acquisition Toolbox that you are using is supported by MathWorks®. It is supported under the version of the software that you are using. Please contact The Mathworks, Inc. for further troubleshooting steps.
    MATLAB® and Simulink® are registered trademarks of The MathWorks, Inc.  All other trademarks are the property of their respective owners.
    Wear
    National Instruments
    Product Support Engineer

  • How can I put C files gave me from Matlab Simulink Real Time Workshop in a CIN?

    I'm doing a turbine simulation, and I've already done it in Matlab Simulink Real Time Workshop. It gave me files .c, and I want to use them to run the same simulation on a PCI 7030/6040 using LabView RT 5.1. I'm using the CINs. My problem is that I'm able to have .lsb files, but them don't work....I mean I have as output the same result 0(zero). What can I do for solving my problem?
    Thanks in advance!!

    Somehow, this question was posted twice on the same day. See the other posting of this same question for the answer.
    Chad H.
    Applications Engineering
    National Instruments
    http://www.ni.com/ask

  • How can I use the ni-6024-e with the real time of matlab/simulink. Where can I find any example?

    I am doing the final project and I need to control the ni-6024-e with the RTW (real time) of matlab/simulink.
    Does anyone know or have any example?.
    Thanks

    Rafelmor,
    Have you contacted The MathWorks yet? They probably have the best information.
    However, I did a quick search and found some information on The MathWorks' site. For Data Acquisition Toolbox examples: http://www.mathworks.com/access/helpdesk/help/toolbox/daq/daq_example_index.shtml.
    For RTW information: http://www.mathworks.com/support/product/RT/.
    Good luck with your application.

  • How do I stop adobe updates downloading as Simulink files in Matlab in order to update the program?

    How do I stop adobe updates downloading as Simulink files in Matlab in order to update the program?

    Hi Jess ,
    Please launch Acrobat>Navigate to Edit>Preferences>Updater>Check mark the option"Do not download or install updates automatically" and uncheck rest of the options or you may choose whichever suits your requirement.
    Regards
    Sukrit Dhingra

  • How to install Flash Player if it is Simulink (Matlab) protected?

    I can't install FlashPlayer in my iMac because it is simulink protected and Matlab opens every time I tried to install the new version. How can this problem be solved?

    Hey,
    I had the same problem (thats how I was this), found on another site that if you just go into your downloads folder and rename the file it'll open up the installer instead of Matlab, so I thought I'd share. The file should currently have the extension ".mdlp", just delete that extension and make it a ".dmg"
    Hopefully that does it for you as well.

  • Matlab, simulink et labview

    Bonjour à tous,
    Je me suis renseigné sur le sujet, et j'aimerai savoir si j'ai bien compris.
    On peut incorporer du code matlab dans labview , via la boite script "matlab" du diagramme, pour utiliser simulink avec labview, il faut creer une dll à partir du code généré sous simulink.
    Est ce que j'ai bon, ou peut on incorporer aussi du code sous simulink dans Labview, via une boite spéciale.
    Merci pour vos réponses

    Bonjour,
    Merci d’être venu sur le forum de National Instruments.
    A priori vous avez bien compris comment intégrer du code Mathlab dans LabVIEW. Pour ce qui est de Simulink il faut effectivement appeler un DLL créé sous Simulink. Ce lien vous permettra de savoir comment faire.
    Benjamin R.
    R&D Software Development Manager
    http://www.fluigent.com/

  • Dc servo motor in matlab simulink

    hi
    i want to design dc servo motor in matlab simulink.but i dont know how to design so if anyone can help me please
    Solved!
    Go to Solution.

    Hello,
    I think you are posting on a wrong forum... Why don't you try the Matlab forum?
    Anyway, have you looked at this for example:
    http://ctms.engin.umich.edu/CTMS/index.php?example=MotorSpeed&section=SimulinkModeling
    http://www.mathworks.com/help/physmod/elec/ug/example--modeling-a-dc-motor.html
    Best regards,
    K
    https://decibel.ni.com/content/blogs/kl3m3n
    "Kudos: Users may give one another Kudos on the forums for posts that they found particularly helpful or insightful."

  • Dc servo motor in simulink matlab

    hi
    i want to design dc servo motor in matlab simulink. but i dont know much about how to design.. so if anyone help me please??

    Hi Asaad,
    You will want to use the MATLAB® support forums to get help designing DC Servo motors using Simulink®. If you would like learn how to design and tune a controller using a DC motor with LabVIEW, take a quick look at this excellent white-paper to help you get started.
    Teach Tough Concepts: Closed-Loop Control with LabVIEW and a DC Motor
    http://www.ni.com/white-paper/12944/en/
    MATLAB® is a registered trademark of The MathWorks, Inc.
    Aldo A
    Applications Engineer
    National Instruments

  • Aufruf des FPGA Konfiguration von Matlab/Simulink

    Hallo ,
    ich versuche gerade ein HIL zu testen mit NI Hardware PXI und FPGA , weiss jemand ob es möglich auf die Konfiguration des PXI  mittel  Matlab/Simulink zugreifen , so zu sagen ob ich kann die Funktionalität des  FPGA oder CAN Karte als blockset in  Simulink/Matlab  statt in  Labview aufrufen. Mein Arbeitsgeber will gerne, dass die ganze Fonktionalitäten als blockset wie zum beispiel unter dspace in Simulink/Matlab  aufrufen kann.
    Ich bedanke mich sehr für die Information
    befaiz

    Hello First  thanks for your answer and your interest, I try to explain what i want to realize. I have a Model in Simulink, I can this Model connect in LabVIEW with simulation interface toolkit,  and with SIT Connection manager the hardware I/O as Model I/O  configure.  
    I would like to make the I/O interfaces of a FPGA 7813R PXI system from Simulink accessible. Similarly as with dSPACE RTI block, I can access the I/O from Simulink means over S Function Block. for example Analog Input.
    Also I want to define the I/O of the Model as FPGA I/O  in Simulink and then can I build the ModelDLL  in Matlab and in SIT download. finally run  the Model-simulation on RT Target.
    I think, we need access to the visa server. I am on the search for this concept.
    Perhaps you or someone can support me.
    My Regards and thanks
    HooSSa

  • Measure signals from Matlab Simulink Model

    Hi,
    I modeled a six bus power system network on Matlab/Simulink and I would like to measure the voltage and current signals using a DAQ card. The DAQ card im having is a
    NI PCI-6132 S Series Multifunction DAQ. How do I go about acquiring this signals?
    Regards,
    Louwrence

    Hey Louwrence,
    Are you going to be using the 6132 card with LabVIEW to acquire the signals? If so, you should look in the NI Example Finder that is installed with LabVIEW. Go to Help>> Example Finder. Then go to Hardware Input and Output>> DAQmx>> Analog Measurement and choose the example you would like to look at.
    If you are trying to use the card through MATLAB, you will need the DAQ Toolbox. You can check for official compatibility here. I do not know what is installed with this toolbox as it is not National Instruments. There may be some examples in there however.
    Hope this helps.
    MATLAB®, Real-Time Workshop®, and Simulink® are registered trademarks of The MathWorks, Inc. 
    Joe S
    Applications Engineer
    National Instruments

  • ABS from MATLAB (simulink) to Labview (.vi file)

    Hello
    My Antiskid Control System project requires me to plot the graphs of wheel speed and vehicle speed. The original model is from Matlab simulink file-absbrake(this is an example of control)
    I tried to convert the whole system into labview representation. I donot want to use SIT or RT or any other Labview tools. I wanted to convert from Simulink model into Labview element-by-element. Can anyone help me...plss
    my due date for submission is 15march...so please help me

    abs.vi is the file that i attempted to 'convert' from matlab into labview
    Attachments:
    abs.vi ‏97 KB
    absbrake.vi ‏32 KB
    absdata.vi ‏1 KB

Maybe you are looking for

  • Error when submitting job to Qmaster cluster

    Hi all, I'm new to working with the Qmaster cluster but I created a cluster (at least I think I did it right) using the distributed processing apple document from the help menu. Everything looks right...I have an active cluster with two machines. Wha

  • Multiple bill to partner function in sales order

    How can a partner function be setup that it can appear more than once in a sales order ?  Need to make a sales orders with more than one "bill to partner".  When I add the same partner function with another customer in the header of the sales order I

  • Creative cloud update fails on mac OSx. New installation is not possible, even after deinstalling creative cloud desktop. What can I do?

    The last update for creative cloud fails. Deinstalling and new download fails also. The download stop at 45%. What can I do? Using Mac OS X Maverics.

  • Standard deviation in graph (bar chart)

    Dear Community, I am looking for a solution for my measurement analysis software, programmed in LabVIEW 8.5: I have an array (1D, double) with some data. This data is shown in an graph as a bar chart (attachment 1 & 2). Aditionally, there is an other

  • Menu Bug?

    Hi! Do you also have a bug concerning the Artists Menu? If I choose an artist with only one album the iPod displays immediately the songs of the album. That's pretty handy, but if I go back to the Artists Menu the title line (the bar with the battery