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!

Similar Messages

  • 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

  • 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

  • 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 

  • Labview load error code 21

    I have a VI which includes subvi for vision utilities like IMAQ winddraw, wind close etc. I build the exe file for the main VI. What extra files should I include in the exe generation? since when I build the exe file normally and it generates the error labview load error code 21. what other extra files should I inculde?

    This should answer the question I think:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/f695b089e3b1cd3286256a4000702136?OpenDocument
    MTO

  • Labview load error code 15 preventing me from opening the VI

    I'm having some problems opening a particular VI. I get an error called: "Labview Load Error Code 15; cannot load default data." This VI cannot be opened, but I would like to somehow get into it (some important codes are in it). The Labview version is 6.1 and the system is on a Macintosh G3 with OS 8. Thanks in advance.

    It sounds like the VI is corrupt. Are you able to open it another machine or a different version of LabVIEW?

  • "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}

    I am using intermec printer (directly loading to the printer no system used for printing) for this program and if i run this,i'm getting this below error
    "Unable to load DLL '/system/usr/lib/libidlprinter.so': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
    any help on this .........
    Thanks in advance.
    using System.Globalization;
    using Intermec.Printer;
    using System;
    using System.IO;
    using System.Threading;
    class TestCommunicationUSBHost
        static UI.Canvas _canvas;
        static UI.Keypad _keypad;
        static UI.Canvas.Text _exitInstruction;
        static UI.Canvas.Text _appliCationTitle;
        // static UI.Canvas.Text _companyname;
        static string _operatorCodeValue;
        static UI.Canvas.Text _operatorCodeDisplayText;
        private const string operatorCodeDisplayHeader = "SCAN Code: ";
        static PrintControl printControl = new PrintControl();
        static Drawing drawing = new Drawing();
        private static bool _isExitKeyPressed = false;
      //  private static Communication.USBHost _usbHost;
        static int Main(string[] args)
            // Init new UI canvas
            _canvas = new UI.Canvas();
            // Set up some colors to use
            Color white = new Color(255, 255, 255, 255);
            Color blue = new Color(50, 100, 150);
            // Add UI black background
            UI.Canvas.Rectangle bg = new UI.Canvas.Rectangle(0, 0, _canvas.Width, _canvas.Height, blue);
            _canvas += bg;
            // Add Line
            UI.Canvas.Line ln = new UI.Canvas.Line(10, 35, 300, 35, white);
            _canvas += ln;
            // _companyname = new UI.Canvas.Text(30, 45, "KEYBORD DEMO", "Univers Bold", 18, white);
            // _canvas += _companyname;
            // Add UI keycode text
            _exitInstruction = new UI.Canvas.Text(20, 200, "Press [F4] to EXIT.", "Univers Bold", 18, white);
            _canvas += _exitInstruction;
            _appliCationTitle = new UI.Canvas.Text(05, 05, " A1 Technologies", "Univers Bold", 23, white);
            _canvas += _appliCationTitle;
            _operatorCodeDisplayText = new UI.Canvas.Text(20, 100, operatorCodeDisplayHeader, "Univers Bold", 20, white);
            _canvas += _operatorCodeDisplayText;
            // Set up keypad event handler
            _keypad = new UI.Keypad();
            _keypad.KeyDown += new UI.Keypad.KeyEventHandler(KeyHandler);
            // Set up timer event handler
            UI.Canvas.Timer timer = new UI.Canvas.Timer();
            timer.Interval = 1000;
            timer.Tick += new UI.Canvas.TimerEventHandler(TimerHandler);
            timer.Start();
            //int USBHost port o or Setup USBHost
            Communication.USBHost _usbHost = new Communication.USBHost("/dev/ttyUSB0");
            _usbHost.Open();
            // Enter UI main loop
            _canvas.Run();
            // Cleanup UI
            _canvas.Dispose();
            _keypad.Dispose();
            return 0;
        public static void KeyHandler(Object o, UI.Keypad.KeyEventArgs eventArgs)
            int keycode;
            keycode = eventArgs.KeyChar;
            if (keycode == 4)
                _isExitKeyPressed = true;
                return;
        public static void TimerHandler(Object obj, UI.Canvas.TimerEventArgs eventArgs)
            if (_isExitKeyPressed)
                UI.Canvas.Timer timer = (UI.Canvas.Timer)obj;
                timer.Stop();
                _canvas.Exit();
            else
                // Open the first USB host device and read any data sent
                Communication.USBHost usbHost = new Communication.USBHost("/dev/ttyUSB0");
                usbHost.Open();
                if (usbHost.IsOpen)
                    Console.WriteLine("Opened /dev/ttyUSB0 ({0})", usbHost.HIDName);
                    FileStream fileStream = usbHost.GetStream();
                    try
                        int timeout = 0;
                        int i;
                        while (timeout < 5)
                            // Console.WriteLine("Exiting in {0} secs", 10 - timeout);
                            Byte[] bytes = new Byte[256];
                            if ((i = fileStream.Read(bytes, 0, bytes.Length)) > 0)
                                // string data = System.Text.Encoding.ASCII.GetString(bytes, 0, bytes.Length);
                                string data = System.Text.Encoding.ASCII.GetString(bytes, 0, i++);
                                _operatorCodeValue = data;
                                // _operatorCodeValue = _operatorCodeValue + data;
                                _operatorCodeDisplayText.Data = operatorCodeDisplayHeader + _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                int leftCordinate = 40;
                                drawing.Clear();
                                Drawing.Text line1Text = new Drawing.Text();
                                line1Text.Point = new Point(leftCordinate + 30, 40);
                                line1Text.Data = _operatorCodeValue.Substring(_operatorCodeValue.Length - 7, 7);
                                line1Text.Height = 18;
                                line1Text.FontName = "CG Times Bold";
                                drawing += line1Text;
                                drawing.PartialRendering = true;
                                printControl.PrintFeed(drawing, 4);
                            else
                                Thread.Sleep(1000);
                                timeout++;
                    catch (Exception ex)
                        Console.WriteLine("Exception reading /dev/ttyUSB0: {0}", ex.Message);
                // Wait a short while
                Thread.Sleep(1000);
                // Clean up 
               // usbHost.Dispose();
            return;

    Hiya,
     The error is because the app tried to import that driver but it was not found. So, you will need
    to recheck your project setup, provide locations for imports, etc. I am not familar with Intermec Printer.
    The code snippet does not show any information about the DLL import, check there too.
    Hope this helps. :)

  • Please help with "Error writing the project file. The specified module could not be found." error.

    I am a student.  I've been trying to install and use Visual Studio 2013 Professional for three weeks now and I cannot get it to work.  I am now two weeks behind in my Visual Basic class.  I've installed, uninstalled, ran the repair option... 
    I've tried everything I know how to do.  I just spent 45 minutes on the phone with Microsoft, was transferred four times and finally told I will have to use the forums to find an answer.  I'm almost completely out of patience with this.
    I got the software through the Dream Spark program as a student.  I installed it with the web installer and it appeared to install fine.  When I try to create a new project, I get the error:  "Error writing the project file.  The
    specified module could not be found."
    When I exit the application, I also get:  "The automatically saved settings file 'c:\users\user\documents\visual studio 2013\Settings\CurrentSettings-2015-02-02.vssettings' is not available for write.  You can change this file on the 'Import
    and Export Settings' Tools Options page."
    Please tell me you can help.

    Hi,
    could you please try the points mentioned here:
    http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/0376db8f-4761-4ae5-9af2-98c53216318a#VS_IDE_unexpected_problems to eliminate the possible cause of your issue?
    Please update the result in the forum after you try the method above!
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. <br/> Click <a
    href="http://support.microsoft.com/common/survey.aspx?showpage=1&scid=sw%3Ben%3B3559&theme=tech"> HERE</a> to participate the survey.

  • Error -2003: a data handler needed by the movie could not be found

    Hello.
    I just purchased QuickTime Pro and the MPEG-2 add-on for it, for the single purpose of transcoding some MPEG-2 recordings to H.264. However, when I try to open any of my MPEG-2 files in Quicktime, I get the message: "error -2003: a data handler needed by the movie could not be found (my-filename.mpg)"
    I can play these files in a number of different free players--VLC, Mplayer, Windows Media Player, RealPlayer... but not in the player I paid $50 for.
    Can someone please help me?

    That doesn't really help. Besides, I haven't even got to the point where I'm trying to export. I get this error message when I try to open the file. I can't even play back the clip.
    And the MPEG-2 page clearly states: "The QuickTime MPEG-2 Playback Component provides QuickTime users with the ability to import and play back MPEG-2 content, including both multiplexed (a.k.a. muxed, where the audio and video tracks are interleaved together into one track) and non-multiplexed (a.k.a. elementary) streams."
    Also, Streamclip crashes when I try to load my MPEG-2 clips, so that's not going to work (and even if it did, I am trying to find a simple way to take the HDTV content I've recorded off the air and get it onto my AppleTV--I want fewer steps, not more).
    Looks like I'll have to waste some time calling customer service to get a refund, since there's no way to do this via the website.

  • I am getting this iCloud error message at pc startup:  The procedure entry point_objc_init_image could not be found in the dll

    I am getting an iCould error message at PC startup:  The procedure entry point_objc_init_image could not be found in the dynamic.....

    i ahve same problem

  • Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    Does anyone have a cure for the following error running on Windows, "The procedure entry point sqlite3_wal_checkpoint could not be found located in the dynamic link library SQLite.dll.

    I have searched my computer for that file SQlite3.dll and also file QTCF.dll and I cannot find either one when I search my whole computer for it.  I cannot fix this!  I deleted Itunes and every time I try to download it, it goes through all this download till the end when it says that iTunes.exe-entry point now found and that Procedure entry point message comes up.  HELP!  This is driving me crazy.  How can I get itunes to work again when I can't find the danged .dll file to remove, move or rename!?!?!??

