Optimizing built application performance in LV 2012 (and earlier)

There's a new help topic in the LabVIEW 2012 help called Optimizing Execution Speed for Built Applications.  If you're interested in the runtime performance of your built applications (EXEs, DLLs, etc.), I'd recommend taking a look.
Most of the steps apply to earlier versions of LabVIEW as well - just ignore the steps that mention the "compiler optimization threshold".
Greg Stoll
LabVIEW R&D
Greg Stoll
LabVIEW R&D

If the application is running on a standalone computer with no access to the internet, then the aplication may be taking a really long time to load. This is because Windows is trying to check the applicaton's signature over the internet when there is no internet connection.
The solution to this problem is found here:
http://digital.ni.com/public.nsf/allkb/9A7E2F34EC9DDEDE86257A09002A9E14

Similar Messages

  • Difference between late-2012 and early-2013 mbp retina 13"?

    I just bought the early-2013 mbp retina from the refurbished section of the mac site.
    It seems to be v. difficult to get detailed info on this model. Most web queries about aspects of this model bring up info on the late-2012 model.
    Is this some sort of freak model that was a limited run?
    One of the main reasons I ask is that I have a 512gb SSD, and I'm looking to replace it with the 768gb SSD module. The SSD module I am looking to buy advertises itself as being compatible with the late-2012, but no mention of early-2013.
    The late-2012 and early-2013 share the same model number (A1425), should I assume they carry the same architecture under the hood?
    **Before you reply**
    - Yes, I know I'm not supposed to open the computer, might void the warranty etc.
    - No, I didn't have the option of the 768gb SSD when I bought it, it was already assembled. I got it cheap.
    - Yes, I am aware that SSD upgrade is an expensive option.
    - Yes, I am aware I can store additional data on an external HDD.
    - Yes, I am aware I can boot from a higher capacity external HDD.
    - No, I don't want to know about alternative options, just the one outlined in the original query.
    Thanks.

    didvid.s,
    the technical specifications for the two models are here and here. Contrast and compare them to your heart’s content.

  • Are there a difference in late 2012 and early 2013 models of 13inch MBP retina?

    checked my serial number and it happens to be late 2012 model which i bought 4 days ago, but are there a difference in early 2013 MBPR compared to late 2012?

    i have the cheapest 2.5 model one
    http://en.wikipedia.org/wiki/MacBook_Pro
    at the very bottom table it states the model number mine is MD212 under there is 2.5ghz in late 2013
    however on the early 2013 there are also 2.5ghz one but with different model number e.g.ME664

  • Error occurs when i try to install a built application containing Web services VIs

    Hello,
    at the moment i am trying to create and install a built application containing a Web server and Web services VIs. I did the steps as described here: http://www.ni.com/white-paper/7747/en#toc13
    But when I install my application on the target PC the following error occurs after the installation:
    Error2: Failed to perform action
    "[LV2011RTEDIR]LVWS\NILVWSPostInstallerScript.exe"
    "[ProgramFilesFolder]DeployWebServices\Webservice.lvws"
    What did I do wrong? The project example is attached
    Development system: LV2011 SP1, WIn7
    Target PC: Win7, no LabVIEW, but ALL possible additional installer/run-times installed
    Thanks,
    Elmar
    Certified LabVIEW Developer
    www.merecs.de
    Attachments:
    Deploy Web Services.zip ‏20 KB

    Hi,
    long time ago, but I can remember. You have to copy a folder.
    e.g. I have the file in C:\Program Files (x86)\National Instruments\Shared\LabVIEW Run-Time\2013\LVWS , but there is no LVWS folder in \Shared\LabVIEW Run-Time\2012
    (I have a new computer, and for some reason I'm also missing the file in the LV2012 folder now.)
    Try to copy from another version to 2012 U(or download my fzip). I also don't now, why it is missing. Maybe something during the LV2012 installion was wrong.
    Hope I could help,
    Elmar, CLD
    Certified LabVIEW Developer
    www.merecs.de
    Attachments:
    LVWS.zip ‏688 KB

  • How to improve database and application performance

    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatia

    bhatia wrote:
    Hi,
    Any body please help me out that how can we improve the database and Application performance.
    Regards,
    Bhatiathere is no simple answer. There is no DATABASE_FAST=TRUE initialization parameter. There are a myriad of reasons why an application is performing poorly. It could be that the application (code and data relationships) is poorly designed. It could be that individual SQL statements are poorly written. It could be that you don't have enough cpu/memory/disk bandwidth/network bandwidth.
    You need to determine the root cause of poor performance and address it. If you application is poorly designed, you can tune the database until the cows come home and it won't make any difference. If you are trying to run 100k updates per second against a database hosted on hardware that only meets minimal requirements to install Oracle ... well, hopefully you get the picture.
    First, go to tahiti.oracle.com. Drill down to your selected Oracle product and version. There you will find the complete doc library. Find the Performance Tuning Guide
    Second, go to amazon.com and browse titles by Tom Kyte and Cary Milsap. I particularly recommend "Effective Oracle by Design" and "Optimizing Oracle Performance", though I see a lot of new titles that look promising (I think I'll be doing some buying!)

  • Our Java application is built with java 1.4 version and oracle 10g

    Our Java application is built with java 1.4 version and oracle 10g version database, is it possible to upgrade oracle database to 11g?

    is it possible to upgrade
    Yes. SE and the other editions have a migration/upgrade utility, not seeing any mention of that program in the XE license docs. To upgrade to 11gR2 from 10g, the 10g instance must be at patch 10.2.0.2 or higher.
    So if you're a GUI dba, might be out of luck. But the the XE install has the catalog upgrade scripts that need to be run, there is a MOS note explaining the manual upgrade steps.
    Or set up a brand new 11g database instance and datapump your user schema(s) from the 10g instance to the new 11g instance. The database doesn't care what java version you're using, it just does what its told with the data. DDL, DCL, DML ... its not much different. Quite a few new features in 11g.
    But if you're after JVMs that piece is not supported with XE.

  • Error 97 when running built application and printing report.

    I get the following message:
    Error 97 occurred at Unknown System Error in Print Report.vi->PM Workorder.vi->NEW PM main.vi
    Null Refnum was passed in as input
    when I try to run my built application, but it will run fine as a vi. I am using the Report Generation Toolkit with the Excel functions. I am opening an Excel template, adding data, and then printing. When I run the built application it looks like Excel is not opening up, but when I run the vi, I can see excel open and the report is sent out to the printer. I am running both the built application and the vi on the same computer.

    Hello,
    I found a similar problem some month ago. I solved including in the application the excel vi's library, that you will find in the labview directory addons.
    I hope this info will help you!
    Regards
    Neon

  • HT5619 Is it possible to reattach an iMac (Late 2012 and later) with a Built-in Vesa Mount Adaptor to an iMac stand?

    Is it possible to reattach an iMac (Late 2012 and later) with a Built-in Vesa Mount Adaptor to an iMac stand? I'll be moving and having my iMac on a stand would be easier then mounting it on my bowling table.

    benjayzachariah wrote:
    Is it possible to reattach an iMac (Late 2012 and later) with a Built-in Vesa Mount Adaptor to an iMac stand? I'll be moving and having my iMac on a stand would be easier then mounting it on my bowling table.
    No, please look to your right and click More Like This for posts on that subject.

  • NAM Report Analyze -- Wan Optimization -- Application Performance Analysis Report

    Hello,
    Transaction Time (Client Exprerience) report does not show optimized traffic. For this graph what we expect is to show side by side the transaction time of optimized and non optimized traffic side by side to give information about the baseline and optimized application performance.
    May it be that the optimization should be disabled for some time for the Wan Sites, and after some time manually reenabled in order to compare these values?  This should be difficult for large deployments since manually disabling and reenabling for performance analysis time taking task.
    Best Regards,

    Mohammed,
    It is common, in many of the Cisco Express 8.5 environments we have looked at, for the Total Incoming Calls given on a Traffic Analysis report to be a higher number than an Application Report.
    The Traffic Analysis Report counts every unique sessionID (unique call) that is inbound (contact type of 1).  The Application Reports do a similar thing but qualify (filter) only the records that have an application assigned.
    There are simply times where inbound calls have been directed to an "agent" without having an applicaiton assigned.
    The best thing the reporting user can do is to run a query on his or her database such as: 
         select * from ContactCallDetail where contactType=1and startDateTime > '2012-11-16 10:00:00' and startDateTime < '2012-11-16 11:00:00';
    Usually when an application is not assigned to the record in the ContactCallDetail table it is because the destination type is equal to 1, which is an 'Agent' instead of a 'route point'.
    So if you modify your select statement to filter by destinationType, you can quickly find the records that don't have the application assigned. 
    Example:  select * from ContactCallDetail where contactType = 1 and destinationType = 1 and startDateTime > '2012-11-16 10:00:00 and startDateTime < 2012-11-16 11:00:00';
    When you look at these records, you will see the agent that took the call from the destinationID field.  The number in that field should match up with the field called 'resourceID' in a table called 'resouce';
         Example:  select * from resource where resouce=6011; where 6011 was the number you found in the destinationID field.
    If there is still confusion about the source of the call - then talk to that agent and find out what is was.
    Good Luck and let me know if you need further help.
    Ron Reif
    [email protected]

  • Application Performance Issue

    Hi !
    We have developed a web application which was moved to staging around an year ago. Now the application is facing connection failures and session time outs. We inferred that it is 'coz of the increase in the size of database resluting in larger outputs causing the timeouts..There are hundreds of users accessing the application at a given time....and lakhs of recs in each table...around 60 tables in total
    We are using weblogic server 5.1 and java,jsp,ODBC for the application development. We suggested that the connection pools size be increased and the time out value be increased as well....
    But , we r also trying to check the frontend to see if it can be optimized in a better way....
    My question is ..do u think that the usage of preparedstatement in place of statement object in jsp's and java files is going to make any difference....
    Also, can u also suggest any other methods to follow to optimize the performance....
    any suggestions are welcome..Thanks in advance

    Prepared statements make a difference if you execute the same query over and over again. It means it doesn't have to parse the sql string each time, but can just plug in different parameters.
    In your case though, I don't think it would make much of a difference. The time is being spent in running the query, not parsing it.
    I would look at your database queries - maybe add an index to the table to speed things up?
    What database are you using specifically? How are you connecting via ODBC? Using the JDBC-ODBC bridge? Maybe look at a pure JDBC driver?
    The general rule is that 90% of the time is spent in 10% of the code. Its finding the 10% you need to optimize that is the problem. Run a profiler to see what is taking the time.
    Good luck,
    evnafets

  • How can I build a LabView application that uses the 2012 runtime, on a development system with LabView 2013 or 2014 installed?

    I need to build a LabView application .exe to run with the 2012 Runtime, for legacy support. I currently have LabView 2013 installed on my development system, and have 2014 available. How can I build an application that uses the 2012 runtime on this development system? Do I have to downgrade to 2012? Thank you.

    We have existing customers that have installed our application that was originally built with 2012 (provided by a contractor that is no longer available).  Due to IT regulations, it is far easier to update these customers by simply replacing the .exe file, than creating an install that their IT department must run.
    If I have to downgrade to LabView 2012, where can I get the installation for this?

  • OBIEE 11g Application Performance Monitoring

    Are there any best practices or recommendations for Application Performance Monitoring for OBIEE 11g?
    I see that from Fusion MiddleWare Control, we can navigate to Business Intelligence -> CoreApplication (right click) -> Monitoring -> Performance
    And from here we have a huge amount of performance metrics to choose from.
    What I'm interested in finding out is:
    1). Out of these hundreds of metrics, are there a subset of "core" performance metrics that Oracle recommends monitoring that gives a good baseline for performance of the application?
    2) What are the options for capturing/gathering/saving these metrics for historical and trend analysis?

    Excellent post. Thanks. Is there some sort of trial of the tool you guys built that's described in the post you linked?
    "In addition to the out-of-the-box options above, here at RittmanMead we have developed our own OBIEE monitoring tool.
    DMS metrics are stored directly on disk or through a database, enabling both immediate and retrospective analysis. Custom dashboards enable the display of both OBIEE and OS data side-by-side for ease of analysis. Integration with third-party tools is also an option."

  • Optimize application does not empty FAC2 and FACTWB tables

    Hello everyone,
    I am currently using OutlookSoft 4.2.338 and recently came across the following problem:
    Optimize application fails to empty FACTWB and FAC2 tables, even though it says "Successfully finished"
    -Whenever I run an optimize process directly (= not scheduled), it takes less than one second and the message "Successfully finished" pops up. However FAC2 and FACTWB are NOT empty
    - When I schedule an optimize proces, the log usually states "Fail"... (But not every time, it 's a bit random here)
    - The problem occurs with one specific application in one specific appset (that contains 3 applications, the other 2 can be optimized just fine)
    - The application contains a fairly large number of records (close to 20 millions) and, yes, some records have a "source" value at 1.
    However, the same application, on a different server, with a bigger number of records (and more "1" source values!) optimizes just fine.
    - The problem is not appset or server related, as other applications can be optimized without problem
    - The application has data imports scheduled every night, and the FAC2 table keeps growing
    - Data sent through an Input schedule stay in FACTWB.
    Did anyone come across this sort of issue before?
    Any suggestion as to how to be able to optimize the application again? (apart from moving the records manually from FAC2 to FACT...)
    Many thanks in advance
    David

    Hello,
    Unfortunately there is no such table. The only table where some mention of optimization is made is tblPackageLog, where the log of optimization tasks is recorded.
    Thanks to both of you anyway.
    David
    PS: Actually your answers gave me the clue I needed, many thanks! On version 4.2, the table tblDefaults stores the optimization status
    The query
    select * from tblDefaults
    where KEYID ='Optimize'
    and APP=  App name
    showed that the value was somehow set to 1, preventing any optimization. I manually set it to 0, and that did the trick!!!
    Many thanks again guys!
    Edited by: David Placci on Mar 2, 2012 1:50 PM
    Edited by: David Placci on Mar 2, 2012 2:44 PM

  • App-V 5.0 SP2 user applications published via SCCM 2012 to VDI workstations with roaming only

    Hi,
    The environment consists of App-V 5.0 SP2 (KB2956985) user based applications published via SCCM 2012 to Windows 7 VDI snapshotted workstations that are reset at user logoff.
    When a user logs on the SCCM 2012 client initiates App-V client package publishing.  After a couple of minutes after logon the shortcuts appear and the user can launch their applications.
    The issue is that at logoff, even with roaming enabled, the publishing information disappears.  This causes the next logon process for that user to repeat, the applications are not available until the SCCM client has completed it's publishing cycle. 
    Roaming profiles are implemented. %APPDATA% is redirected to a UNC path.  The following registry key is set
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppV\Client\Integration\PreserveUserIntegrationsOnLogin=1
    U-EV, global publishing of applications, and AppLocker rules are not an option.  Also, I have read this already - http://technet.microsoft.com/en-us/library/dn659478.aspx#BKMK_PE
    I do not want to wait for the SCCM client to kick in prior to the user applications being available.  What do I need to roam or run to create a seamless transition for the user between sessions? 
    Eddie.

    Hi Tywin (bad username considering the last GoT Episode ;))
    If you ask Microsoft, they always recommend using SCCM for deploying App-V packages and reuse your current SCCM infrastructure if that is already in place. Problem is, as you now experience, is that there is some big caveats both in regards to publishing
    time and to roaming of settings.
    As Nické states I would suggest looking into the Full Infrastructure Model for App-V 5.x, which gives you much better performance in what I call "from no apps" to "being able to click the shortcut" - the add and publishing phase. If you don't have the time/budget/whatever
    to start looking into that, you could look into some community tools like App-V Scheduler which is developed specific by Citrix guys to ease the publishing and management in a Citrix world.
    Microsoft have a great article about Performance Guidelines, which you have read, but it mostly presumes you work with Full Infrastructure. Have you looked into Steve Thomas' session from TechEd NA? It talks about "implementation trends".
    Senior Consultant at Atea Denmark - http://Atea.dk Atea Technical Evangelist for App-V NoLightPeople - http://NoLightPeople.com Access Director - http://www.nolightpeople.com/index.aspx#accessdirector

  • Applications hang, don't open, and/or force shutdown CONSTANTLY

    I just updated my regular ol' panther computer to the sexy new tiger this week. I am having issues now, as the the new OS is suprisingly unstable. Often, applications will all of a sudden hang, meaning the color wheel starts to spin constantly to no avail. i notice when this happens, I can still do somethings, like close other apps, but I cannot click on the apple menu on the upper left hand corner of the screen. Also, when I click the restart/shut down button (on the upper right hand corner of my keyboard/computer) the shut down options come up, but once I click on shut down, or restart, teh color wheel acts up in that window and I can't shut down.
    another similar problem I have is when I click some applications open, they will just bounce in the dock and not open. this makes me sad. this usually happens when other programs are open, and not when i just start up.
    I am frustrated, and I wonder if my nortion personal firewall(3.1) is causing this, as these crazy things started happening after that.
    question one - is it the firewall? would that make the OS unstable as it is? should i just revert to the innate and native firewall provided in the security options, even if the firewall is not a problem?
    should I get more RAM? is this the source of my problem? i have the minimum for the OS, 256 MB.
    what else could be wrong? i have considered throwing my laptop out the window also. I switched over from mac to pc and now back to mac, and was quite content with the old operating system, but now I'm slightly dissapointed.
    Dangerously confused and frustrated.
    Che

    Symantec products are poison for OS X. Alhough some use Norton Antivirus 10.0 with Tiger, even NAV is not without its share of problems.
    You don't need Norton Personal Firewall since OS X includes a built-in Firewall which is substantial and 2nd to none. I would remove NPW and any other Symantec products from the hard drive and be sure to use the uninstall feature included on the install disc and check Symantec's website for any updates to the uninstall feature for the product and for proper removal instructions if the uninstall feature fails.
    How did you install Tiger - Simple Upgrade or Archive & Install? If you installed using the Archive & Install method selecting preserve user and network settings, have you deleted the archived previous system folder after confirming all user and network settings and data were successfully transferred to the new system?
    What is your hard drive capacity and available free space?
    256MB of RAM is a minimum for Tiger and OS X loves RAM. You should install as much RAM as your computer will accept or your budget will allow. I wouldn't run Tiger with less than 512MB of RAM and 1GB is even better.
    Check Problems from Insufficient RAM and Free Hard Disk Space.
    In addition, check Tuning Mac OS X Performance.
    Something that may help immediately - check Resolving Disk, Permission, and Cache Corruption for system troubleshooting procedures and when doing so, follow all steps/instructions in the order provided.

Maybe you are looking for

  • Photoshop CC 2014 - Liquify lags/stutters with pen

    Since installing Photoshop CC Version 2014  yesterday the liquify tool is behaving strangely for me. Moving the Brush Cursor seems laggy/stuttering (hard to describe).. it works 'ok' with a mouse but once i started using the pen it's really laggy. If

  • Follow up action

    Dears What is the follow up action in t code qs51 even in usage decision area we are seeing follow up what is the use of that Pls expain me with an example Tahnks in advance Faisal

  • Calling session facade methods from my code

    My application consists of two projects: Interface and Model. Model, of course, is used for access to a database using TopLink with POJOs and session facade bean...Pretty much like thing done int tutorial. While, naturally, Interface project are the

  • Display a list with a green/red arrow

    Hello, I'd like to query an external table and then populate a list of "Application Domains" with a Green UP arrow or a Red DOWN arrow depending on the status in the external table. Something like this APP SERVER 1 <red down arrow> APP SERVER 2 <gree

  • Cant detect any boot disk

    Hi, I booted my Macbook pro the other day and all i got was a folder with a question mark. I read  few forums and tried a few options.. Nothing worked every time I tried to recover the macbook would re-boot and come back to the question mark folder.