Como correr un programa de c en labview

Hola
necesito correr un programa que tengo de c en labview, como quien
dice ejecutar el algoritmo y luego enviar los resutlados a un subvi.
alguien sabe como?
chao gracias

Hola Murcielago, para correr programas  en c debes de generar dlls de tu programa y estos dlls los puedes llamar a en labview, ya sea con los  call library fucntion node o a partir de labview 8.20 puedes usar el import wizard de shared library, si tienes el encabezado de tu aplicación.
EL siguiente link te puede ser de utilidad
http://digital.ni.com/manuals.nsf/websearch/4f1447f7cd83d6d88625690d00637ced
http://zone.ni.com/devzone/cda/tut/p/id/2818
Saludos
Mensaje editado por BeCeGa
Benjamin C
Senior Systems Engineer // CLA // CLED // CTD

Similar Messages

  • Como correr un programa para que lea una tarjeta sim

    hola que tal necesito saber como correr un programa para que mi iphone detecte una tarjeta sim?

    Que tal Monik,
    Me da gusto saber que fue de ayuda.
    Para lo que quieres hacer debes de tener manera de sensar o medir la posición actual del motor cada vez que empiezas el programa. Supongo que eso lo puedes haccer con un encoder incremental. O si nadie va mover el motor manualmente podrías guardar la posición actual en un archivo de texto y que tome ese valor y con algún tipo de bandera decirle si es para un lado o para el otro.
    Ahora, para poder tener esto iniciando, lo más recomendable es en la máquina de estados tener un estado de inicio donde valorará la posición actual, ya sea mediante la lectura de un archivo o con un sensor (encoder Incremental) y si esta es distitna de 0 (posición Inicial) ir a un estado donde revisará hacia que lado debe de moverse y hará el recorrido correspondiente (mismo código que el que ya teníamos) de hecho puedes reutilizar ese estado!!
    Otra cosa que quería comentarte, preguntas otras cosas sobre el mismo foro esta notificación me llegará solo a mi, y si me encuentro fuera de la oficina por algún motivo será un poco más lento el servicio. Sin embargo, si tu haces un nuevo foro, automáticamente nos notifica a todos los ingenieros y sale como un foro sin respuesta que tambíen llama la atención de otras personas que estan revisandolos.
    Otra cosa importante son los Kudos, cuando una respuesta funcione, puedes dar Kudos si esta te parece buena y eso nos ayuda a llevar un control de las respuetas buenas que damos o en cuales requerimos mejorar.
    Estoy a tus ordenes, lo que pueda ayudarte!!! Revisa estos tips que te di y me dices si hay alguna duda!!!
    Saludos, que tengas una excelente tarde!!
    Luis Fernando
    National Instruments Cono Sur
    Ingeniería de Campo y Consultoría
    http://chile.ni.com/

  • Como visualizar un programa adicional en el panel frontal de labview

    como visualizar un programa adicional en el panel frontal de labview.
    este programa es un DVR y quiero que aparezca en labview....
    como lo puedo hacer???
    Help me!!!

    Hola
    Para que tengas un mejor soporte, por favor haga su pregunta en la comunidad en Español. 
    Saludos Cordiales

  • LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\os\rtx\LVThreads_rtx.c

    Hello,
    I tried to run my application on LM3S8962.
    The build succeeded. All LEDs are green,
    but the application doesn't run.
    The error message appears in the status window:
    [17:06:21] Status: Build Succeeded.
    LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\os\rtx\LVThreads_rtx.c at line 141: 2 19
    This message isn't really enlightening to me.
    Doesn't anyone know how to solve the problem?

    Hi Peter,
    i tried to modify the code to isolate the problem.
    With the attached code the new error message appears:
    LV runtime error in file C:\Program Files\National Instruments\LabVIEW 2010\CCodeGen\libsrc\blockdiagram\CCGClusterSupport.c at line 141: 2 13
    What are the limits of clusters in LV ARM?
    My Toolchain:
    Tool Version Numbers:
    Toolchain:        RealView MDK-ARM  Version: 4.11
    Toolchain Path:    BIN40\
    C Compiler:         Armcc.Exe       V4.0.0.728
    Assembler:          Armasm.Exe       V4.0.0.728
    Linker/Locator:     ArmLink.Exe       V4.0.0.728
    Librarian:             ArmAr.Exe       V4.0.0.728
    Hex Converter:      FromElf.Exe       V4.0.0.728
    CPU DLL:               SARMCM3.DLL       V4.11
    Dialog DLL:         DLM.DLL       V1.19a
    Target DLL:             BIN\UL2CM3.DLL       V1.63
    Dialog DLL:         TLM.DLL       V1.19a
    Thanks
    Marco
    Attachments:
    ICUA4_SOURCE_DISTRIBUTION.zip ‏463 KB

  • Program PIC Controller Using Labview

    Dear Team
          I have created an application using LABview, in which i'm testing an Electronic Hardware before and after programming the Microcontroller available in the hardware.I've almost completed the project expect the auto programming Of Microcontroller using LABview.
     I have to use PIC2kit or PIC3kit to fuse the c code.It would be helpfull ,if i get any support or clarification in the above mentioned auto programming using labview.
    My Client requirement is to call the pic2 standalone application used for programming PIC controller Via LABview and program it..Let me know if there is any possibility.. 
    Solved!
    Go to Solution.

    You could use System Exec.vi to run your standalone application.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • I Seek code for programming lego minstorm with labview

    Hi,
    I'am building a car with lego mindstorm for a project and i seek code for programming my car with labview. If you already use labview for programming lego mindstorm, can you send exemples codes for see how the car do for move or turn. please.
    Thanks 

    duplicate post
    duplicate post
    Please try to keep your question to one thread. Otherwise people don't know where to respond. 

  • Como recarregar o programa AdobeExport PDF perdido ?

    Perdi o arquivo do Adobe Export PDF cuja licenca de uso adquirida tem validade ate Janeiro de 2016. Como fazer para recarrega-lo sem custo adicional ?

    I can`t recharge the lost file. Arnaldo M. Botteon
         Em Domingo, 15 de Março de 2015 22:33, pwillener <[email protected]> escreveu:
    Como recarregar o programa AdobeExport PDF perdido ?
    created by pwillener in Adobe Acrobat.com Services - View the full discussionWhat exactly means "perdi"? [topic moved to Acrobat.com Services forum] If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7300150#7300150 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7300150#7300150 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Acrobat.com Services by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Como desinstalar un programa en la MacBook Pro

    Como desinstalar un programa en la MacBook Pro

    Usually you just have to drag the application to the trash and you're done. Some programs come with an installer / uninstaller that removes everything including preferences and other files.
    Sometimes if you just drag to the trash an application, its settings will be kept in library folders.
    Hope that helps,
    Goodbye

  • NO SE COMO DESCARGAR EL PROGRAMA ADOBE EXPORT pdf DESPUES DE HABERLO ABONADO

    NO SE COMO DESCARGAR EL PROGRAMA ADOBE EXPORT pdf DESPUES DE HABERLO ABONADO

    Lo primero, llama al Soporte Técnico, es gratuito y conocen los problemas de instlación, te harán las preguntas pertinentes y seguro que te solucionan el problema en minutos.

  • Como devuelvo un programa mal comprado

    Como devuelvo un programa que compre mal

    No hay devoluciones.
    Puedes intentar obtener un reembolso mediante la opción de Notificar un Problema en tu Recibo o directamente en iTunes en el historial de compras.

  • Run labview program without necessity of labview license . is it possible?

    Hi
    I wonder is it possible to have a labview program that can be run without of necessity for labview license?
    now we can produce executable labview programs but they need labview licences.
    Best regards
    s Farashi
    Solved!
    Go to Solution.

    That does not make any sense. You have a license for the development system. You can create an exe and distribute as many copies as you want without further licenses. The only thing you have to distribute with the exe is the runtime engine. Where did you get the idea you needed a license for each exe?
    Message Edited by Dennis Knutson on 01-30-2010 12:11 PM

  • Como controlar um motor de passo com labview?

    Olá, espero estar perguntando na categoria correta.
    Sou iniciante em LabVIEW e preciso construir um programa que controle um motor de passo conforme digito quantos passos ele deve andar. Daí gostaria de uma luz sobre como fazer isso.
    Na verdade, o plano total é, para cada quantidade de passos, verificar a posição do equipamento (através de um outro software conectado ao LabVIEW) e, assim, traçar gráficos passos x posição, mas isso fica para depois; primeiro gostaria de um tutorial, alguma coisa que me ajudasse a controlar o motor.

    Bom dia,
    Esses dois termos são um pouco parecidos com o dilema dos termos sensores e transdutores, isso porque as pessoas às vezes acabam usando ambos como sinônimos e isso gera uma grande discussão sobre as pequenas diferenças de significado. No entanto, se você trocar a palavra sensor por transdutor ou vice-versa, muito provavelmente você será entendido.
    O significado exato do termo controlador ou driver vai depender muito do contexto que você o está usando, por exemplo, se eu estou falando de controlador no contexto sistemas de controle, ele provavelmente entendido como "compensador" (exemplo um compensador PI, PID, entre outros). No entanto, em algumas áreas os termos podem se confundir, como é o caso de quando estamos falando sobre um equipamento que aciona algum motor ou equipamento. A pequena diferença nesse último contexto é que quando se fala em driver, entendo como um dispositivo que tem além de um compensador (seja ele de malha fechado ou não), tem uma eletrônica de potência para o acionamento do dispositivo.
    Espero ter ajudado a esclarecer um pouco mais sua dúvida.
    Atenciosamente,
    Plínio Costa
    Application Engineer
    National Instruments Brazil

  • Windows 7 is Error reporting when running a program generated with in Labview LV 7.1!

    Dear Labviewer's
    Once back in the yaers I'd generated a program with  - Labview 7.1.
    Now I'm informed that the version LV 7.1 is not supported by Windows 7.
    Now when i try to run the Program generated by Labview 7.1.  in windows 7 , I get communication error by the serial port. 
    Is there somehow somthing I can do to get this work. Is there any Runtime engines From NI for Windows 7.?
    Please Feed back if anyone got info for help.
    4 Stars ...
    HFZ
    Solved!
    Go to Solution.

    Have you installed a newer version of the NI-VISA runtime engine that will work with Windows 7?
    The most recent on the NI website appears to be version 5.0.3.
    http://joule.ni.com/nidu/cds/view/p/id/2257/lang/en

  • Is there an easy way to program a PIC16F77 via LabVIEW 7.1 and a DAQ?

    I am a student working on a senior design project that requires us to program a PIC16F77.  I have no experience with PIC programming, and was hoping for an easy way to do this in LabVIEW.  If anyone has done this before I would appreciate a few pointers, or maybe even an example program.  Thanks.

    Greetings,
    I would recommend using an embedded bootloader (protected block) and programming the PIC serially with your application (normal production use).  Use a max232 chip for the TTL to RS232 conversion or alternatively use an Silicon Labs or FTDI usb chip with the virtual serial port drivers (VCP).  Access the PC's serial port from LabView using VISA (numerous examples) to send the hex file.  The bootloader is normally programmed into the microprocessor with a standard programmer (PICStartPlus, ICD2, ICDU40, etc).
    I have used the CCS C Compiler for PICs with exceptional results (easy to use, not extremely expensive, numerous examples, library of functions).  Hi-tech also provides a demo of their C compiler with example code posted on Microchip's website.  The protocol and hex file format should be apparent from the bootloader example code (CCS bootloader.h/c loader.c).  The best source of information is Microchip's website.  They provide data sheets, application notes, etc.
    Hopefully I haven't mis-interpretted your posting and your goal isn't to emulate a device programmer from LabView.  If I have, my bad.  Microchip has numerous data sheets on the programming spec (voltage levels, bit timing, sample circuits, etc).
    Cheers,
    JMA_eng

  • Can FLASH program be pasted on Labview

    Hi everyone,
    Newbie here, I would like to know whether a Flash program can be pasted on a Labview program, just like the Flash program can be pasted on the Dreamweaver.
    Thank you all.
    Regards,
    Tay 

    Probably not as easily since (if I remember correctly) both Dreamweaver and Flash are from Macromedia and since Dreamweaver is designed to do this kind of thing and LV isn't.
    What you can do is integrate ActiveX controls into your front panel and interact with these controls using invoke nodes and property nodes. Place an ActiveX container (in the containers palette) and right click it to insert a flash object (on my system I see 2 objects called "Shockwave ...."). You will then need to wire the reference into the nodes on the diagram to get the various properties and methods. If you can find the documentation for the ActiveX interface somewhere then you should probably be all right, but just consider the following:
    LV is multiplatform and ActiveX is windows only. LV doesn't always work too well with AX.
    You have to have the ActiveX object installed on every computer where this will run (and it needs to be the same version).
    Getting the data from the object could be tricky.
    If all this doesn't work, you could try using an Internet Explorer ActiveX object and just load the flash file into an HTML page.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

Maybe you are looking for

  • Will i loose all my music off my itunes on my laptop if i make a new itunes account?

    i have 2 itunes accounts as i forgot the password to my first and my phone is trying to sync to my itunes now after it has been restored. i wanted to wipe my phone and start all over again but i dont want to loose the music off of my laptop.

  • Exporting PDF files on CS5 - hyperlinks to URLs only work for first page

    I'm new to InDesign and am working through the "Classroom in a Book" training workbook for CS5, I 've got to lesson 14 and have found that when exporting to PDF (interactive) format, the hyperlink to a URL only work for the first page of the document

  • How to add a dynamic filter in query panel

    I want to display the data in recent week, is it possible to add a dynamic filter in query panel? eg. filter--> actionDate >= CurrentDate - 7 BO version: BOX I 3.1

  • Viewing Flash Videos in IE8 with limitations

    Hi All, My OS is XP 32-bit SP 3. Flash player 10.1 Default Browser IE 8.0.6001.18702 Problem: Watching Fox News videos are impossible when only the black video window comes up , while Fox business videos are OK. IE8 loads the News videos with error w

  • Business Rules 10g - Dis_count calculation rules

    Hello We have scenario where we need to calculate the total dis_count that can be applied on Order. Say, If Customer buying the <service1> for 2 yr contract then add 10% to <TotalDis_count> If Customer is Employee then add 5% to <TotalDis_count> If i