build the executable; delete tree.vi VI?

I got a new job contract.

The old person of LabVIEW has left the company and is not available.

In the Word file, he leaves behind him, he writes

To generate an executable or Setup during the system test, you must remove 1 file of the project. The file is called tree.vi VI, it draws in the Agilent MXA series. Remove the vi and build. When you save the project, it will complain. Reject errors, and it will allow you to move forward.

The Agilent MXA screws are in a lvlib

Is there an easier way to do it?

The only reason why I could see wanting to remove the VI tree is because VI is broken and does not work.  Usually, it is because it has entries with requried subVIs and the VI of the tree is really just to show you the functions, sometimes in the same provision as a view of the palette.

Now have a broken VI usually is a problem because it cannot work, but in modern versions of the manufacturer under the heading Exlclusions extra, you can have things like 'Remove unused libraries of the project members' this will remove the screws that are not acually used from the build process.  If this is not verified your broken VI will be added, and then the build fails because a VI is broken.  Is - what the problem was the original developer?

Tags: NI Software

Similar Questions

  • Build the executable and Installer programmatically

    Hello

    I have a project in BT 8.5.1 with several objectives of the RT, and each of them has its executable corresponding specifications of construction (within the same project).

    Whenever I want to compile a new version of my software, I have to compile one by one, changing properties each time (because I hace several machines and railways of destination can be completely different, or even the icon may change).

    I found the way to automate this process of compilation through BuildTargetBuildSpecifications.vi (in Program Files \National Instruments\LabVIEW 8.5\vi.lib\AppBuilder\), but it is very basic, because it only allows to select the project and the name of each application.

    I need a way to access the properties of each specification to Build programmatically (the Destination path and the path of the icon at least) and build all sequencially.

    In the same folder that the BuildTargetBuildSpecifications.vi mentioned there are many functions that seem to access to all of these properties, but I have no idea how to use (most of them use"objects"as input parameter).

    Could someone help me with this?

    Thank you very much!

    Hi Fruss,

    additional to the information here, I'll send you a project including a VI that allows to change icons programmatically. Simply choose your project path and where your icons. I hope this information helps you! If you have any questions you can contact me again.

    Best regards

    SUSE

  • Build the executable with WSN

    Salvation OR engineers,

    How can I deploy the WSN library in an executable file?

    Thanks in advance,

    Luiz

    OLA SR. Luiz.

    Neste caso, Bivvy instalar o also pilot NI WSN no wave maintains .exe will be used e o computador não fazer o Chipre will deploy das variaveis, POIS elas sao published pelo Gateway automatically.

    Caso o senhor não possua o instalador do pilot, por favor, acesse o link abaixo e faca o download do mesmo.

    http://Joule.NI.com/nidu/CDs/view/p/ID/2158/lang/en

    Single also o modulo NI WSN pioneer não precisa ser taboo para this type of application.

    Beneficial has will para contactar em caso amendments of other questions.

    Atenciosamente.

    Hello, Mr. Luiz.

    In this case, try to install the driver of WSN in the PC that will serve as the .exe file. If you do not have the driver installation program and won't be not necessary do the deployment because the variables are automatically published by the gateway.

    Please, use the link below to download the driver.

    http://Joule.NI.com/nidu/CDs/view/p/ID/2158/lang/en

    Feel free to contact us for any question you may have.

    Sincerely.

  • Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds?

    Y at - it an easy way to have a version number that the code VI has access to, and which is used as the version number for the executable file and the installer builds? Now whenever I update my software I need to change the global variable where I store the version number, and then when I build I have in hand, open the properties and change the version number for the executable file and the installer. Is there an easy way to make these as all corresponding automatically?

    Have you tried a search? This question comes up a LOT. Here are the results of a search: http://forums.ni.com/t5/forums/searchpage/tab/message?location=Node%3A170&q=application+version#mess...

  • procedure that will dynamically build the query data and table Medallion

    Hi people,

    I write a procedure that dynamically build the query data and insert in the table "dq_summary".
    enforcement procedure with success and data not inserted into the table 'dq_summary '.

    I have thin problem in code attached below
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    FOR rep IN cur_di_attr
          LOOP
            dbms_output.put_line ('d: ');   
            
            BEGIN
              EXECUTE IMMEDIATE 'SELECT table_name FROM ' || sum_tab || ' WHERE id = ' || rep.attribute_id INTO rep_tab;
              dbms_output.put_line ('rep_tab: '||rep_tab);
              run_query := run_query || ' ' || rep_tab || ' WHERE ' || nvl(wh_cond, '1 = 1');
              EXECUTE IMMEDIATE run_query INTO end_rslt;
            
              EXECUTE IMMEDIATE 'UPDATE dq_summary SET ' || prop || '_' || p_code || ' = ' || end_rslt || ' WHERE attribute_id = ' || rep.attribute_id;
              dbms_output.put_line ('e: ');      
              dbms_output.put_line ('rep_tab: '||rep_tab);
              dbms_output.put_line ('end_rslt: '||end_rslt);
              dbms_output.put_line ('f: '); 
            EXCEPTION
              WHEN no_data_found THEN
                rep_tab := '';
                sum_tab := '';
            END;  
          
          END LOOP;    
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    but in the procedure below must be run several times
    create or replace
    PROCEDURE DQ_REPORT_PROC
    AS
      prop                              di_proposition.pro_name%type;
      col_var                           VARCHAR2(100);
      p_code                            dq_parameter.para_code%type;
      sum_tab                           di_proposition.summary_table%type;
      run_query                         dq_parameter.run_query%type;
      wh_cond                           dq_parameter.where_cond%type;
      end_rslt                          VARCHAR2(20);
      rep_tab                           VARCHAR2(50);
      v_error_msg                       VARCHAR2(200);   
      v_error_code                      VARCHAR2(200);  
      v_object_name                     VARCHAR2(50)                          DEFAULT 'DQ_REPORT_PROC';
      v_iss_no                          VARCHAR2(20)                          DEFAULT NULL;
      CURSOR cur_di_prop IS 
        SELECT upper(replace(replace(pro_name, ' '),'-')) pro_name
          FROM di_proposition;
      
      CURSOR cur_di_para IS
        SELECT upper(para_code) para_code, run_query, where_cond
          FROM dq_parameter;
      
      CURSOR cur_di_attr IS 
        SELECT attribute_id
          FROM dq_summary;
    BEGIN
      
      DELETE FROM dq_summary;
    
      INSERT INTO dq_summary (attribute_id, entity_name, attribute_name, data_champ) 
        SELECT a.attribute_id, b.entity_name, a.attribute_name, a.data_champ
          FROM di_attribute_master a, di_entity_master b
         WHERE a.entity_id = b.entity_id;
    
      FOR c_prop IN cur_di_prop
      LOOP
        prop := c_prop.pro_name;
        
        BEGIN
          SELECT distinct SUBSTR(column_name, 1, INSTR(column_name, '_')-1), summary_table
            INTO col_var, sum_tab
            FROM user_tab_cols a, di_proposition b
           WHERE a.table_name = 'DQ_SUMMARY'
             AND upper(replace(replace(b.pro_name, ' '),'-')) = prop
             AND SUBSTR(a.column_name, 1, INSTR(a.column_name, '_')-1) = upper(replace(replace(b.pro_name, ' '),'-'))
             AND upper(b.status) = 'Y';
             
             dbms_output.put_line ('col_var: '||col_var);
             dbms_output.put_line ('sum_tab: '||sum_tab);
             
        EXCEPTION
          WHEN no_data_found THEN
            col_var := '';
            sum_tab := '';
        END;
    
        dbms_output.put_line ('a: ');
    
        FOR para IN cur_di_para
        LOOP
         dbms_output.put_line ('b: ');
          p_code := para.para_code;
          run_query := para.run_query;
          wh_cond := para.where_cond;
          dbms_output.put_line ('c: ');
          FOR rep IN cur_di_attr
          LOOP
            dbms_output.put_line ('d: ');   
            
            BEGIN
              EXECUTE IMMEDIATE 'SELECT table_name FROM ' || sum_tab || ' WHERE id = ' || rep.attribute_id INTO rep_tab;
              dbms_output.put_line ('rep_tab: '||rep_tab);
              run_query := run_query || ' ' || rep_tab || ' WHERE ' || nvl(wh_cond, '1 = 1');
              EXECUTE IMMEDIATE run_query INTO end_rslt;
            
              EXECUTE IMMEDIATE 'UPDATE dq_summary SET ' || prop || '_' || p_code || ' = ' || end_rslt || ' WHERE attribute_id = ' || rep.attribute_id;
              dbms_output.put_line ('e: ');      
              dbms_output.put_line ('rep_tab: '||rep_tab);
              dbms_output.put_line ('end_rslt: '||end_rslt);
              dbms_output.put_line ('f: '); 
            EXCEPTION
              WHEN no_data_found THEN
                rep_tab := '';
                sum_tab := '';
            END;  
          
          END LOOP;    
        END LOOP;
      END LOOP; 
      COMMIT;   
    EXCEPTION
          WHEN OTHERS THEN
             v_error_msg   := SQLERRM;
             v_error_code  := SQLCODE;  
             TRACKER_LOG_EXECEPTION(v_iss_no, v_object_name, CURRENT_TIMESTAMP, v_error_msg, v_error_code);
          COMMIT;        
      
    END DQ_REPORT_PROC;
    Published by: BluShadow on February 7, 2012 12:04
    addition of {noformat}
    {noformat} tags.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    903830 wrote:

    I write a procedure that dynamically build the query data and insert in the table "dq_summary".
    enforcement procedure with success and data not inserted into the table 'dq_summary '.

    I'm sorry. But there is no kind of say that way. The code is undesirable. The approach is wrong. This will not happen. This will cause the fragmentation of memory in the shared Pool. This will lead to another session being impossible to analyze the sliders because of the fragmented memory.

    Not only that. The underlying data model is questionable.

    All this seems a candidate perfect as an example of how NOT to design and code and use Oracle.

  • My Avira Antivirus has been removed and the executable file Recovery Disc Creator

    Hello

    I want to create recovery DVDs, but I can't use Recovery Disc Creator because Avira deleted the executable file. How to do it?

    Thanks in advance

    I use Avira if a long time now and I've never experienced something like that. It's pretty bad situation now.

    Creator of recovery disk Toshiba cannot be downloaded and what you can do now is to reinstall the OS using the HARD drive recovery option, then when the laptop has once again factory settings, you will be able to start this tool and create the recovery disk.

    Out of curiosity, what model of laptop you have exactly?

  • Application Builder: the Application closes after the Launcher

    I'm launching my application executable that was built with the Application Builder. I use framework actor and have a Launcher.vi which is defined as the start VI and launched the actor parent. When I run the executable, I can see the front Launcher.vi opens and closes quickly, but the main façade never opens. Where should I start to debug my executable? Is there something obvious that I do not forget to do? I compared my configuration of the application to the actor framework example (that does not produce an executable work) and can not find something that is different.

    OK, I thought about it. I went back and watched closer launcher for the example of master actor and I noticed the block launch actor VI didn't have "Open front actor Core" value true which seemed strange because the front opens correctly for this application. I searched in VI properties for the parent of project example actor Core.vi and saw that the appearance of the window has a custom configuration. The options to see the façade when called and then close while initially closed have been verified in the sample project but unchecked for my project. I also watched the run settings and saw that the example is configured to reentrant run clone Shared while my project is configured to run not reentrant.

    Changing the appearance of window correctly launching my main façade. I played with the run settings to see what those and noticed that when my VI is configured to not reentrant run, child actors do not seem to get started. In addition, the stop on my front button will close the front panel, but the application is still running. Change the mode to Shared clone lance child actors correctly and completely closes the application when you press the stop button. I also tried clone reentrancy pre-allocated to see what would happen. errors of launcher just immediately say the call by reference VI is not executable.

    I guess it makes sense. Framework of the actor expects that the State is not maintained when a player is destroyed, so shared clone ensures that each instance of a child actor has its own pool of memory to be erased when the player is stopped. http://zone.NI.com/reference/en-XX/help/371361J-01/lvconcepts/reentrancy/

  • Connecting leads to build the array in a VI script

    Hello

    I'm looking for a way to connect the wires to a knot of "generation table" in a script of VI.

    I have a table of entries that should translate in a table via node 'building the table '. I added successfully to the input terminals for 'building the table' node in a script of VI. However, the program fails when I try to execute a loop to wire all of the entries in the order. The problem is, all the sons of entry to the first element of the' generation '. Snapshot of the code is attached.

    Please suggest me a way to link the different elements at different entrances to the node 'building the table '.

    Thank you.

    Concerning

    HB

    LV12 running at the moment, the fastest to write a small example that so open LV14 and watch your VI.

  • Save to File.vi report does not work when integrated with the executable

    Hello

    When I use the NI_Report.lvclass:New Report.vi and NI_Report.lvclassave report to the File.vi, I can use successfully to create and excel spreadsheet so he was working at the developer.

    However when I build the source into an executable, this no longer works.  (The name of the file is built from the source, so I'm not using a dialog box)

    It can, however, create a .html file, but it does not seem as tidy.  Why is he not creating the Excel file?

    Running developer suite 2009, tried the .exe on Windows 7 and Windows XP with the same effect.

    Thank you

    -

    James

    See the attached zip file, it works for me here, see jpeg images and build the application accordingly and let us know. Did not include exe file, because the file size is too big.

  • With the help of the child in the executable class

    I'm kinda stuck and don't know how to solve and could not find a solution online.

    I have a parent class and its children to the class. The child class only overrides a method, but not the run method. I want to compile the executable project, where the run method is called, but the class type is the child, not parent. How to do this?

    I tried three things, but all in vain:

    (1) in the build properties when I select start VI the run method of the parent, I get in the executable the parent, not the child's class class. It's logical. However, I couldn't find the option to use the child as a type's class.

    (2) when I add the run method of the child class and appeal to parents, I get two windows pop up. The run of the parent and the child method. Too many. Even if for the class child run method (see below the block diagram of a child, red run method's parent), I put not to show the façade when it is called in the properties of VI.

    (3) when I tried with a separate VI calling the run method of the parent class, but the class type is the child, I get the façade of this separate VI and the run method of the parent. See below (Blue class is child, red of parent).

    In both cases 2 and 3, I chose to put the checkbox 'See the façade when it is called' a FAKE, but still the front panels appear.

    Someone don't know either: i) the use in the executable version of the options to generate an executable when a different class method is used, or ii) when you compile an executable file with a certain start VI, to not show this starting VI?

    I understand if I say "you want to configure the RUN method of the class as 'start-up VI' in the EXE file, but it should run the RUN method for a child object"?

    If this is correct, your third approach is the right one. This new boot VI is often used as 'Splash Screen' that covers the task of a demon "spawning" for your application.

    You must simply close this VI once it's over. This can be done using VI server on its own front panel functions.

    hope this helps,

    Norbert

  • error 1004 during the VI of the executable call

    I'm implementing the tutorial "create a windows NT service using LabVIEW", but I had no success. When I start my VI client I get the error 1004: the VI is not in memory. I always work with the normal executable, not the service again. Later, I will cross this bridge.  I made sure the data that generator VI has been included in the executable file (see attached files - no cookie generator VI, just a random number generator), and I have configured the server of VI in Project Explorer.  If I run the service VI in LabVIEW (not executable) and change the customer VI to search in memory rather than communicate through ports, then everything works perfectly, so I think that the problem is related with a certain configuration of the executable file.  Any help will be appreciated.

    There are several points here:

    (1) change the Boolean constant in svcSrvr.vi to a control, otherwise the VI does not appear in the exe file (even if it is specified in the build specification) [this looks like a bug to me]

    (2) in the application, use a different port (if not the project is still listening on this port as well as the application cannot listen on the same port), that is to change the port number in the application.ini. Solution: close the project before you run the exe.

    (3) wire "localhost" (or the name of the computer) the reference of the application open machine name entry.

    Hope this helps,

    Daniel

  • Reminders does not work in the executable LabVIEW front panel

    I have a couple of reminders in the process template that trigger an event in the event structure to update of the lights on the front panel for the user. Everything works fine until I have create an executable file. This can also be an indication of the other points, I have not discovered yet.

    Any ideas?

    Thanks for all the help.

    Found!

    Not unlike most of LabVIEW developers, I have a range of utility screws that I use over and over again. Such vi is vi uses a property node to find out what environment the application is running in, i.e. .llb, exe, development, publishing student, etc.. This vi is used because SEO screws in an executable file have a way different than when their listing in the development environment. Using this vi allows your code to reference the screws properly when developing and when the executable is built. The code still works because it automatically adjusts the referenced path of the vi. See attachment 'Path Finder.vi environment'.

    Now for the fun part! For some reason, perhaps because of the friendly character of NOR and the relationship it is with its developers :-), AND decided to change the path of the executables in LabVIEW 2009. After hours of troubleshooting and countless rebuilt, I came to the conclusion that the ' paths of the band of "work magically stopped working. It was at this time one of my friends happened to walk and ask why I had everything in my monitor across the room (figuratively speaking of course, I'm sure we've all been there). I explained what could be the only conclusion, band paths do not work!

    My friend immediately began laughing, having recently had the same problem. He explained that in LabVIEW 2009 executable paths are different and our 'find the path vi' would not work. He added that NOR, after finding this funny, however gave the developers a way to solve this problem with a check box within the app Builder. The box is called "Layout using LabVIEW 8.x file." See attached photo named "App Builder."

    The only thing I could say to my friend was, ' silly me, I should have know what that.»

    Laughing out loud

    Thank you for trying to help, it launched my butt.

  • Image - Photo method - the executable export LV Crash - coolish 0x786DE250 in drawmgr.cpp

    Hey guys,.

    I have a crash appear in my application when you try to export an image to the Clipboard to be pasted to my Word document. The accident happens to export Image invoke node, but occurs only in the executable , and occurs on the 102nd iteration. If I run the executable with 101 iterations, that's fine. If I run with 50 iterations, then run it again to 52 iterations without closing the executable, it crashes.

    Executable code, dialogue crash excerpt, below. Any of you have any suggestions or ideas to workaround? Is it something I could change me executable build settings to correct this?

    To run the code, you can change all the settings, and then click Go to run the iterations.

    Thanks for the help!

    Have you tried another image format, other than the EMF?

  • Error trying to build the cRIO RT application

    Hi all

    I'm trying to build an executable to run my cRIO-9022 project on a computer without labview and receive the following error message when you try to build:

    "

    Error 1 has occurred to copy in AB_Engine_Copy_Error_Files.vi-> AB_RTEXE.lvclass:Copy_Error_Files.vi-> AB_Application.lvclass:Copy_Files.vi-> AB_Build.lvclass:Build.vi-> AB_Application.lvclass:Build.vi-> AB_RTEXE.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: An input parameter is not valid. For example if the input is a path, the path can contain a character not allowed by the operating system such as? or @.
    =========================
    NOR-488: command requires GPIB controller charge controller. »

    I ran the program from a computer with labview for the cRIO and it works very well.  I've attached a screenshot of my main block diagram because he said it could be a bad path?  Any advice?  And it comes to labview 2011.

    Thank you

    If you're still having problems, you can ensure that you don't have spaces or special characters in one of your names in VI. And check all references to the paths absolute or relative to your subVIs.

    The Advanced tab of the Build executable window has a few options that you can try to change. You can uncheck 'Copy error code files' and check the 'use LabVIEW 8.x file layout' options. A final step would be to turn on debugging see if that clears the error message.

  • "Value is invalid or out of range" when you build the project in CVI 2009

    I converted a project to the wire of the CVI 9.0.1 to CVI 2009, and whenever I try to compile the distribution I get immediately the error message "Value is invalid or out of range" and stop the construction.  This error message is not too terribly useful to determine what the problem is, and I don't see anything obviously wrong with the signs of 'change the Installer '.  Any idea what's going on?  Thank you.

    Well, I'm a little confused by what I see. The newspaper confirms my suspicions earlier that one of the values of timer progress cached version is cause of an error. However, the values in the file "TriboScan OFFLINE.cds" you posted appear very well and do not cause an error when I copy in .cds another simple distribution (since I do not have the files to test your actual building distribution). Are you sure that you build the 'TriboScan OFFLINE.cds' distribution? In any case, I recommend a little offending the .cds hand editing. Save first (just in case), open it in a text editor and delete everything between and (that should be all down). This should solve your problem.

    Let me know what you find.

    A. Mert

    National Instruments

Maybe you are looking for