Un programa en LabView version 8.2, pasarlo a la version 7.1

buenos dias, necesito pasar este programa que esta en labview 8.2 a labview 7.1, alguien me puede ayudar, gracias!
good morning!, I need to convert this program which is on LabView 8.2 to Labview 7.1, can someone help me? thanks!
Always searching for more knowledge ...
Attachments:
PracticaFinal_PID.vi ‏67 KB

Hola,
Para hacer la conversión hacia versiones anteriores, LabVIEW presenta la opción de Save for Previous Version. LabVIEW 8.5 puede guardar para dos versiones anteriores (8.0 y 8.2). Las demás versiones de LabVIEW solo pueden guardar una versión hacia atrás, por lo cual para convertir de 8.2.1 hacia 7.1  hay que tener LabVIEW 8.0, convertir de 8.2.1 hacia 8.0  y  luego abrir en 8.0 y guardar para 7.1.
Eso fue lo que hice para tu VI. Al pasar de la 8.2.1 a la 8.0 no tuve ningun problema. Al pasar de la 8.0 a la 7.1 me marcó algunos Warnings  de que algunos VIs no pudieron guardarse para la versión anterior debido a que ciertas funciones cambiaron bastante de la 7.1 a la 8.0.  Al abrirlo en 7.1 marca algunos Insane Errors que suceden precisamente al hacer este tipo de conversiones. Sin embargo, el VI no tiene flecha rota, es decir puede correr.  Te recomiendo que lo abras en 7.1 y vayas copiando a un archivo nuevo por partes o sustituyendo funciones hasta que no te marque errores al intentar guardar el archivo.
Espero te sea de utilidad. Que tengas muy buen día.
Pablo Bernal  |  NI México
Attachments:
PracticaFinal_PID.vi ‏139 KB

