Unused vi compiled into exe

When build exe, it seems some unused vi lib and .mun files were compiled into exe like attached screenshot.

It make quite big exe, 24M.

Any suggestion?


Tags: NI Software

Similar Questions

  • Asychronously called VI does not work when it is compiled into EXE

    Hi all

    I have a problem with the code below:

    This works very well the development environment (Labview 2012) but the VI acquire is not called the EXE. I do not receive the error messages, I have read the discussions on the current path (http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363) VI.

    Any help would be appreciated.

    Ray

    Two questions:

    1. did you check the path in the Open VI reference function?

    2. have you included 'Acqurie.vi' in the 'always included"the construction?

  • The compilation. Exe as only App

    Hi all

    I have an upcoming project that will have compile me my swf and the unique path as an exe application for use on the desktop, any ideas how?

    Any help will be greatly appreciated, thanks!

    Non-Nelson wrote:
    > Hey guys,.
    >
    > I had an upcoming project which should compile me all my swf &
    > single path as an exe application for use on the desktop, no matter what ideas how?
    >
    > Any help will be greatly appreciated, thank you!

    Hello! Swfstudio of Northcode can do that very well.

    Paul

  • creating or reading text files based in compiled vi (.exe)

    I did my .vi which contains features for reading/writing of settings and write log files. All goes well until I want to create an executable to distribute to colleagues who don't have labview development. When you run the .exe, it seems that I can't create or read .txt or .ini files. No idea how I can import functions open file in read/write/text to my .exe?

    In fact, you try to create or read a file inside the executable.  Of course, this won't work.  Instead, use the Directory of the Application.  It returns the folder that contains your project (in the LabVIEW environment) file or the folder of the executable (when in the execution engine).

    So in your example, you just have to the Application Directory and the path to build to get the location of your settings.ini file.

  • mutiple compiled into one PDF

    How can I download multiple PDFs into one document?

    Go to the forum to ask questions about the use of the Acrobat software.

    http://forums.Adobe.com/community/Acrobat

  • How can I find and remove an unused police integrated into PDF exported from a book?

    The police (Myriad Pro) was the [standard paragraph] police original in indd files, but I need to replace it with another font (approved).

    MP than do find in any of the indd files in the book.

    It is not used (that I can find) in it HAVE files or PSD files placed in the indd files.

    Where I could hide the MP? It always shows by default when I open the files HAVE, so she is somehow stored in the same if files HAVE unused and embedded in the PDF file as a result of that?

    Experence sometimes "Enter/return" between a paragraph and the following can keep a former police / style or pt size which can sometimes be difficult to find and or delete them.

  • RS232 compiled EXE does not work on a development not PC, with Ni-Visa

    I have the program of development of Laview 8.2 Professional using project compile to EXE. However, the applications work on my development machine, but not others. Your document which talks about Non-admin is pointing to what I think is correct. But I need more information. Should I reinstall after that I'm granted the administrative rights to the config view the *.ini file that will allow the incorporation during the compilation process? In addition, what if the target machine has Admin or not?

    Thanks in advance.

    Hello

    I don't know exactly which document you are referencing however you must rebuild the application after you have administrator access.

    In addition, Yes this is important if the target computer has Admin, you will need the admin to run the installation program (if you have created an installation program) or the executable file (if you have created an application).

  • description interface LabVIEW node will not work when compiling

    Hello

    I have a vi that seeks VISA resources and focuses on their name of the interface to select that you connect to.

    I have a strange problem where, if I run the vi in labview it works fine. When the vi is compiled into an exe file, it does not work.

    I traced the problem to the property node "name of Inst Intf' which gives the description of the interface. In Labview, the node of this property returns the description of the interface, as expected.

    When I compile the vi, this node property returns empty strings.

    The station nearest you, that I could find to this kind of problem is it

    http://forums.NI.com/T5/instrument-control-GPIB-serial/why-visa-property-interface-information-inter...

    However, the exe is running as an administrator, so I don't think it's a problem with permissions.

    Any help would be greatly appreciated.

    I have no idea of what was the cause, but I uninstalled the device drivers for the hardware I used, reinstalled and then restarted the computer and now it works fine.

  • Why can't code when deploying exe?

    Hello

    I wonder what is the reason for blocking user wfom coding when the program is compiled into the exe?

    Wouldn't be good to allow the work of the user while the process, sometimes it takes a long time at the end and look in the brogress bar...

    I don't know if there is a technical reason for this (although I guess that there is), but if you want OR change it at any time, you probably vote for this: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Allow-users-to-continue-working-when-a-build-is-in-pro...

    Also, if you read the comments here you can see options for what you can do today.

  • Subvis call go dynamically within an exe file (avoiding the error 1003)

    Hello

    I use an architecture where the main program (compiled into an exe) can be supplied with a user-'plugins', which are collections of screw types inside a folder named especially compared to the exe. They can be called in the exe via 'open reference vi' provided by the corresponding strict vi types and corresponding relative paths.

    I want to avoid having to include one of the plugins in some way in the application builder, because users must be able to create own plugins that the request is totally ignore during the generation.

    In principle, this approach works rather well, since these plugins are not extremely complex, but sometimes, I get an error 1003 when loading a plugin.

    I have read many old posts on this error in this particular situation, mainly using versions of LV 7 or 8 (I use 2012). It was suggested to build a source distribution for each plugin, including everything that is used from vi.lib, instr.lib and user.lib. Indeed, it helped in my particular case - however, it bloats the plugin 'distribution' (which consists originally only a couple of the screws of the user) extremely and complicates the development user side.

    Now some good plugins run from in the exe without having to build a distribution source for them (they still use many vi.lib live) while others don't, and I have no idea why...

    These plugins are wrappers for hardware drivers that allow to control any hardware instrument within the main application via a certain API. So, in a particular case, a plugin that produces the error 1003 uses VISA series features (everything inside... \vi.lib\Instr\_visa.llb) and one without error doesn't (yet he uses several features of... \vi.lib\Utility\...).

    I can solve VISA problems in a simple way by including (only) the VISA-vis opportunity (and typedefs) inside the plugin folder and explicitly link to them (i.e. replace the VISA-vis of vi.lib with those copied to the folder of the plugin - I guess that's also what the source distribution).

    However, I'm confused why certain plugins with work of related vi.lib while others screws produce an error 1003 unless these special screws are explicitly distributed and connected with them...

    Oh and just for completeness: all plugins are working fine if the callee in the development system, the problem occurs only if called from an exe file.

    Novgorod wrote:

    However, I'm confused why certain plugins with work of related vi.lib while others screws produce an error 1003 unless these special screws are explicitly distributed and connected with them...

    Oh and just for completeness: all plugins are working fine if the callee in the development system, the problem occurs only if called from an exe file.

    Do plug-ins that work depend on the screw in vi.lib who are already part of your executable file because the main program uses these same screws?

    All the screws that your plugin needs must be available, if applicable can mean to be already loaded into memory (for the main of the application or another plugin), or can be found on the disk and load.  An executable includes all the screws of vi.lib - it includes only those he uses (and the screws that are marked always 'include' in the build specification).  I suspect that the plugins that work only dependent vi.lib screws which are also used by the main executable file.

  • If click the white arrow to run vi, is compiled beforehand vi?

    I have this vague idea that compile LabVIEW means something like the compilation in c; compilation only occurs when you want to build the exe.

    And when you click on the white arrow run button in a Labview vi. The vi will be sorta like VB in interpreted mode.

    But however DRESSED review model, I saw this question on Labview know the data type of the strict definition of type at compile time. This seems to suggest that whenever you run the vi, Labview compiles the first vi. Compilation happens only when you want to compile the exe vi.

    While it is true?

    A normal compiler performs different steps during compilation. Pre-treatment, check the syntax, compilation and the actual link is more or less done only once after tell you him to do.

    LabVIEW split this. Syntax checking is a continuous process while you change influence LabVIEW vis. anything not valid causes errors like broken right during the time of change. Once you press the button run LabVIEW can simply take the diagram and compile into machine code, which is normally so fast that you don't even notice it. When you save a disk LabVIEW VI takes the compiled machine code or creates it if it has not been done so far and he recorded with the VI on the disk. Loading the VI the next time the machine code is already there, at least if you are loading the VI on the same platform and version of LabVIEW.

    If LabVIEW ALWAYS executes the compiled code, regardless of whether you run the VI in the development environment or in an executable file.

    Strengthening enforcement is really mostly just take all the parts already compiled and put them in one place, stripping anything useless such as diagrams and also signs of façade that is never visible. This is of course a simplification very strong, but for the purpose of
    This valuable discussion.

  • LabVIEW crashing when you build the application (exe)

    Hello

    I am building an application from a simple labview vi (2011). The vi is that sets (boolean = TRUE) a line on the digital output card (NI 9472) when I start to run the vi. The program works very well after that I coded it. But when I try to compile an exe (application) of this project, then labview hangs in the build process. Is this a known issue? Help, please. I enclose my vi alongwith this email

    Thank you

    I'm sorry to hear that gascars.  I downloaded your project and VI and have successfully built an executable in LabVIEW 2011 and 2012 of LabVIEW.  Can you please send me a screenshot of the error you receive?  Also, can you make a simple VI that adds two numbers and see if that can be transformed into a .exe.

    Thank you

    Chris

  • LabVIEW hangs while generating exe

    Hi all

    I created a project and have a main vi which works very well in the development environment. When I Isaiah to compile the exe for the same thing, LabVIEW crashes. I don't understand why. If someone could help with that, you are welcome.

    LabVIEW version: 2013, 64-bit

    Thank you

    Prabhu

    Thank you Ranjeet. I got to work, scoring remove unused files from libraries to the project. I think the problem was on the memory.

    Thank you

    Prabhu

  • SubVis computer - which is compiled by calling Vi and who are not

    I have a request in which a compiled exe dynamically load a Subvi (sub-VI-A).

    The Subvi then statically calls a Subvi (sub-VI-B) who calls statically another Subvi (sub-VI-C)...

    All the SubVis are part of a source distribution is copied on the remote computer with the executable file.

    If I change the Sub-VI-A or sub-VI-B on the remote machine, I see these changes when sub-VI-A is called.

    However, the changes in the Sub-VI-C (on the remote machine) are never seen when sub-VI-A, B... are executed.

    In fact, I can delete sub-VI-C on the remote computer without any problem.

    However, if I delete sub-VI-B, sub-VI-A raise an error because it cannot find slot-VI-B.

    I'm completely confused.   Why is sub-VI-C compiled in sub-VI-B, but sub-VI-B is not compiled into the Sub-VI-A?

    Sub-VI-C is also used within the executable itself?

  • How to load an exe file in a secondary?

    I want to deploy an exe file containing a secondary on a system without the LabVIEW development environment. I want to load a different exe in the secondary.

    It missing me something quite basic, but how do I open a reference to the exe? I know how to open run and load a vi in a secondary but how I reference if it is an exe? Reference open vi says that's a unexpected file type.

    In order to avoid an argument,

    The VI includes 'compiled' objects that are updated every time that you run your VI.

    These compiled objects are equivalent for function calls in the execution of labview.

    This is not so different to the behaviour of the .net framework.

    Your basic functions such as +, -, x, /, can be compiled into microcode simple, which requires intelligence will be in the frame or the runtime

    So all is good, it depends on what angle you are looking at him.

Maybe you are looking for