Vi slowing down as it runs

Hi everyone! I have a problem with my vi:
As I checked the vi, I found that it seems to "slow down" as the vi runs..I mean, the first measures goes as fast as 58 measures per second, +-30 seconds later it runs at 32 measures per second (this is with time between loops 0 ms-the fastest to measure-, delay before read 10 ms. I read some posts similar to this, and it seamed to be solved with time delay in the loops, even though I already have, I tried giving the loops more time, but it takes less measurements at first and similar measurements 30 sec later (I took the 30 sec just to compare) 
1. What may be causing this problem? Is it the cases? The buffer? The shift register? The VISA close function? I don´t really know if this can make a vi slower.Ii tried deleting one of this at the time, and even though with some combinations run faster (more measurements per sec) , the problem remains (less measurements every second)...
2. Is it any way to run the vi faster? With 9600 bauds y should be able to collect +-180 measures per second.Instead I can only take +-60 measures per second....what should I consider when I´m programming, so a can take all the measures I can?
I attach my vi, if someone can take a look at it....Thank´s a lot!!
Attachments:
example lab view.zip ‏347 KB

Sorry for the delay...
Do you need indicators "waveform graph" and "table".  The slowing down seems to come from the update of those two indicators.
Time to process 50 datas without updating  "waveform graph" and "table".
Time to process 50 datas with update of  "waveform graph" and "table".
Jean-Marc
Jean-Marc
LV2009 and LV2013
Free PDF Report with iTextSharp
Attachments:
Processing datas.vi ‏91 KB

Similar Messages

  • Query slows down after second run for Index Organised Tables

    We are trying to optimise our application which supports MSSQL to run with Oracle 9i for one of our customers.
    We have created one database with normal tables and PK constraints/indexes and turned caching on for the tables, this seems to work well but no way as fast as MSSQL on similar hardware. The first run of query was slower but as the caching became more effective the query times came down.
    So we investigated turning the tables into Index Organised Tables. We ran analyze on the new indexed tables and the response time of one of our more complex queries became akin to MSSQL. We ran the same query 5 seconds later and it took about 3 times longer to return the same data. Subsequent runs produced the same result.
    We have run the same query on both styles of tables and also run showplans on the two queries, the regular table returns a cost of 190 and the IOT 340. This would point to the fact that we should use the regular tables for our queries but why did the IOT set return much faster for the first run after the analyze then slow down as if the stats were missing, but the execution plan remain the same.
    Any help would be appreiciated.
    Darren Fitzgibbon

    could be a lot of reasons:
    1. Is Oracle the only process that runs on this server? Could it be any other process (i.e. MSSQL) that took the the resources during the secodn run?
    2. Is this the only query that was running during your tests? Could there be another query that put the load on the database when you were running the second test?
    3. The autotrace statistics and explain plan would be useful for first and second run
    (how to use autotrace:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96533/autotrac.htm#1018
    4. If you run the same process again several times - how does the response time change?
    Mike

  • Safari is slow to open and close. It also slows down other apps while running. Should I reload safari and if so, how do I do so?

    Safari is slow to open and close. It also slows down other apps while it is running. How can I resolve this issue?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If there's no improvement, continue as follows.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Error message saying a script is running and is slowing down browser...stop script or continue?

    While playing games my screen freezes up and a message pops up that says there's a script running which can slow down or stop my browser. Then it asks if I want to stop script or continue. I always click stop script, but it continues to happen periodically. (This is happening in Facebook, and sometimes MySpace).

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Problem: slow connection. I have an iMac (2007) running on Mac OS X 10.6.8. I just had my internet speed increased from 1 to 3 Mbps but my connection slowed down considerably. Do I have to change any setting?

    Problem: slow connection. I have an iMac (2007) running on Mac OS X 10.6.8. I just had my internet speed increased from 1 to 3 Mbps but my connection slowed down considerably. Do I have to change any setting on the computer, and how?

    One possibility is that you may need to "Upgrade" your Cable /DSL Modem if you have an older unit.  ISP's that provide your Internet service in recent years have been switching over from DOCSIS 2.1 version Modems to DOCSIS 3.0 version Modems, which handle the new higher data streaming speeds the ISP's are offering.  I would suggest you call your ISP's Technical Support and inquire about this possibility.

  • Sudden slow down after an auto-shutdown - kernel_task running hot.

    Hi,
    I was playing Braid on supremely low battery, and my MacBook Pro 13" (Early 2011) running 10.7.2, automatically turned off. Plugged it into the charger and went to bed. Booted it up next morning and it is so incredibally slow. No warning, no gradual slow down, just all of a sudden. No peripherals attached at all.
    Checked my Activity Monitor, kernal_task is running at 330mbs, from what I've seen that is pretty bad. That's the only thing I can see that is out of the ordinary.
    Anyone want to take a stab at the cause of this sudden slow down? It's making using my laptop very very tedious.

    Note: In Safe Mode kernal_task is running at 220mbs. Is that a clue? I don't know.

  • I am running OSX10.9.1 on an iMac, and its slowing down. MacKeeper and others are offering me procedures to fix this. Do they work?

    Is MacKeeper or some other product useful on vleaaning up myiMac, which is slowing down

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Performance slow down (Run Portal Form)

    performance slow down
    Hi :
    When I code a program and running, it is running speed is very fast. but After I was coded programs about 10 program, it is speed is
    slow down, runing a program must speed 1 minute.
    My portal system totally have 12 programs, when I reinstall portal system. that problem never change.
    Can you tell me why? Thanks.
    null

    Hi :
    Sorry, I don't understand your answer.
    you mean the solution is create index.
    But what table can I create index, oracle portal table or my own apllication table?

  • Hello, I'm pretty sure my fan on my 2009 mac book pro has stopped running. Would this cause the computer to slow down and take for ever to boot up and show the color wheel every time I select an application ?

    Hello, I'm pretty sure my fan on my 2009 mac book pro has stopped running. Would this cause the computer to slow down and take for ever to boot up and show the color wheel every time I select an application ? how involved to replace fan ? cost ?
    thanks

    Not directly, but if the CPU overheats because of incompatible software, that would cause slowdowns. Do not allow the computer to run if the fan is not working unless you wish to fry your motherboard. Please make a Genius Appointment and take it in for service.

  • My macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?, my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?

    my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?, my macbook is running very slowly with the internet.  It starts off ok and then slows down - any suggestions?

    How much free disk space do you have and how much memory do you have, running which operating system? Need that information to have any basis to make recommendations.

  • My Macbook Pro Stops running as normal, when it is not connected to the charger. Once it goes off the plug, it slows down to a point where it is not usable.

    My Macbook Pro Stops running as normal, when it is not connected to the charger. Once it goes off the plug, it slows down to a point where it is not usable. is there any fix to this?

    https://support.apple.com/kb/HT3964

  • PC slows down after a while when running labview applicatio​n

    I have a labview 6 application which is monitoring some data on a feildpoint module, after a while this application slows down and there is a lot of activity on the hard disk drive, also the cpu monitor says 100% activity.
    Is it something to do with the PC or is it some other reason?
    Thanks
    Allan

    Allan,
    My first guess is "Who know's" without seing your VI and probing around; but, to get you started, run your VI and use Labview's tool "Profile VIs..." [Tools... Advanced...] and monitor memory and timing statistics. You may find a constantly increasing use of memory or a VI that consumes an unusual amound of processor time. Then you can troubleshoot from there.
    Good luck with it, Doug

  • Updates from HP agent ... always runs at start up and slows down computer

    HP Pavilion a1222n, Win XP Home
    When we first turn on the computer it is slowed down by "Updates from HP agent running"  checked through the task manager.
    I would like to disable the automatic running of this and run it when I want to run HP Updates.  I read in another post to go to the Start > All programs> setting > select never which would allow you to chose when to run the HP update agent.  I can not seem to find it on this machine, the post I read was for another model.
    Thanks
    Ron3033   
    This question was solved.
    View Solution.

    Hi Ron,
    Try the following.
    Hold down the Windows key and press R.  Into the Run box, type msconfig and hit enter.  In the System Configuration window, select the Startup tab and remove the tick next to the HP Update agent.  Click Apply and Ok to save the change and then restart the PC for this change to take effect.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Adobe slowed down after running fine on a Mac Book Pro Photoshop settings have been reset

    adobe slowed down after running fine on a Mac Book Pro.   Adobe Settings have been Reset

    Hello Gener7,
         I did try everything on the FAQ page (all steps) I also did them a few more times with "Adobe help" walking me through 2 more times.  I just don't get it, I have been on with Adobe on some days up to 5 hours at a time for over a month now.  I think it must be something with the installation disc but they say no, no, switchboard is just not working on my OS X 10.9.4.  I even took the computer into the apple store here and had them look it over, reinstall everything and they say it's the Adobe software.
         Thank you very much for your help, it's nice to know someone is reading this :-)  I do work around this by saving the files and reopening them in the next program I need but everyone in class is always waiting on me, (it sucks) and I just think it should work.  Hope you have a good day and I will put an update on here if this is ever figured out.
    Thanks one more time :-)

  • 19 working fine, downloaded 20 - it crashes frequently, hogs memory, runs scripts and slows down internet. I don't want a fix, just reinstall 19

    FF 19 was working fine. Downloaded 20 and within 5 mins. it crashed. Script running problems again and it slows down my internet connection tremendously. I don't want to fix it, I want to go back to FF 19 but can't find it - it doesn't exist Running XP SP 3. If I can't go back to FF 19, then I'll just remove it and stick with Chrome. I like the old private browser in FF 19 better. I run 20 - 40 tabs open at a time and the way the new Private browser works with the existing window open just uses more memory Thanks!

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for