Execution faster with execution highlighti​ng???

This is wierd.  I noticed that the VI that performs serial communications with my power supply taking a long time (~15s).  I turned on execution highlighting and the execution time reduced (~10s).  I ran profiling with performance and memory and the total execution time is reported as only 250ms in normal mode but the front panel and block diagram are locked for 15s.
Any ideas on this behavior?
LV 8.5.1, WinXP

kc64 wrote:
Shane--
Thanks for the replies.
I added an AE logging function that I use to help debug the code.  When I added this, the timing came in line.  I don't know what the root cause is but I think I will move on until it breaks again.
Thanks,
Kevin
Does that mean you no longer have a problem?  Did the problem go away?  Or upon closer inspection you realize you really didn't have a problem?  Or the AE logging function helped solve the problem for you?
"but I think I will move on until it breaks again".  That is a troublesome thought.  It you really have a problem but haven't solved it, that means it will eventually break, and when it does, you will have that much more code on top of it and make it that much harder to troubleshoot.
If you really have a problem, it's better to find it and fix it now while the code is still relatively simple.  Building on a bad foundation is just going to cause the whole house to come crashing down later.

Similar Messages

  • JVM + Linux kernel, can it have faster program execution

    Hello, I am a Garo Garabedyan from Sofia, Bulgaria. I study IT and I am a fan of Java programming language. I heard that Java is going Open Source, I want to say you that in my opinion this is a very good move.
    I am writing to you about one thought on Java and other languages like it (C# in example) which can become more faster in execution. Let me explain you how.
    In linux (i prefer this OS) the kernel capsulates running programs in Virtual Memory jails so they can't address memory space other that they own. This is to make the OSes more secure and run any kind of programs.
    But now we got this type of languages where client-programmer can't access the memory directly, instead of it he uses references. I want to encourage you to think in this way. Why we need virtual memory capsulization when we can't access others program memory? So think further. I believe that Java is going to be more popular from now, just imagine that we can run a lot of Java programs on one virtual machine. So in this way we are more faster. Transfering data between programs is going to be only cutting references.
    In order to implement this i think that there are few things to be done.
    As a fan of Open Source, i want to picture this in linux.
    I will try to go from kernel to jvm to recognize the changes:
    1)In kernel there should be a not capsulating logic specially for Java programs. The idea is to have every program separated in kernel, so other programs to be able to address them.
    2)The JVM should use one garbage collector for the all running programs
    3)JVM have to have in itself implementation of communication protocol(s) between programs in one operating system. In order to make java programs connect to other ones with the same interface (it makes me fool to describe this deeper, because i don't know enough in this topic)
    The main idea that i want to picture is the ability to make executing programs faster.
    I want to populize this way of thinking and will try to connect with Open Source community in order to make this done not only for Java programs but for OpenSource programs with checking the memory access before compilation (with reference checking tools) and run the program not in a virtual memory. Of course this is as hard as i can't imagine is it possible to be done, but i will try to publish this idea.
    Thank you for your attention
    Garo Garabedyan
    http://garabedyan.blogspot.com/search/label/OpenSource

    Many criticisms of Xen can be found with a simple Google search. The biggest one seems to be the need to modify guest OS code to make it run properly with Xen, but that is going away as Xen adds support for AMD-V and Intel VT technologies. KVM is coming on strong in the virtualization market now and seems to be the accepted choice.
    That said, I'm not sure how you would setup the machine to properly host VMs with KVM.
    Also, you may want to Google kexec to research that restarting the kernel without rebooting idea.

  • Fast query execution?

    Hi
    How can i execute my query fast?
    here are few options
    stored procedures
    Cacheing
    Indexing
    need to some good ideas
    one more question why should i leave mysql and go for oracle with PHP? any idea on it.
    thanks in advance

    I like the idea of using the _TURBO parameter, but its not supported on all versions of Oracle :(
    <How can i execute my query fast?>
    Generally, by having it do the least amount of work.
    I'm currenly leanding towards selecting the fewest bytes overall, but that's only one thing to look for. Variations with execution plans with fewer steps are also good. The thing to do is to time the variations to see which one is consistently fastest over time.
    Stored procedures can help if used properly, but are more likely (in my experience) to make things run slighly more slowly. They are more useful to simplify complicated queries.
    Why should you leave mysql? If you are comfortable with it and everything is working well then you probably shouldn't. My understanding is that Oracle works better for really big databases and is probably more powerful, but conversions are major undertakings that should be considered carefully.

  • Execution failed with error code 1

    I am developing a simple Hello Server Application using the latest Netbeans 7.0 (Full Version that includes J2SE, J2ME,...etc). The code compiles fine and runs great on a Windows 7 SP1 (32-bit) just fine. but when trying to run it on a Windows 7 SP1 (64-bit) Windows, I get the following error:
    Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/E%3A/Development/NetBeansProjects/HelloServer/dist//HelloServer.jad
    Starting emulator in execution mode
    E:\Development\NetBeansProjects\HelloServer\nbproject\build-impl.xml:915: Execution failed with error code 1.
    BUILD FAILED (total time: 0 seconds)
    the content of build-impl.xml:915 is:
    <nb-run jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" jadurl="${dist.jad.url}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" execmethod="${run.method}" securitydomain="${evaluated.run.security.domain}" commandline="${platform.runcommandline}" classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}" cmdoptions="${run.cmd.options}"/>
    This makes me believe that it is something related to 32/64 bit Java Platform for Windows. I have searched the net, and some posts suggest uninstalling Java 64-bit version for Windows and use 32-bit version instead? Is this true? if it is then we have a serious JAVA bug problem if not, I would like to get pointers on how to solve this problem. Thanks.

    It seems that indeed this has to do with the 64-bit JAVA platform version as well as the DEP protection on Windows 7. I will try to reproduce the error systematically and see how it goes.

  • SQL to find queries with execution time, total execution time so far,

    Hello Sir,
    We are looking for a query to find queries taking more than 6 seconds to execute, no of its executions so far, average execution time, total execution time so far.Thanks in advance.
    -Mal

    Something like this.
    SELECT s.SID, s.serial#, t.sql_fulltext,t.sql_id,s.action FROM v$session s, v$sql t
        WHERE s.status = 'ACTIVE'
          AND s.sql_address = t.address
          AND s.sql_hash_value = t.hash_value
          AND s.last_call_et >6HTH
    -Anantha

  • Regular execution OK, OTA execution NOT. for IM application.

    I'm trying to build a J2ME instant messaging app using netbeans6.0. managed to build the source which ran well in the emulator BUT NOT RUNNING at all when trying to download and install to my cellphone (nokia 6235) "invalid application".
    then I tried running it with OTA execution but the build process was unsuccessful. below is the error I get:
    ++Running in the identified_third_party security domain++
    ++** Error installing suite (16): Reason = 16++
    ++Execution completed.++
    ++3461764 bytecodes executed++
    ++59 thread switches++
    ++1665 classes in the system (including system classes)++
    ++17803 dynamic objects allocated (535908 bytes)++
    ++1 garbage collections (0 bytes collected)++
    ++Running with storage root C:\Users\Reno\j2mewtk\2.5.2\appdb\DefaultColorPhone++
    ++Running with locale: English_United States.1252++
    ++The storage name for the MIDlet suite was not given++
    ++Execution completed.++
    ++3329764 bytecodes executed++
    ++38 thread switches++
    ++1665 classes in the system (including system classes)++
    ++17144 dynamic objects allocated (507400 bytes)++
    ++1 garbage collections (0 bytes collected)++
    ++C:\Users\Reno\Documents\NetBeansProjects\bombus\nbproject\build-impl.xml:286: Execution failed with error code -1.++
    ++BUILD FAILED (total time: 35 seconds)++anyone's interested with the source code you can get it here: http://bombus.jrudevels.org/wiki/bombus/svn
    please help.
    Thx in advance

    anyone's interested with the source code you can get it here{color:#000080}Is this a joke? That page is in Russian! If it's not a joke, please provide a link that goes directly to your code.
    Are you using WMAPI (jsr-120/205)? They are optional APIs, first confirm availability on the handset.
    db{color}
    B&#1089;&#1077; &#1085;&#1077; &#1079;&#1085;&#1072;&#1102;&#1090; &#1088;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081; &#1103;&#1079;&#1099;&#1082;!

  • I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid co

    I have upgraded Apple Aperture from version 2 to version 3 and I'm having a problem with the "Highlights and Shadows" adjustment. According to the user's manual, I should have access to an advanced disclosure triangle which would allow me to adjust mid contrast, colour, radius, high tonal width and low tonal width.
    If anyone has any suggestions as to how to access this advanced section, I'd be most grateful.

    Hi David-
    The advanced adjustments in the Highlights & Shadows tool were combined into the "Mid Contrast" slider in Aperture 3.3 and later. If you have any images in your library that were processed in a version of Aperture before 3.3, there will be an Upgrade button in the Highlights & Shadows tool in the upper right, and the controls you asked about under the Advanced section. Clicking the Upgrade button will re-render the photo using the new version of Highlights & Shadows, and the Advanced section will be replaced with the new Mid Contrast slider. With the new version from 3.3 you probably don't need the Advanced slider, but if you want to use the older version you can download it from this page:
    http://www.apertureexpert.com/tips/2012/6/12/reclaim-the-legacy-highlights-shado ws-adjustment-in-aperture.html

  • HT4764 when i open safari, it opens with a highlighted screen and does not respond

    when i open safari, it opens with a highlighted screen and does not respond

    So it seems the issue is when iMovie is wanting to creat thumbnails, if I ask it to ignore then it's fine but if not it hangs up searching for the video file.

  • Problems with using highlighting feature in iBooks after updating to ios8. Please help.

    Having problems with highlighting feature in iBooks after updating ios8 to my iPad. Please help!

    I Too am having problems with iBooks highlighting the entire chapter if I touch the right edge of a page.  It overrides my previous highlighting making my studying useles. It's terribly frustrating! iOS 8 has been a big,big problem. Apple has to fix this.  There should be a way to undo it.  It's a terrible mess.

  • Having trouble with the highlights

    I have Samsung Galaxy S3 with Android 4:3
    I am having trouble with the highlight feature. When I highlight a word or a sentence Adobe Reader highlights it without a problem yet I cannot see all the highlighted parts of the pdf file as a list. Thus I cannot jump to different highlighted parts of the document.
    When I bookmark a page for example I can see all the bookmarked pages under a list so it allows me to jump through. 
    How can see and jump between all highlights and annotations? Thanks

    Adobe Reader presently doesn't allow you to see all the highlighted text at a single place. We have noted down your request, and will update you if it becomes available in one of our future releases.

  • Any settings that can be adjusted to make everything run faster with Mountain Lion

    Hello,
    Does anyone know of any settings or adjustments that can be tweeked to make my machine run faster with Mountain Lion?
    Thanks, Jason

    yes you can do it yourself - it's actually a simple upgrade - i use a ssd in my macbook and have the RAM maxed out to 16GB.
    as for what brands should you consider, here are some good ones.
    Sandisk Extreme - Currently the fastest one out there.
    Kingston HyperX - Second fastest - this is what I have in my 13 Inch Late 2011.
    Samsung 830 series - Fast and uses less battery power - this is what's installed in the Macbook Retina.
    Crucial M4 - Also a fast SSD - I have the 512GB installed in my 15 inch Late 2011.
    If you decide to install one of these ssd in your Macbook - let me know if you need a step by step on how to clone your drive.
    Good luck..

  • Size of SQL query before execution and after execution

    hi all
    I need help on how can i find out the size of SQL query before execution and after execution in java
    The query can be any query select / insert / update
    Can anyone help me if any system tables help to find out the required size i mentioned
    Urgent help is required
    Thanking in advance

    I need the size in terms of bytes
    like the rquirement is stated as below
    select ................: 10 B , return 250 B
    so i need size before and after execution in terms of bytes

  • Some body know why the batery of the iphone 5 is gone so fast with out charge

    The batery of my iphone 5 is gone fast with out use,I have to charged every day and is new.

    Hi byronr,
    The article below will give you some insight about how to optimize your settings to improve the battery life on your iPhone:
    Apple - Batteries - iPhone
    Battery life seems short
    Click ( www.apple.com/batteries/iphone.html) for tips on how to prolong iPhone's battery life.
    Try turning iPhone off and then on again.
    Connect iPhone to iTunes and restore iPhone.
    If the screen shows a low-battery image, the battery is low on power and needs to charge for up to ten minutes before you can use it.
    When charging iPhone, make sure to leave it charging until it is fully charged.
    Note: When charging using a computer, don't connect iPhone to a keyboard. Also, the computer must be turned on and not in sleep or standby mode. If iPhone is connected to a computer that's not turned on or is in sleep or standby mode, the iPhone battery may drain.
    Note: Charging with a FireWire-based power source is not supported, except on original iPhone.
    I hope this helps ...
    - Judy

  • Spinning object and moving it faster with mouse down

    I am using AS2 (CS3 Flash) and know how to do a simple motion
    tween to create a spinning object (which is just a color wheel). I
    was wondering how to take it to the next level and have it
    interactive. I'd like it to be able to rotate faster with a mouse
    down and drag if possible. Any suggestions? I don't really know AS,
    but can do what I'm told to do - I'm more designer than
    programmer.

    sure - well instead of using a motion tween, you should
    directly manipulate the objects spin using the _rotation property
    within an onEnterFrame loop - in this way you can then adjust the
    value of the step in the rotation (by degrees) when the user
    presses the mouse button - then reset it to the orginal value on
    release. as for dragging an Object, you would use the startDrag()
    and stopDrag() methods of the MovieClip class. you would end up
    with something like this:

  • Execution plan with bind variable

    dear all
    I join two tables and get "index fast full scan" with high cost using bind variable
    but when I remove the bind variable it executes with "index" and with lower cost
    What is the reason and how should I know which execution plan is really used in real life?
    thanks
    john

    1) What is oracle version?
    2) Post here both query and their explain plan.
    In fact INDEX FAST FULL SCAN indicate is multiblock read for composite indexes(and based on your query and predicates).In this case CBO behavior as FULL TABLE SCAN(affected by db_multiblock_read_count,system stats,etc).And you use bind variable.So in bind variable case CBO define selectivity based on arithmetic(5% of the cardinality) ,if you use concrete values instead of bind variable CBO identify other selectivity based on statistics,histograms,.... then it was identify cost of multiblock read and single block reads.You can see these 10053 event.Finally it choose lower cost`s plan.

Maybe you are looking for