Dynamic vi loading - Error code 7

Being a novice, I've been cracking my head over getting a VI I've created to run dynamically.
All I get is Error code 7.
Does anyone know what that means, and where i can find the interpretations for these error codes in the future?
Thank you very much.

Error 7 means that the vi path you use to dynamically load the vi. I attach an example that I have written to demonstrate passing data from a main vi to a dynamically called subvi using queues. As a reference for your programming examine the queue main.vi that calls the dequeue.vi
In general you can use the online help of LabVIEW in order to find out about the meaning of error messages or use the Simple Error Handler.vi from the Time & Dialog palette.
To get the maximum out of LabVIEW I also strongly recommend visiting a LabVIEW trainings course. You could contact your local NI branch for further information.
Best regards,
Jochen Klier
Applications Engineering Group Leader
National Instruments Germany GmbH
Attachments:
queue_main.vi ‏51 KB
dequeue.vi ‏14 KB

Similar Messages

  • Load error code 11 when attempting to open .vi from library

    Hello,
    Recently a colleague sent me a .llb containing a VI and sub-VIs of a program needed for my research.  The VI opens correctly but none of the sub-VIs can be found by it and when I attempt to open the sub-VIs I get load error code 11: VI version (6.0) cannot be converted to the current Labview verstion (8.5.1) because is has no block diagram. 
    I am running Vista with 8.5.1 and attempting to open a library of version 6.0.  I do not know what OS the library was compiled on.  (Linux is a possibility)  The colleague who sent me the program does not know either, as he recieved it from another colleague whom he is no longer in contact with.
    I am fairly certain the library was saved with block diagrams, so I do not think that is the source of the error.
    Does anyone know what might be a way to get these sub-VIs working?

    Okay,
    File posted.  Someone please tell me if this has a block diagram on it.
    Attachments:
    Find First Error.vi ‏24 KB

  • What can I do about "LabVIEW load error code 38: Failed to uncompress part of the VI."

    While attempting to load an executable LabVIEW application for LabVIEW 2009 SP1 on a Windows-XP machine when the following pop-up message occurs. "LabVIEW: Memory or data structure corrupt. An error occurs in loading VI 'NI_Gmath.lblib: Backward Bracket Search.VI'. LabVIEW load error code 38: Failed to uncompress part of the VI. The VI is most likely corrupt." What seems odd is that the same LabVIEW application loads fine when logged on as a privileged user account, but fails to load on a private user account.
    Attachments:
    2012-07-18 LabVIEW Load error code 38.jpg ‏1314 KB

    Here's a thought:
    So when something is decompressed, a temp folder is often used. 
    I have no idea why LabVIEW would be decompressing anything, but I suspect it is trying to put the decompressed file into a temp folder where the user does not have write permissions.
    In the .ini file for your executable, you can add a line that specified the location of the temp folder to use:
    tmpdir=C:\Temp
    On my Win7 machine, the location is:
    C:\Users\MyUserName\AppData\Local\Temp
    On WinXP, it is probably:
    C:\Documents And Settings\YourUserName\local settings\temp
     Try changing the tmpdir key in your ini file to something to C:\Temp and see if that helps.
    - john

  • Installer LV7.1 - LabVIEW load error code 21: An external subroutine required for execution could not be found.

    Bonjour,
    Je cherche à créer un installer portatif utilisant les drivers NI-DAQmx 8.7.1 et NI-CAN 2.6.0.
    Je dispose d'un code LV 7.1 et j'ai installé l'application builder 7.1.
    Mais une fois l'application installé sur un PC vierge de Labview, j'obtiens le message suivant:
    load error code 21: An external subroutine required for execution could not be found.
    Ce message est répété plusieurs fois (pour différents VIs) puis le programme ne se lance pas.
    J'ai bien veillé à installer les drivers NI-CAN et NI-DAQmx correspondant au préalable sur la machine cible.
    En chercant sur le forum, plusieurs pistes m'ont été proposé:
    La version NI-DAQ
    L'intégration du Run time Engine
    Un problème de DLL
    J'ai vérifié ces 3 points mais cela n'a pas règlé mon problème.
    Résolu !
    Accéder à la solution.

    Bonjour,
    Merci de ta réponse.
    En fait, j'ai bien inclu le runtime engine de Labview qui était effectivement la source de l'erreur.
    L'installation de NI-DAQmx v 8.7.1 provoque la mise à jour de la version du runtime engine (passage de 7.1 à 7.1.1).
    J'ai donc désinstallé Le runtime engine 7.1.1 (ce qui a provoqué la désinstallation de labview et NI-DAQ).
    Puis je suis passé par une version plus ancienne de NI-DAQ (7.2) que j'ai adapté (inclusions de DLL et de VIs).
    Les messages d'erreurs ont alors tout simplement disparus!

  • 6i can't find waveform peak detection vi. Load error code 20

    6i can't find waveform peak detection vi. Load error code 20

    The waveform peak detection VI is found only in the Full and Professional development systems. Do you have the base package?

  • Load error code 3

    Hi there!
    I'm trying to open VI's of Vision Assistants' plugins into Labview, but I get the message "load error code 3"
    I hope somebody helps me!
    Gerardo Aragón
    I'm using:
    Labview Pro 7.1
    NI IMAQ Vision 7.1

    Gerardo buen día!
    Te mando la siguiente liga donde viene explicado el error, que tengas un excelente día!!!
    http://forums.ni.com/ni/board/message?board.id=170&message.id=223811
    NorSa
    NI Applications Engineer Latin America
    Para Soporte entra aquí

  • Game has stopped loading, error code - 1712?

    Sims 3 pets has stopped loading error code - 1712?

    A Photoshop installation is tied to the machine it was installed on. Moving it to or from a hard drive breaks the licensing.
    The answer is easy: Reinstall CS4 from your disc. and apply all updates.
    Gene

  • TS3212 every time i try to download itunes my computer comes ups up with an error code half way through  down load error code 2330

    every time i try to download itunes my computer comes ups up with an error code half way through  down load error code 2330

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • Labview load error code 10:VI version (8.2b23) is too old to convert to the current

    trabajo en la version de LabVIEW 8.2, 20th aniversary edition, Professional y cuando intentaba abrir la parte de examples en la primera ventana me aparecia el siguiente error:
    LABVIEW:VI version is too early to convert to the current labview version.
    An error occurred loading VI "find examples.vi".
    Labview load error code 10:VI version (8.2b23) is too old to convert to the current
    labview version (8.2.1f4)
    luego de la primera intaslacion de la version 8.2b23 tambien me salia el mismo error, desintale y reinstale pero igual, asi que probe instalar un parche que actuliza a la version 8.2.1f4, pero como ven sigo con el mismo problema ademas de intentar mass compile pero no me funcina al parecer son muchos VIs que hay que compilar... tambien busque el LabVIEW conversion kit, pero son para versiones demasiado anteriores agradeceria me ayudaran a solucionar este problema.
    MUCHAS GRACIAS
    ATT: Carlos Andres Rosero, Colombia

    According to this, 8.2b23 is an illegal, bootlegged copy of LabVIEW.

  • LabVIEW load error code 10?

    Hello..
    I have received an .llb file from support at Anritsu, for a Wiltron 56100a Scalar network analyzer. It contains numerous priceless VI's. Unfortunately, when I try to open it, I get an error..
    "An error occurred loading VI ''. LabView load error code 10: VI version (3.1) is too old to convert to the current LabView version (6.1)"
    Is there any way I can convert this code at all? It would be most valuable! Would it be possible to get ahold of an older labview version, perhaps 4 or 5, convert to that version, then convert to 6.1? We really need these drivers..
    Thanks for any suggestions!

    Go here
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=0
    Click on "become an Enthusiats".
    Write a short bio,
    Indicate what catagory,
    Submit!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Load error code 9: VI version (8.2) is newer than the LabVIEW version (8.2b23).

    I am getting the error...
    VI version is later than the current LabVIEW version.  An error occurred loading VI 'CleanupCallback.vi'.  LabVIEW load error code 9: VI version (8.2) is newer than the LabVIEW version (8.2b23).

    This is true.  the 'b' indicates that it is a beta version of labview 8 (.2 in this case).  I am surprised your beta version is still working.  You need to upgrade to 8.2 or have the vi downgraded to 8.0
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • An error occurred loading VI. LabView load error code 1: LabView load error code %ld: %p"

    I have been developing a VI file that has
    been working fine, until now. I am using 8.6.
    Every time I attempt to open this file
    I keep getting:
    How do I fix the error code:
    Labview: Memory is
    full.
    An error occurred loading VI. LabView load error code 1:
    LabView load error code %ld: %p”
    On a separate dialog:
    “Not enough memory to complete this
    operation.”
    I ran VI analyzer which told that the
    VI:
    One or more errors occurred during
    analysis.
    Testing errors tab – Vi not loadable
    and my file name. At the bottom in the error description I got:
    “Error 74. Memory or data structure
    corrupt. <my file path> and <file name>.”
    Could not be opened.
    Is there anything I can do to recover
    the file?

    Hi kevin_khan,
    I went ahead and tried to open it and got the error attached.
    Peter T
    Applications Engineer
    National Instruments
    Attachments:
    test.png ‏14 KB

  • LabVIEW load error cod %ld: %p

    All of the sudden, when I tried to open a VI, I got an error message that said, "LabVIEW: Resource not found.  An error occured loading VI 'VI name.vi".  LabVIEW load error code 1: LabVIEW load error code %ld: %p".  I tried to revert that particular VI to the previous version through source control, but that didn't help.  Does anyone know what I need to do to fix this?  Thanks!
    Kudos and Accepted as Solution are welcome!

    It was fine, and now I can't open the VI.  It is possible that I forcefully closed the VI a few times with ctrl+alt+del.  The name.vi is the host vi for an fpga application.  It interacts with user, calls .NET DLL to communite with a DUT, pass data to/from FPGA, etc.
    I had already looked at the link that you posted.  Not sure does it apply to me.  
    Kudos and Accepted as Solution are welcome!

  • Why I get Labview load error code 16?

    "Labview load error code 16 preventing me from opening the VI"
    "I'm having some problems opening a particular VI. I get an error called: "Resource not found"; "Labview Load Error Code 16; Could not load data space link information." This VI cannot be opened, but I would like to somehow get into it (some important codes are in it). The Labview version is 7, the size of vi is about 1.08 Mb, and the system is on a Windows 98. Thanks in advance."

    Hello James,
    Thank you for contacting National Instruments.
    Try opening the VI with another version of LabVIEW. You can also try placing the VI as a subVI and then viewing its block diagram.
    You're also welcome to post your VI, and we can try to open it up here.
    I hope this helps!
    Matthew C
    Applications Engineer
    National Instruments

  • LabVIEW load error code 1: LabVIEW load error code %Id: %p

    One of my VI crashed while trying to save some data to file, I then tried to save the VI afterwards, but message with Out of Memory popped up again and the IV closed down. So now I can´t open my VI, then I try I get the "LabVIEW load error code 1: LabVIEW load error code %Id: %p" message and I have been given no opportunity to recover an older version of the VI then I close down and open LabVIEW again!!! So my VI is lost or what?
    This is a huge problem for me, hope someone can help...
    Regards
    Jesper

    Hi Jesper
    For the future you should be good with LabVIEW 2012 (Normally realeased after NI Week in Austin in beginning of August). From what I know about this problem it have not been mentioned to be solved in a fixpack before release of LabVIEW 2012.
    If you are reading in large files that uses more memory than avaliable and do wan't to avoid LabVIEW from crashing then you could add more RAM to your PC. If you are using Windows 32-bit you could try to edit the boot.ini file for Windows to allow Windows to allocate more memory to LabVIEW as explained in the following article:
    Extending Virtual Memory Usage for 32-bit Windows
     http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/enable_lrg_ad_aware/
    You could also try upgrading to Windows 64-bit this will allow much larger memory operations, and Windows 64-bit will let LabVIEW allocate more memory.
    To use Source Code Control on your computer you will need:
    1) A Source Code Control server with space to store the backup VI's and previous versions on (this can be your own PC). All Source Code Control providers that follow the Microsoft Source Code Control API. We have a list of tools that we have been tested that can be found here (note that some is free and other is not):
    Which Third-Party Source Control Providers Can I Use with LabVIEW 8.0 and later?
    http://digital.ni.com/public.nsf/websearch/26EC5904169430CE8625706E00743997?OpenDocument
    2) After installing the server you need to configure LabVIEW to communicate with this server. In the article below under the section "Configuring LabVIEW to Call the Microsoft SCC API" you can see how to do this:
    Software Configuration Management and LabVIEW
    http://zone.ni.com/devzone/cda/tut/p/id/4114
    3) You are good to go. Source Code Control uses the two most know functions "Commit / Check out." When you Check out a document you will be able to edit it, and when you then commit the changes then it will be saved with a new version number on the server. For each commit you will be able to select "Revert to previous version" to go back and restore a previous commited VI. You can use these functions on the VI it self or as I prefer from the Project Explorer.
    Bisides the advantage of being able  to restore previous versions, Source Code Control is also a great tool if your are multiple users working on the same project. You will i.e. be able to be 2 or more developers working on the same VI at the same time and then merging your changes to one VI when you are finished.
    Best Regards
    Anders Rohde
    Applications Engineer
    National Instruments Denmark 

