6 error when generating an executable in Labview 2009

I am trying to build an executable that uses the Spectral Measurements Toolkit vi.  I have been able to build a source distribution that allows me to call my application using a runtime engine so I know that all the dependencies are correct in the project file.  However, if I try to build this as an executable file, I get the following message:

An error occurred during the recording of the following file:

C:\Program NIUninstaller Instruments\LabVIEW 2009\vi.lib\addons\Spectral measures Toolset\LVSupport\SMT niScope Utilities\SMT niScope Dependent\SMT Config niScope for .vi spectrum (auto)

Invoke the node in AB_Source_VI.lvclass:Close_Reference.vi-> AB_Build.lvclass:Copy_Files.vi-> AB_Application.lvclass:Copy_Files.vi-> AB_EXE.lvclass:Copy_Files.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_EXE.lvclass:Build.vi-> AB_Build.lvclass:Build_from_Wizard.vi-> AB_UI_Frmwk_Build.lvclass:Build.vi-> AB_UI_FRAMEWORK.vi-> AB_Item_OnDoProperties.vi-> AB_Item_OnDoProperties.vi.ProxyCaller

Method name: Save target: Instrument

The details of the message are:

Visit ni.com/ask support request page to learn more about the resolution of this problem. Use the following as a reference:

Error 6a held at AB_Source_VI.lvclass:Close_Reference.vi-> AB_Build.lvclass:Copy_Files.vi-> AB_Application.lvclass:Copy_Files.vi-> AB_EXE.lvclass:Copy_Files.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_EXE.lvclass:Build.vi-> AB_Build.lvclass:Build_from_Wizard.vi-> AB_UI_Frmwk_Build.lvclass:Build.vi-> AB_UI_FRAMEWORK.vi-> AB_Item_OnDoProperties.vi-> AB_Item_OnDoProperties.vi.ProxyCaller

Possible reasons:

LabVIEW: File generic i/o error.
=========================
NOR-488: IO abandoned operation.

I tried mass, the vi in the compilation of... \vi.lib\addons\Spectral Measurements Toolset\LVSupport\SMT niScope Utilities\SMT niScope Directory depending on, but for some reason any installer still tries to save to this place during construction and fails.

Any ideas on what is happening here?

Kind regards

David

Hi David,

I built an executable with the VI, and I could not reproduce the problem.  Have you searched and found the VI in the specified directory?  A couple of things to try:

-Use the LabVIEW 8.x file structure.  This lie in the advanced the Build menu.

-Try and build an executable with just that VI.  Who will tell us if it is a symptom or a cause.

Nick keel

Engineering applications

National Instruments

Tags: NI Software

