Creation of stand-alone executable file with similar library files without errors of link

I have an Executive Test that is run on two different test systems. Each stand has another card ARINC429. The old card use 429dll32.lib, while the most recent map use pci429.lib. Test Exec code only loads a single library file (using LoadExternalModule) depending on what the test bench has the card, but since there are many similar functions in both, ICB does not test Exec be built as a stand-alone executable.

In CVI 5.0.1 I opens the "Create stand-alone executable file" and select "add files to the executable. I check the 429dll32.lib and the pci429.lib to include in the creation of executable, and then click 'OK '. When I click 'OK' to create the executable I have several link errors, one for each function both .lib files have in common.

Is it possible for each of these .lib files to be included in the compilation without having to create two separate executables?

eatmontr:

If you use LoadExternalModule(), you need not include the .lib files in the Executive test project.  Refer to the CVI for LoadExternalModule help.

Here's the info on the help:

LoadExternalModule loads an external object module file. You need not list the file in your project or loaded as a module of an instrument.

The file may be an object (.obj) file, a library file (.lib) or a library (.lib) import DLL.

Here are a few articles to OR who can help.

To access the plug-ins with CVI (with sample program) http://zone.ni.com/devzone/cda/epd/p/id/133

How do I call dll if I have two functions with the same named in two different dll? http://digital.NI.com/public.nsf/allkb/5299ED8D43F3B5FE852563BF0056EBA6

Tags: NI Software