Maybe you are looking for

  • I click on .pdf files and they do not open or download...anyone have any ideas? MAC 10.6.8 Firefox 12.0

    I went to a site and downloaded a .pdf. The next day I updated firefox and when I went to the same site later in the day, I clicked on the .pdf and it did not download or open. I am using firefox 12.0 and mac 10.6.8

  • Modify control record and send out to external (TAMA) system using ALE

    Hi All, I have a scenario to send idoc from ECC 5.0 to 3.1R/3 and then to TAMA system (external system-through TRFC) In the inbound process code of 3.1R/3, I have to write a custom FM to modify the control record and point to TAMA system and then sen

  • Features missing for working with large spreadsheets

    Have worked with some large spreadsheets, mostly at work, and numbers is missing some key elements. or tell me if I am wrong In no particular order: 1) there is no stop automatic recalculation. With a large spreadsheet you want to turn autocalculate

  • EP theme for CRM 2007?

    Hi Experts, I have done the integration of CRM 2007 into EP portal. Everything seems to be fine exept the graphical design. Currently the standard EP portal design is mixed with the new CRM one, which is not so attractive. Do you have any information

  • Problems Exporting RAW images to JPEG in Lightroom 1.1

    I have used LR 1.1 with much success in editing, then exporting/burning JPEG images.  But now, I am shooting in camera RAW (Nikon D40x), and when I attempt to export the edited images to JPEG files, I get the message that an error has occurred during