Similar Questions

  • We Build wave error when make it executable

    Hi guys,.

    It is a long shot, since I don't have much to go off in addition to a very vague survey error. The Details area looks like this:

    Click on the link below to visit the Application Builder support page. Use the following as a reference:

    Error 6a held to invoke the node in AB_EXE.lvclass:Build.vi-> AB_Engine_Build.vi-> AB_Build_Invoke.vi-> AB_Build_Invoke.vi.ProxyCaller

    Possible reasons:

    LabVIEW: File generic i/o error.
    =========================
    LabVIEW: File generic i/o error.
    =========================
    NOR-488: IO abandoned operation.

    Name of the method: Build: Application

    This error sometimes quickly,<10% progress="" on="" the="" build.="" other="" times="" it="" looks="" like="" the="" build="" has="" nearly="" finished="" and="" then="" it="" pops="" up.="" i="" used="" to="" be="" able="" to="" make="" a="" successful="" build="" by="" just="" trying="" a="" couple="" of="" times,="" but="" now="" after="" 10="" or="" so="" tries,="" it="" still="" looks="" like="" it's="" not="" going="" to="" work.="" please="" give="" me="" any="" suggestions.="" thank="">

    You know what... I remember having an error when generating an EXE file.  I don't know if it's the same exact error that you are talking about here, but your post reminded me earlier.  The solution I found was to make sure that I didn't have the target folder open when building it.  You may not be displaying the content of the target folder.  Try and see what happens.

  • How to create a stand-alone executable in LabVIEW 2009 Professional Development System?

    How to create a stand-alone executable in LabVIEW 2009 Professional Development System?

    This should help you http://zone.ni.com/devzone/cda/tut/p/id/3303

    Remember that the quick search with Google in many cases will be quicker to ask in this forum. I always use Google before asking for help in any forum. It is much faster

  • Get the 1097 error when trying to call a Labview DLL

    I had to write a wrapper DLL to use some functions in the DLL to a third party, and I'm having a few problems. I created an executable to test my code and it works fine, but when I try to execute the same function in the DLL that I created in Labview, I get error 1097. I read through most of the posts on this forum about this issue, but none of the proposed solutions are working for me. I'm sure this isn't a question of transfer settings to COLD LAKE because I changed the function so it only accepts a single entry (a number he obtains from a Subvi, which came from the third-party DLL, this entry is working with a bunch of other functions, so I don't think that is the question).

    I have attached the C code that creates the wrapper, but I don't know how it is useful without familiarity with the functions of the original DLL. I hope that someone can spot something basic I am out of my code, but please let me know if I need to call something else.

    I use a Labview 32 bit version 2012 on a 64-bit Windows 7 computer.

    Thanks in advance for any help!

    You should read the documentation on LoadLibrary() and understand. Essentially if you provide a full path to LoadLibrary() the DLL MUST be present at this place so that LoadLibrary() will succeed. If you pass only the name Windows DLL will ONLY search in these places:

    (1) if the module (the DLL) is already loaded it will return a handle to the loaded module and increment its reference count

    (2) if the referencing module contains a manifest (either incorporated into the image module or in a separate manifest file in the same directory as the executablemodule) specyfying a version number for this DLL will load this DLL with this version of the SxS (side by side) location and failure if it is not present

    (3) if the executable load contains a manifest (either incorporated in the executable file or in a separate manifest file in the same directory as the executable file) number specyfying a version for this DLL, it will load this DLL with this version of the location of SxS (side by side) and fail if it is not present

    (4) it will search for the DLL in the same directory as the directory where the current image of the process is loaded. It is NOT the directory of the DLL loading the DLL, BUT the directory where the EXE file from which the process was created.

    (5) in the system directory

    (6) in the Windows directory

    (7) any directory in the PATH environment variable

    (8) the path of current directory which is a location managed by windows by process and changed the two explicitedly when the application calls the API SetCurrentDirectory() but also implicitedly by things like the file selection dialog whenever it is rejected by other means than the undo operation.

    Essentially putting your dependend DLL in the same directory as the wrapper DLL does NOT work when you use the name of the DLL only UNLESS you place the two DLLs in the same directory as your executable file. If you don't want this restriction and want to be able to move these modules together in different directories, you don't have to create the correct path in your wrapper to LoadLibrary(). Basically, you must have the code to determine the location of your DLL wrapper path and then strip her own name and add the DLL name wrapped in it and then move to the LoadLibrary().

    There are several ways to determine the path of the current module. The simplest if you don't mind having the name hard-coded in your code DLL would be to ask GetModuleFileName (GetModuleHandle ("yourDLLname"), buffer, size).

  • Why a VI could break when generating an executable on one single machine over another?

    I have a great test application that is designed to run on several machines. During the tests, I go to each computer and open the project on the machine I tested. When I am satisfied with the project is behaving as expected I have create the executable file and tested that it works as expected. This is my problem occurs.

    More information: this software was originally a test at a time and has been upgraded to run several tests at the same time (sharing of resources, etc.). To do this, another VI wrote that open instances of the original VI (clone). I don't know if this is common, but it has been used for some time and is known to work even after migration to the network (probably not the problem).

    My problem is that I can build the software on a machine and it will work on another machine, but when I try to compile the exact project of the other machine it won't open the instance of the original VI. I probed the wire of the error and indicates that the VI must be broken. Then I opened the VI and there are no errors.

    I have no idea how to diagnose it further. Anyone have any ideas?

    Try the mass compilation the hierarchy of the project before making a generation. In addition, if you run VI dynamically, you must place them in the section always 'include' a Build specification.

    Or one of these things help?

  • error when generating specific wsdl

    When I try to generate the specific WSDL using webserver determinations for some applications, it works for some applications, it's that it doesn't

    http://localhost:9010 / determinations-server9010/SOAP? WSDL (it works) but it isn't specific modules
    http://localhost:9010 / determinations-server9010/SOAP/rulebasename/specific? WSDL does not not for applications

    Any idea on this?

    UserVR wrote:
    I run the project using the determinations Oracle server, accessed this specific modules wsdl url http://localhost:9010 / determinations-server9010/SOAP/rulebasename/specific? wsdl a returned HTTP 404 (not found) error.

    But the rule of thumb has deployed Oracle determinations, but http 404 error from server.
    any idea on that

    This is especially if you have a module that is not compatible with the server of determinations. For a modules running in the server of determinations, all basic levels and purpose of attribute and must have a public name.

    You can check if your modules is compatible in the following ways:

    1. in Studio go to menu Tools-->--> Validation of build Options
    2. check compatibility "Check Server determinations.
    3. click on OK
    4. open and rebuild your modules.

    If no construction WARNING came, then you must add public names to the specified attributes.

    I hope this helps.

    See you soon
    Frank

  • error when generating messages

    Hi, I get error messages when the generation of Webhelp that I didn't before. When I go into output files after getting these messages, I notice that there is virtually none of the java script in there files. The messages I get are
    "Script Active template error: (null) [line: 13] (null)".
    Model error: cannot resolve macro: RegisterResolvers

    Fatal error: cannot run macro: RegisterResolvers in the build script.
    Model error: cannot resolve macro: WH_HOME_HTM
    Model error: cannot resolve macro: SF_HOMEPAGE_HTM
    Model error: cannot resolve macro: WH_CSH_HTM
    "Model error: cannot resolve macro: WH_CSH2_HTM.

    What are these and how do I solve them? Thanks, Becky

    Becky

    This is usually caused by an incorrect installation.
    Peter Grainge explains this in detail.

    Click here to access the website of Peter for the resolution.

    It will be useful,

    Brian

  • Error when generating the Document...  Breakdown report

    Hey all,.
    I get errors in a production environment by trying to break-up of the invoice data.
    This process was robust enough and off 1000 + bills per day, I can only find 4 which fail regularly.
    Why am I quoting?, just to show that I think it is a matter of data, but just can't see something that stands out.
    I can take the output xml and run through my suite of development on my machine local and everything works well.
    Just when she will roll through the db, it's when it fails.
    Here is the result of burst which shows error...

    <? XML version = "1.0" encoding = "UTF-8"? >
    < BURS_REPORT >
    < REQUESTID > 27044820 < / REQUESTID >
    < PARENT_REQUESTID > 27044726 < / PARENT_REQUESTID >
    < REPORT_DESC > invoice print selected bills < / REPORT_DESC >
    < fichier_de_sortie > [$OUT_DIR] / o27044820.zip < / OUTPUT_FILE >
    < document_status >
    KEY to <>< / KEY >
    PDF of < TYPE_SORTIE > < / TYPE_SORTIE >
    < DELIVERY > < / DELIVERY >
    < OUTPUT > < / OUTPUT >
    < STATUS > failed < / STATUS >
    Error in JOURNAL of <>while the generation of the Document... < / LOG >
    < / document_status >
    < / BURS_REPORT >

    The problem is that this release does not necessarily help, I can't find clues in the newspapers of the OPP.
    So... the question becomes...
    Any ideas on where I can look at to solve this problem? +
    Or where I can find clues to, which would have the possible points in the question? +

    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    BI Publisher 5.6.3

    Thank you
    Hayden,

    Using reports6i as the XML generation tool? If so good luck with that, Oracle will not change for you. Trust me. reports of 2017 oracle is desupported.

    You can paste this as your setting in your xml file? In addition, reports6i can not handle xml included in the field.

    There are two options for escape character:

    1. you will need to wear on a data model. I have a few conversion utilities that make it fairly painless.
    2. try a calculated formula.

    http://bipublisher.blogspot.com/2009/05/bi-Publisher-reports6i-to-BIP.html

    IKE Wiggins
    http://bipublisher.blogspot.com/

  • 'General error' when generating of Quicktime reference

    A few weeks ago, I exported a long hour video as Quicktime reference of Avid Media Composer 7, any in yet and it built to a Blu - ray folder. Everything worked as it should. Today, I had two videos of 5 minutes exported from Avid as of any QT Ref these actually, on time, checked the project and previewed and everything seemed OK. I went to build and he shoots almost immediately the error message "General error". I saved the project, closed again and tried again and still no luck.

    I use the same settings that previously by the arbitrators QT of Avid (Digital mastering by default, flatten the video tracks, native size [1920 x 1080], mixing of audio tracks in .wav, 96 kHz, 24-bit), the Avid codec I use and so the SEO has not changed (Avid DNxHD 145) and my project settings are still the same as the last time that I managed to do a disc using refs (creation of Blu - ray H.264 QT (, 1920 x 1080 29.97, PCM audio, 30 Mbit/s). I use a static menu in this project, just like the last time I built successfully. Before attempting to build, video and audio playback in again correctly and the project checks very well.

    Why this might be happening? The message provides absolutely no useful information - just 'General error' - so I have no idea what is the underlying issue.

    Someone at - it else experienced and overcome this phenomenon?

    An error that is probably due to multiple causes.

    Two things to try:

    close the current project and 'clean' caches.

    Reset the reminder preferences.

    What version of yet?

  • Error when generating the snapshot of the Project Office Pro Plus 2007

    I try to Pack Office 2007 Pro more with ThinApp v4.5 and it breaks down during the 'snapshot.exe - GenerateProject' article in the process.  I tried this time using the graphic interface and the command line.

    (error - instant tool has encountered a problem and needs to close.  We're sorry... etc etc")

    I managed to packaging and construction using a virtual machine that has ThinApp v4.04 on it.  I even built the project using the 4.04 and then used 4.5 to package the application.  Realize that this is a failure on the creation of the ThinApp (snapshot.exe C:\Template.ini - GenerateProject C:\MyProjectDirectory) project files, only not on the creation of the package (exe or dat).

    Is there a note out there somewhere that I missed out on the snapshot.exe v4.5 with problems of construction project for Office 2007 files?  I packed several apps on this virtual machine by using the 4.5 version and this is the first time that I had this problem.

    Thoughts?

    Thank you

    Bryan

    Hi Bryan,.

    Sorry for the delay in response. I followed the exact steps mentioned by you, but nothing helped.

    The package is created successfully every time. I tried several times and get the same result every time.

    If I take another shot at this question, I would ask you to try it in a different environment. I mean, it's to try on another computer

    create a virtual machine for XPSP3 and then try it on her. As far as we know, it could be an environmental issue.

    Thank you

    Maddy

  • Get an error when generating a .doc file

    Hello

    We want to generate a file .doc out of our project CHM in orden to have a printed manual. To do this, we use the option "printed Documentation. I'm a right click on it, and then I chose the option 'generate '. This brings a dialog box in which I'm leaving all the default values. Then I click 'Finish' to generate the document.

    This opens a blank microsoft word window called "PrintDoc.Dot". Then I get a Microsoft Visual Basic warning message: "the macros in this project are disabled. Please consult the online help or the documentation for the host application to determine how to enable macros.

    Then I got a dialog box stating: "Microsoft word appears not to respond. You want to continue waiting for an answer. If I click 'Yes', the same message will reappear. If I click 'No', I get this message: the world macro VBA version refistered is incorrect. Please reinstall printed documentation. »

    I installed Microsoft Word 2007. My PC works on Win XP, but I tried a Vista PC with the same result.

    A person ran into a similar problem?

    I'm doing something wrong?

    I would appreciate any help with this issue. Thank you.

    You were right. I changed the settings to macros in Word and which corrects the problem. Thank you very much!!

  • FTP &amp; InternetTK folders when generating exe

    I have a request in LV2012 SP1 that uses FTP screws and screws of InternetTK (from the obsolete Internet TK).

    When I build the application to an executable file, I find myself with 2 directories next to the exe: NI_FTP and NI_InternetTK_Common_VIs. Both have 5 screws with the same names in them (from their corresponding .lvlib, for example, 'Get case Matching.vi' or 'No. Time Out Error.vi').

    In LV2011, I had not any files with screws during the construction of the same application.

    Why do I get these 2 folders when generating the executable in LV2012? Is it possible to have the manufacturer request to pack these screws in the exe? I thought I had 2 screws with the same name in different lvlibs should not be a problem.

    Have you checked the flag 'Use LabView 8.x file layout' (Advanced tab in the properties of generation)?

    Kind regards

    Marco

  • Cannot open the secondary an executable after upgrade 2009

    I have a request that I had built in an executable in LV 8.6 open successfully several sub-panels using calls to the VI server. I use the App.Kind property to programmatically determine if the application runs in the system development or as an executable file. In both cases, I first use the Reference.vi Application open to get a reference to the instance of localhost, then I pass this reference to the Open Reference.vi VI, as well as the path of the VI. In the case of development system, I pass the absolute path to the VI to be opened in secondary school; in the executable file, I just pass the name of VI. Since each Secondary VI is included in the executable version (in the.) EXE file; always included), RTE has never had any problems finding files VI and by opening the sub-panels.

    However, after the LV2009, my executable update can't find the screw more. I checked they are all designated as "Still included" in the specification to build, and I rebuilt the executable several times, trying different possible paths (absolute and relative) to try to coax the RTE to find the necessary files. But everything I try it, still no luck. I'm still stuck with error 7 - file not found.

    Are there known issues with calls to the server LV2009 and VI in the executables? Does anyone have any ideas as to what could have changed that a running executable to screw would build between versions 8.6 and 2009? I would be very happy to help.

    Maybe this will help:

    7 error when launching my executable generated in LabVIEW 2009

    http://digital.NI.com/public.nsf/allkb/EEE8A5650DAC28558625762F0070A384

    Steve

  • Executable VI generating an error 222 on Keithley 2612 although his run correctly when starting labview 2009 directly

    Hi all

    I have a VI that works perfectly and I can control, a 2612 Keithley has for measurements of transistor.

    The VI run well when I realize it from the computer that has the Labview 2009 (XP OS) platform

    Equipment (IE Keithley 2612 A) is related to another computer that is not labview 2009.

    I installed the Run-time-engine 2009 (32-bit XP OS) on this computer.

    Then, I create an executable of my VI with the option 'build application.

    The executable VI starts normally on the computer, but when I run it, I get an error message from the Keithley 2612 (which wasn't the case when I ran the VI directly from the computer haing LabVIEW 2009 installed on it). The error message is 222 (ie the long parameter)

    I thought I did something wrong and I create an executable from an original VI of Keithley (IE without modification). I get the same error message.

    When I create an executable with the runtime engine 2009 included (because it is possible to do with LB 2009), I am geeting the same error message.

    So I need to check step after step, when the message arrives but

    Someone knows something about such a question?

    Thank you

    Hi all

    Just for those who might experience a similar problem.

    I found the solution after fighting all the possibilities.

    The source of the problem was (for some reason) that the country setting of the computer was wrong

    and decimals are written with one, instead of a point.

    As I correctly reset the country setting, stand-alone files work normally.

    Best regards

    Youki

  • error when pass array 1 d by data in table pointer via Labview-built c++ dll

    I'm trying to generate a Labview VI to a DLL and let it be invoked by vc ++, by which a 1 d array is passed. However, I can't generate the DLL when you use the data pointer to the table, which gives the error like below:

    [ERROR]
    Code :-2147221480
    Strengthening of the DLL.
    Error when compiling the DLL as a function name or a parameter is illegal. Check function and parameter names are legal C identifiers and are not inconsistent with the LabVIEW headers.
    Additional information: 9 project link errors
    Type Library generate error. MIDL.exe failed during the compilation of the odl file used to create the type library.
    Note: The error indicates that the odl file has unknown types. This error is possible when
    works with non-standard types is exported using the method qualifier exporting files in
    release the configuration that have not been recompiled during the build process.

    The Prototype of VI define is as below

    But, if I use the pointer to manage through the table, the generation is successful, error-free. I write something to call the DLL built labview, which basically reads 1000 double the data of an instrument.

    #include "TestDQMaxDLL.h"
    #include 
    
    using namespace std;
    
    int main(int argc, char** argv) {
        cout << "Start testing DQMax DLL" << endl;
    
        int leng{ 1000 };
        DoubleArray rawDPData = AllocateDoubleArray(leng);
        test_dqmax_dll(&rawDPData);
        cout << "Successfully invoked the DLL!" << endl;
        cout << "DoubleArray.len: " << (*rawDPData)->dimSize << endl;
        for (int i = 0; i < leng; i++)
        {
            cout << (*(rawDPData + i))->elt[0] << "\t";
            if (0 == i % 10)
            cout << endl;
        }
    
        system("pause");
    
        DeAllocateDoubleArray(&rawDPData);
    }
    

    But the printed results are not correct.

    My questions are:

    1. why cannot generate DLLS with the data of table pointer. In this case, the argument of the function is as simple as a double array.

    2. for table handle pointer, when the resutls are incorrect and how to get the good ones.

    Any comments would be appreciated.

    BTW: I use Labview 2012 with Visual c ++ 2013 on Windows7 64 bit.

    I never needed to pass a table of LabVIEW handle external code. Search this forum for posts of RolfK, it is most likely to have posted such an example. I recommend that you keep things simple and remodelling your table a table 1 d 2D before moving on to external code and manage as a 1 d table (it's just a little extra math).

    Sorry I don't have a solution on why you can't build with a 1 d as a pointer of table table. If you post your project I'm happy to try to build (I'm on LabVIEW 2012, however), but as you said, it will rely on another machine, it seems more likely to be a problem with something on the specific computer where there is a problem.

Maybe you are looking for

  • Delete call ID an Apple TV fly

    Hello all, I need help!, my house was broken and a thief stole my apple tv and my TV. I want to know if I can delete my Id or avoid other people have access to my information.

  • Add-on Manager

    When I selected Tools - Add - ons, my Firefox error and order me to send error or not

  • Cannot start assistant in LabVIEW DAQ

    Hello I can't launch the LabVIEW DAQ assistant, but I can do it Max MAX DAQ's not flexible because I can't custom code or convert.  I tried all different ways to open the DAQ assistant and I finally realized something, on the block diagram, I open To

  • HP5524 photos of print size 10 x 15 on A4 paper

    When I print pictures from my iPad on this printer they print at a size of 10 x 15, while the printer is set to A4. Print off as usual! My previous printer HP2610 everything printed properly (A4) by following the instructions. What could be the probl

  • The parameters ' view by ' control panel of Windows 8 will not stick

    Hello I am running Windows 8 Pro N. When I open the control panel its default view is "category". If I change this to 'Small icons', farm on Control Panel and open it again, it's back to the "category" mode Is there a setting that needs to be set so