Similar Questions

  • How to include external files when generating Setup for a stand-alone executable file?

    Hello

    I tried to build a standalone executable from my Labview project and I've been able to do successfully.  Now I would like to include a few external .txt files in the installer. These .txt files have parameters and constants that will be used by the program, and my program needs to load / read them during execution.  For now I have to manually copy / paste them into the machine targets, but I really hope that the installer can do it automatically.  In my view, there is a folder "data" in the Setup, and that's where I hope that these .txt files can be added in.

    How can I do? Can anyone give me some suggestions? Thank you!

    Rgds

    Harry

    Right-click on the target project. In your case, it would be 'My Computer'.

    Norbert

  • create a stand-alone executable of a vision-generating project

    Hello

    I created an application for inspection. This application must run on another machine and I want to make a standalone executable out of my vision generator project.

    Just to be sure:

    Is it possible to export my Vision Builder Labview project and create a standalone executable?

    I currently installed

    LabVIEW 2010

    Vision Builder 2010

    I guess I need the Vision Development Module to generate the exported project exe file and run it on another machine I need a for the vision development module run-time license. Is this correct or am I missing something?

    Thank you!

    Hello

    my name is Johannes of National Instruments.

    You are right with you supported. You can generate LabVIEW Code out of the VBAI Inspection. But to do so, you will need the Vision Development Module installed - and cause the Vision Acquisition Software (should be already installed if you have images with the VBAI). Out the LabVIEW source code, you can create a stand-alone executable. But this executable runs only if you have installed the Vision Development Module Run Time on the target and activated the cause (run-time license).

    For the target you don't need another license for the acquisition of vision software - which is included in the Vision Development Module Run Time.

    Johannes

  • 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

  • When I try to open a compressed folder, I get an error message. How to open this file without error message?

    When I try to open a compressed folder, I get an error message saying: "Windows cannot open the folder. _ Compressed (zipped) folder is invalid. How to open this file without error message?

    Click on this link: http://www.vistax64.com/tutorials/65254-zip-file-support-restore.html or

    http://www.7-zip.org/download.html

    Make sure that you choose the correct version of bit. (32-bit or 64 - bit).

    Helped?

  • I run the stand-alone windows installer to thr and displays the error code 0 x 80240009

    When I ran the windows update stand-alone installation, it updated kb947821 hotfix, but after he would not install updates

    0 x 80240009

    WU_E_OPERATIONINPROGRESS

    Another operation in conflict was underway. Some operations such as the installation cannot be performed twice at the same time.

    Restart and try again.

  • Using the stand-alone converter 5 with entry as local windows 7 in vmware fusion 4 output, the output is a folder with many files. How can I get this folder into a single file with the extension windows7.vmwarevm?

    I use standalone converter where I am converting my local windows 7 in vmware fusion 4 at the exit. When I made the migration wizard previously, I had an output of a windows7.vmwarevm file. However, when I made the converter, I had a folder called windows7. In this case, I had several files.

    Is there a way for me to convert all these files into one file, that is to say: windows7.vmwarevm? do I need to use the converter or other vmware tools?

    Welcome to the community,

    Please take a look at Re: how to convert a package/package of my folder on drive hard/vmware fusion? to see if that helps. This is a pretty old post, but I think that it is still valid.

    André

  • Failed to load the VI using the stand-alone executable interface user

    Hi all

    I am preparing for my deployment. I'm building an executable for my UI (based on the example of the Simple user interface), I get the following error when you try to run my test sequence using this as standalone executable.

    I do not get this message when I run the user interface vi (Note: the LabVIEW adapter is configured to use LVRTE).

    There are several code modules in test sequences, but this error occurs only for 3 of these code modules. These 3 code modules run from another sequence of "sub", located in the same file in sequence as in the main sequence. These sequences of void (the first is call Stop Valve monitor as shown in the error message) operate asynchronously and each of them calls the LabVIEW code module (first called StopValve.vi as shown in the error message). The rest of the code modules that are supported correctly are call of normal main sequence code modules.

    Can someone please help me figure out why these 3 code modules are not able to load in? Any way to solve this problem?

    I use 32 2014 LabVIEW and Teststand 2014 32 bits.

    Yours sincerely,

    chati

    If it's on the same machine, and the only difference is the development of vs runtime. Then it is likely that those with bad or outdated compiled code.

    For every VI in question:

    Check if the screws are marked. Open them, check the properties of the VI / general tab make sure the ' separate compiled code in the source file "is not checked.

    In addition, perform a massive compilation on the VI. CTRL - Shift and click on the run button. Controls RECOMPILE the VI, Maj RECOMPILE all the sub screw

    Save all the

    I hope this helps.

  • First 10 Elements: Menu DVD does not work on your stand alone player, file Open_DVD\Sources

    Hallo,

    I have prepared a project with Premiere elements 10 using video clips of 1440 * 1080 with some petite markers and menu structure. The structure of the DVD encoded has VIDEO_TS (as usual) and OpenDVD records which is new to me and that obvoisely contains important information.

    Read the DVD with Windows Media Center, everything is good. Using a stand allone player that the menu not played correctly, the proportions are not correct and there is no possible navigation. I tested the DVD in an electronic market with many players and found only one or two who have been able to read the DVD. My questions:

    How to build a DVD that consists only of the VIDEO_TS folder with all menu information included, and which is compatible with a standard DVD player? (what settings)

    What is OpenDVD folder?

    Thank you for your response, best regards

    Your project Preset should match your Source footage, as close as possible.

    If you go on a DVD, a workflow would be to import and edit your material anamorphic 1440 in a corresponding project. Then, once finished, / the share of exports in DV - AVI, create a new DV (DS) project, import this file DV - AVI inside and do what the authoring, then burn to disc for the DVD.

    Good luck

    Hunt

  • How can I get the VISA resource menu dropdown to be filled in my stand-alone (exe file) application automatically?

    Hi all

    Here's a simple question, if all goes well.

    I am building an application (i.e. an exe file) in a simple program that VISA allows to read and write in a RS-232 com port. When I run it before you build the application, everything works correctly and resources VISA control, which is a drop-down, menu is automatically populated with the ports available com. When I run the application on a computer without LabVIEW installed nothing appears in this window. I made an installer which includes NI LabVIEW 8.5 engine, OR Measurement & Automation Explorer 4.3 and NOR-DAQmx 8.6.1. Is there anything else I need to include? All specific settings I should do when I build the exe file?

    I use LabVIEW 8.5.

    Thank you.

    DAQmx is only for the DAQ cards of OR so I do not know why you have installed that. The driver for VISA applications is NI-VISA (surprise!)

    Add the NI-VISA run-time driver to your Installer.

  • Stand Alone executable

    I built the application and want to deploy the application on other computers operating in remote locations. I built the exe file and the installation package. However, when I try to connect the device 9205 to the field PC and run the application everything is NAN. I've included the software to configure the 9205 in installer as well.

    1. what could I be missing?

    The project works well on the PC that I have developed, but not using the exe file.

    Probably you need to export your settings to MAX and include the file with your Installer.  The installer can be configured to automatically import these settings to the MAX on the target pc.

  • Set the permission on a stand-alone host failed with the script that I made

    I made a script to set the permissions on our ESX host.

    The goal is to set the permissions on the host itself. The same permissions when connect directly with the vsphere client to the host.

    The problem is that after running the script, that the permissions are not set to hostlevel. They are only vissible connecting to the virtual Center Server.

    This is my script:

    #$esxCred = Get-Credential
    $vcServer = read-host "Virtual center server: "
    $vcServer =  $vcServer.Trim();
    $cluster = read-host "Clustername "
    $cluster = $cluster.Trim()
    write-output "Credentials for ESX hosts "
    $esxcred = get-credential
    
    #Connect to vCenter
    Connect-VIServer $vcServer | Out-Null
    
    #Connect to ESX hosts in cluster
    foreach ($esx in Get-Cluster $cluster | Get-VMHost) {
     write-output $esx
     Connect-VIServer $esx -Credential $esxCred | Out-Null
     New-VIPermission -Entity $esx -Principal '<DOMAINNAME>\ESX Admins' -Role NoAccess
     }
    
    #Disconnect from vCenter
    Disconnect-VIServer $vcServer -Confirm:$false | Out-Null
    


    Does anyone know why the permissions are not set on hostlevel?

    When I run the New VIPermission when connecting to the esx host, it works well...

    Hello

    In order to operate, you need to replace:

    New-VIPermission-body $esx - Principal 'BUSINESS\ESX Admins"- role NoAccess-Server $esxConnect

    With:

    New-VIPermission-entity $esx. Name - main 'BUSINESS\ESX Admins"- role NoAccess-Server $esxConnect

    It is not good to work with objects, comes from a single connection and use directly, as part of another connection (relay something like ToString() + OBN will happen).

    Kind regards

    Pavel

  • Transitional SC_PATH_IS_NOT_EXECUTABLE (path is not an executable file:?) Errors

    Mode = RUN_FROM_SHARE. SE SC_PATH_IS_NOT_EXECUTABLE in HorizonThinAppClient newspaper. It happens rarely and randomly timed but once she starts only to solve is to remove the bin file to sand the application under \Thinstall on the client. Anyone know the possible causes?

    This tracking down to a DNS configuration problem. Solved.

  • A write to the file without error number error

    Hi all

    I have this error in 3 different cube:

    A write to a file [essbase/e22/app/appli/database/ess00022.pag], [0x3ce329d0] address with handle [135] to compensate for the bytes [0], [886063104] failed with error [2] after [6607] bytes.
    ...
    A write to a file [essbase/e20/app/appli/database/ess00022.pag], [0x2da58670] address with handle [157] to compensate for the bytes [0], [886071296] failed with error [0] after [2687] bytes.
    ...
    A write to a file [essbase/e13/app/appli/database/ess00007.pag], [0x2da58670] address with handle [164] to compensate for the bytes [0], [338931712] failed with error [2] after [3431] bytes.

    For this cube, I use four storage partitions: e22, e20, e13 and e18.
    The error occurs in the last page of each partition file (each partition is 45).
    The final cube exceeds 100 GB as the other 2.

    Lower cube 45 works very well.

    Can someone help me?

    Thank you

    I don't know if this will help, but in the interest of eliminating the causes possible, you could...

    Try to run without parallel calc
    Try to set a bit (> 2 GB?) less than the 'real' maximum available space on each volume when Essbase data volumes are set up

    If you have not already, I would certainly raise an Oracle support for this call. Out of curiosity, what platform / version?

  • Can I have my 6 button replaced with apple iPhone? without error 53

    I have an iPhone 6, which unfortunately, I dropped, broken screen and the home button is down, and I am very familiar with the error 53. I know that when you have your screen replaced by apple that they give you that a new touch id sensor, my question is if I take my apple phone to have the screen and replaced "home" button I will give the touch function return id and loose the possibilities of original error 53, or the phone must have the touch id to get a replacement one?

    Kind regards.

    Hello

    "I will give the rear tactile identification function": Yes, Apple and Apple authorized retailers (and only them) have the ability to install a new home button AND make it work again with the enclave of sure of the processor that allows Touch ID function.

    James

Maybe you are looking for