Similar Messages

  • I want to send 10 bit ADC from PIC via serial communicaton. i send it separetly 8 bit first then the other 2 bit. how to program in labview to capture those two packet then combine it togother

    i want to send 10 bit ADC from PIC mCu via serial communicaton.
     i send it separetly 8 bit first then the other 2 bit (2 bit --> with zero at 6 bit from LSB).
    how to program in labview to capture those two packet and then combine it together
    so i have 10 bit in lab view
    thank you

    Close, but now quite. You need to specify to the VISA Read how many bytes to read, not how many bits. Thus, the input would be 2, not 16. It's also not clear why you're trying to use the "String to Byte Array". The Type Cast will give you a number based on what data type you wired. You're basically telling it how to interpret the string. In this case we're telling it to interpret the string a 16-bit value, so we'll get a 16-bit integer. I know you said you wanted a 10-bit, but you can't have that. You'll get a 16-bit with 6 bits set to zero. Note: I did not completely understand what you said so we may need to change this slightly, but we want to get the communication and reading collection working first.
    Also, since you seem to be setting this in a loop you probably want to monitor this or to collect the data. For that you need a shift register. See attached for a modified version of your attempt. You need to set the datatype to I16 or U16 based on whether the value you get from the PIC is signed or unsigned.
    Message Edited by smercurio_fc on 05-01-2007 02:28 PM
    Attachments:
    Read PIC.vi ‏21 KB
    Read PIC.png ‏7 KB

  • Can not open 7.1 program in labview 8.5.1 -- handler error

    I made a program in labview 7.1
    And I wanted to open it in labview 8.5.1, but it opens with errors, and I can not run it.
    In every sub vi, till the lowest level, I got the error "handler error".
    Can somebody help me? 

    Hi Sven,
    Due to data dependencies within the *.LLB your 8.5.1 version of your vi was still opening the 7.1-version of the 'General error handler.vi'. Because these two version are no longer identical, LabVIEW concluded that the wiring you made was no longer correct.
    Replacing the 'General error handler.vi' under the data dependencies with the one at: C:\Program Files\National Instruments\LabVIEW xxxx\vi.lib\Utility\error.llb
    should resolve the problem as we discussed on the phone.
    Kind Regards,
    Wouter
    NI Applications Engineering
    Northern Region

  • Integration of C++ program into Labview

    I have written a C++ program that generates low level code to control a machine. I would like to integrate this program into Labview. I would like to know what would be the best approach to do:
    - use CIN (code interface node). Can I take a few parameters as inputs and pass a string of characters to labview? Originally the C++ program generates a text file with the comands to control the device, I guess this can be substituted by a string control/indicator that will control the GPIB device.
    - use ActiveX
    - DLLs??
    Thanks in advance for your help.

    Madrid,
    I would recommend that you stir away from CINs. If you can compile your C++ code into a DLL, then you can easily call it from LabVIEW. CINs have the disadvantage that if you change your code in anyway, you have to update the CIN node in the diagram of the VI. However if you recompile your DLL, you don't have to inform LabVIEW that you have a newer version of your DLL. If the newer DLL is in the same path that LabVIEW is searching, then it'll link to it automatically.
    ActiveX is also a good choice. It might take more development time than creating a DLL though.
    My two cents,
    Azucena

  • Programing in LabVIEW becomes slow.

    Programing in LabVIEW becomes so slow , If i try to connect a single wire its taking 5 sec delay i dont know why please give me some suggestion how to make it faster because IN using more than 200 controls for my project so please kindly let me know any suggestion to make it faster as with this speed we cant finish the project in time.
    Solved!
    Go to Solution.

    LabVIEW Version is 13
    CPU is i3 3.30 GHz and 4GB RAM
    Im using only booleon controls almost 150 ,Im using all that in an event based but still 2000 signals are yet to be mapped on the events, coming to 150 itself its slows down only that program so i cant do the remaining mapping with this speed to finish the 2000 signals. Even for changing the label and and wiring one signal every thing takes that much a delay of 5 sec and its still increasing on more the controls i kept on front panel.
    Compiler setting its in value 5.
    I have not kept the controls and indicator overlapped for blockdiagram as well as front panel
    Attachments:
    compiler settings.PNG ‏7 KB

  • Is it possible to tell me how i can make program in labview that take pixels of black and withe image and give coordinate of black or white pixels back to me.

    hello everybody
    is it possible to tell me how i can make program in labview that take pixels of black and withe image and give coordinate of black or white pixels back to me.
    Solved!
    Go to Solution.

    Here's a slightly simpler version.
    (Depending how you want to process the output, you might not need to traspose and/or reverse. Boolean to 0,1 works directly on the 2D array if needed )
    amkamyab wrote:
    it is good. i could enter 1bit image in and show it in array. now i want to take pixels coordinates. i meen i want to have (x,y) of each pixel to send it pixel coordinate to another program i wrote for steppers motor.
    Can you be a bit more specific on how the output is supposed to look like? Initially you wrote "black or white", and since all pixels are either black or white, do you want to send all pixels? In what format? In what order? Please clarify?
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    BW-Pix.png ‏8 KB

  • Quisiera saber si hay un programa en labview que sea similar a un osciloscopio

    Me encuentro realizando adquisicion de datos con una DAQ SCB 68, estos datos van a ser provenientes desde un rayo laser pero quisiera saber si puedo o ya existe un programa EN LABVIEW que sea un osciloscopio donde pueda visualizar la potencia principalmente.
    gracias

    rosiiee wrote:
    Me encuentro realizando adquisicion de datos con una DAQ SCB 68, estos datos van a ser provenientes desde un rayo laser pero quisiera saber si puedo o ya existe un programa EN LABVIEW que sea un osciloscopio donde pueda visualizar la potencia principalmente.
    gracias
    Spanish is a bit rusty but I hate translators online because often they confuse things so...
    Translation
    Subject " I would like to know if there is a program in labview that is similar to an oscilloscope"
    Body
    "I am acquiring data with a DAQ SCB 68 (note this is not the instrument just the breakout but I believe it's irrelevant to what is being asked), this data is going to be coming from a laster but i want to know if i can, or if there is an existing program in LabVIEW that would act as oscilloscope where one can visualize the principal power (not sure of direct translation, technical term)
    CLA, LabVIEW Versions 2010-2013

  • Writing C programs for Labview RT

    I am conducting research on automated manufacturing processes. We have
    an 8186 controller that is controlling our machine. The professor I am
    doing research with and myself prefer to write programs in c or c++. We
    would like to retain the real-time aspect of the Labview RT OS. We use
    version 7.1. Is there a way we can have that os run a program we have
    written in C? If so how would we do this.
    Thanks

    Though I have not had to do this yet, I've been told that you can get dlls certified by NI to run in the RTOS.
    But even doing this you'll still have to write LabVIEW VIs to call the dlls.
    Remember, you're dealing with LabVIEW Real Time. It is designed to
    programmed from LabVIEW. There are other Real Time operating systems
    you can get that are targeted from C/C++. You might want to look into
    those.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How can we call a C program in Labview

    Hi
    a) In one of our application we have to call a C progran in Labview. I am not able to call it. Can somebody help me.
    b) When we call a C program ,is  Labview makes block diagram for it.
    Please reply
    Thanking You

    hi there
    well, then we need more information what you mean with a "C program". are you talking about C source code, a command line executable, a high end executable with a GUI, a dll, ActiveX.... what are the parameters you have to pass? what parameters are returned from the "C program"? please post some code....
    as a startup you could search the examples shipped with LV. open the example finder from the runtime menu.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • I want to write a program in LabView then pass the test results to teststand to check if it pass or fail without displaying the test stand program,

    I want to write a program in LabView and create an execute but I want to be able to pass test results to test stand to find it the unit pass ar fail the test then save the data to a database. How would i go about it.

    What's confusing is your statement that you want to do this "without display the test stand program". You can minimize the TestStand UI to the task bar but if you don't want TestStand to be running, how can TestStand evaluate the result. Explain a little more please.
    In the message body of your post, you just say you want to create a LabVIEW exe and pass the results to TestStand. What I would recomend is that instead of an exe, you create a dll and use TestStand's DLL adapter to call it and return the results. TestStand will evaluate it and do the logging.

  • How To create a Buffer Application Program in LabVIEW?

    Dear all:
    Can someone advise me on how to implement a buffer application for LabVIEW.
    Basically I have 2 application programs than run continously in paralell.
    1) LabVIEW Data Logging & Plotting Program. It takes 90 ms to excute its code
    2) C++ Data Acquisition Program. It Samples the data from a Reflective Memory Card (on the PCI bus of my PC)
    at 1ms and creates a Buffer where it store one sample per channel every 1 ms.
    I know LabVIEW have the Code Interface Node to call a C program but since both (The LabVIEW and the C) are runing (one slower than the other) in Parallel I need to somehow interrupt the C program from LabVIEW and get from it the data that it as collected so far.
    Any suggestio
    n will be highly appreciated. I attach txt file with a little more description of the problem.
    Thank You very much.
    Felix Beltran
    ALSTOM Power Conversion.
    U.K
    Attachments:
    NI_SW_Buffer_Question1.txt ‏2 KB

    Hi Felix,
    The best architecture for this application would be to have the C++ program divided into two threads. One thread is continuously acquiring data and placing it in a queue. The other "handling" thread will read data from the queue and serve it up to your LabVIEW application.
    Much better than using the Code Interface Node, build the C++ application into a DLL. You can then call a function from your LabVIEW program to start the acquisition, and then calls to the handling thread function will return data to LabVIEW.
    I hope this helps.
    Regards,
    Phil R
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Need help writing host program using LabView.

    Need help writing host program using LabView.
    Hello,
    I'm designing a HID device, and I want to write a host program using National Instrument's LabView. NI doesn't have any software support for USB, so I'm trying to write a few C dll files and link them to Call Library Functions. NI has some documentation on how to do this, but it's not exactly easy reading.
    I've written a few C console programs (running Win 2K) using the PC host software example for a HID device from John Hyde's book "USB by design", and they run ok. From Hyde's example program, I've written a few functions that use a few API functions each. This makes the main program more streamlined. The functions are; GetHIDPath, OpenHID, GetHIDInfo, Writ
    eHID, ReadHIC, and CloseHID. As I mentioned, my main program runs well with these functions.
    My strategy is to make dll files from these functions and load them into LabView Call Library Functions. However, I'm having a number of subtle problems in trying to do this. The big problem I'm having now are build errors when I try to build to a dll.
    I'm writing this post for a few reasons. First, I'm wondering if there are any LabView programmers who have already written USB HID host programs, and if they could give me some advice. Or, I would be grateful if a LabView or Visual C programmer could help me work out the programming problems that I'm having with my current program. If I get this LabView program working I would be happy to share it. I'm also wondering if there might already be any USB IHD LabView that I could download.
    Any help would be appreciated.
    Regards, George
    George Dorian
    Sutter Instruments
    51 Digital DR.
    Novato, CA 94949
    USA
    [email protected]
    m
    (415) 883-0128
    FAX (415) 883-0572

    George may not answer you.  He hasn't been online here for almost eight years.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • How to use a Matlab Program within Labview

    Hi
    I saw in this forum that many users are using some matlab program
    executed in Labview program. I have actually Labview 7.1 and would like
    to use some of my matlab program in Labview. Is there an easy way to do
    it ?
    Thanks
    Thomas

    The MATLAB Script function is kinda buried in the function palette, and
    can be found under Functions >> Analyze >> Mathematics
    >> Formula.  Unfortunately this feature is not available in
    the LabVIEW Base package.  Hope this helps!
    Andy F.
    National Instruments

  • How to call a python program in labview 7?

    Hi
    I want to call a Vtk  python program in labview .Is it possible to open the program in the same front pannel of the labview program.
    Thanking you
    Shri 

    HI
    Thanks for the thread, but I am using the Python script that mainly has VTK and output for my program is a 3D model presented in vtk window. The thread provides examples that mainly pass strings. 
    Now I would like to know if it is possible to open this vtk window in labview or even as a separate floating window (since the window gets closed after the python program is finished)
    Thanking you
    Shri

  • How to call another program from LabVIEW?

    Hi!
    Is there anyone that can answer my question? I have found a similar thread where the user needed to call labVIEW from some program but I want to do the opposite.
    I made a program in labVIEW that communicates via COM-ports (serial communication) with the processor I use at the job (Ubicom´s IP2022).
    Now I want to add more funcionality to this program. I want to be able to program re-program IP2022 through this LabVIEW application.
    The programming is done via an Ethernet-dongle. I start a program called IP2kProg, I write the ip-address of the dongle and the program-file (.elf) downloads at this address. But how can I do this from
    LabVIEW, do I need to open IP2kProg or can I send some values to it via LabViEW?
    Ant suggestions?
    Thanks, Amir

    Amir,
    There are couple of options:
    1.  If your IP2kProg program has a command-line interface, you can use LabVIEW's System Exec.vi and send the commands and parameters to it. 
    2.  If the IP2kProg has an API / exported functions, you can call them from LabVIEW using the Call Library Function Node. 
    Hope this gives you some ideas. 
    -Khalid