Maybe you are looking for

  • Kisight: How do I get my iSight working ?  Trouble Shooting an iSight Camera.  (Version 3)

    Replacement for the second draft of this Thread   (To be removed if Published as Tip) kisight: How do I get my iSight working ? Trouble Shooting an iSight Camera.  (Version 3) Hi,     On many subjects Apple has Articles and Documents that can help. I

  • Background activiation of report S_ALR_87013564

    Hi All, We have any programme running time is 10 minutes. In this report S_ALR_87013564 data selection is increasing and now it gives maximmum run time exceeded message and shut down processing. 1) As we want to run it on day time only is there any w

  • Can No longer see my shortcuts bar in my home scre...

    Help! I have a Nokia 5800 and its suddenly gone bonkers. i'm meant to have a shortcuts bar and the top of my home screen...but its gone. ive obviously been into settings > personal > home screen > home screen theme to shortcuts bar..and all the inbet

  • Format macbook pro

    i tried holdin the comand+R botton while restarting, it did NOT work, it always logged into my desktop.

  • Issue with keychain access in Safari

    Hello everyone! I have a strange problem. After I used the migration assistant in Mac OS X 10.5.6 my keychain has all my old passwords etc. but Safari doesnt fill the password field. It only fills the name of the user. For example I visit a webpage w