Maybe you are looking for

  • Bind Variable In Case Statement Produces Error ORA-01036

    When running the following command using ODP.Net 10.1.0.301 I recieve error 1036. Statement runs fine within SQL+ and Toad. Dim SQL As String = "SELECT CASE WHEN EXISTS(SELECT part_nbr FROM item_master WHERE part_nbr=:part_number) THEN 1 ELSE 0 END A

  • Looking for best wireless Network Adapter for my PowerMac G5

    Dual 2.3 GHz PowerMac G5 (PowerMac11,2) 5.5GBs DDR2 SDRAM Leopard 10.5 Before the local Mac Store upgraded me from Tiger To Leopard I was using a Hawking Technology HWUG1A Wireless Adapter. It was clunky and the software crashed me now and then. Now

  • Dynamic visibility for icon

    Hi friends, In my current dasboard i am using dynamic visibility functionality. So for that i am using 2 icons for pricing & costing,2 pie charts for pricing & costing. for this i map like for each icon in destination property i gave i blank cell in

  • Urgent help in upgrading!

    Hi All!! I have instaled Portal 7 SP 9 and I want to upgrade it to SP13, I have the .sca files for that. But I dont have the ones for Kernel and IGS. My doubt is, in the Marketplace I see Support Packages and Patches -->" SAP NetWeaver" --> SAP NETWE

  • Select people who didn't renew their license registration

    Say i have to generate a report to show the people who didn't renew their license registration , renew of license registration must be every year , i want to select by the date of last renew which might be before more than 2 or 3 years. I want to exc