Why is this vi so slow ?

Attach is a simple vi.
Just click on the front panel (in the boolean array) and drag mouse.
The overall response of the vi is very poor. The array is not updated as fast as i would expect.
I don't think that there are too many things that must be updated, to justify the poor (for my opinion) performance.
Any opinion ?
Attachments:
Graphics.vi ‏27 KB

You are drawing on a boolean array with a huge number of displayed elements. You are redrawing almost 20000 booleans with each iteration!
why don't you use a picture indicator?
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Connecting to the update has been connecting for more than 6 hourand is still trying to connect when will it finish downloading the suggested update?s, why? This update has slowed me down way too much.

    A window opened when I started that said " We strongly suggest that you update......" I did not want to but each time I turned my computer on the same window pops up with the "strongly suggest" and my computer began to run slower and stop lot. So I finally pressed the bar for more information..But never got any. My computer continued to keep "stop script" and run slow. So after several days of this I clicked on "Next" to download the update and it has been" Connecting to the update server" for over 6 hours now and still running little green boxes in a frame over and over and over. Why is this happening?

    Join the club Robert.
    My huge annoyance is how Preview converts ai, .eps and .ps files to .pdf files.
    It has progressively deteriorated from Tiger to Leopard to Snow Leopard.
    In Leopard it defaulted to saving the .pdfs to the Documents folder not the place of origin and would regularly crash if more than a few (sometimes just 2) files were opened simultaneously.
    In Snow Leopard nothing was fixed and now the names are stripped off the converted files so that they are all called Untitled.
    Apple must have received hundreds of bug reports (I diligently sent one every time Preview crashed) and several feedbacks detailing the problem, to the point I believe persecuting Designers and ruining their work has become a NEXT programmers secret objective.
    Except for a couple of minor bug fixes to do with drag & drop in Preview, I am puzzled where the so-called improvements in Snow Leopard really benefit user.
    Peter

  • Why is this thing so ******* slow

    i have nothing but problems with this macbook air and no apple tech can help including the apple store people no one can help me although ive paid an extra 300 dollars for their ****** suport  anybody please ******* help me

    Welcome to Apple Discussions.
    Help us help you. The more complete the description of your problem is (what MBA you're using - there are many versions going back to '08, what OS you're using -there's a lot of those too, what Application you're using there are many, a full compete description, the text or screen shot of any error messages (what you're attempting when the slowdown occurs) the more assistance we can provide, and, the sooner we can provide it..

  • Firefox and Adobe Flash - Why is this combination so slow now?

    I don't know when the problem started but it has been many versions of both Firefox and Adobe Flash since Flash has worked reliably and quickly. I have tried many solutions including uninstalling both Firefox and Flash and reinstalling them yet the performance problems continue. When the dialog appears to send a crash report, many times I do. My Firefox is 32.0.1 and the Flash plug-in is 15,0,0,152. Is there an end in sight for this problem? The standard answer is Mozilla pointing the finger at Adobe and Adobe pointing at Mozilla.

    Yes there is an end in sight!
    http://mozilla.github.io/shumway/
    https://blog.mozilla.org/research/2012/11/12/introducing-the-shumway-open-swf-runtime-project/

  • Why does this query run slow ??

    hi ,
    i have the following query
    SELECT
      PT.PT_ID,
      PCD_INST.CALL_PCD_NAME,
      RC.RC_ID,
      RC.RC_TITLE,
      PCD.PCD_TITLE,
      RC.E_TYPE
    FROM
      PT,
      PCD_INST,
      RC,
      PCD,
      PCD_INST_RS
    WHERE
      ( PT.PT_ID = PCD_INST.PCD_ID  )
      AND  ( PCD.PCD_ID = PCD_INST_RS.PCD_ID  )
      AND  ( (RC.RC_NAME = PCD_INST_RS.RC_NAME) AND (RC.RC_ACTIVE_FLAG = 'A')  )
      AND  ( (PCD.PCD_ID LIKE PCD_INST.CALL_PCD_NAME || '.%') AND (PCD.PCD_AFLAG = 'A')  )
      AND  (
      ( PT.PT_AFLAG = 'A'  )
      AND  ( PT.OBS_FLAG <> 'Y'  )
      AND  ( PCD.PCD_AFLAG = 'A'  )
      AND  ( PCD.OBS_FLAG <> 'Y'  )
      AND  ( RC.RC_AFLAG = 'A'  )
      AND  ( RC.OBS_FLAG <> 'Y'  )
      AND   TO_NUMBER (PCD_INST.INST_NUM)  =  123
      AND  ( PCD_INST_RS.H = 'Y'  )
      AND  ( PCD_INST_RS.MP = 'Y'  )
      AND  PT.PSTATUS  =  'A')and the execution plan
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=228 Card=1 Bytes=205
       1    0   TABLE ACCESS (BY INDEX ROWID) OF 'PCD_INST' (Cost=
              2 Card=136 Bytes=4352)
       2    1     NESTED LOOPS (Cost=228 Card=1 Bytes=205)
       3    2       MERGE JOIN (CARTESIAN) (Cost=227 Card=3 Bytes=519)
       4    3         TABLE ACCESS (BY INDEX ROWID) OF 'PCD_INST_RS'
                     (Cost=4 Card=1 Bytes=41)
       5    4           NESTED LOOPS (Cost=141 Card=1 Bytes=143)
       6    5             MERGE JOIN (CARTESIAN) (Cost=57 Card=28 Bytes=28
              56)
       7    6               TABLE ACCESS (BY INDEX ROWID) OF 'RC' (Cos
              t=2 Card=1 Bytes=52)
       8    7                 INDEX (RANGE SCAN) OF 'RC_IDX1' (NON
              -UNIQUE) (Cost=1 Card=1)
       9    6               BUFFER (SORT) (Cost=55 Card=65 Bytes=3250)
      10    9                 TABLE ACCESS (BY INDEX ROWID) OF 'PCD' (Cos
              t=56 Card=65 Bytes=3250)
      11   10                   INDEX (RANGE SCAN) OF 'PCD_IDX_1' (NON
              -UNIQUE) (Cost=30 Card=25944)
      12    5             INDEX (RANGE SCAN) OF 'PCD_INST_RS
              _PK' (UNIQUE) (Cost=3 Card=233)
      13    3         BUFFER (SORT) (Cost=223 Card=165 Bytes=4950)
      14   13           TABLE ACCESS (FULL) OF 'PART' (Cost=86 Card=165 By
              tes=4950)
      15    2       INDEX (RANGE SCAN) OF 'PCD_INST_PK' (UNIQUE) (
              Cost=2 Card=1)what would you suggest so the performance can be much better ?
    or anything that i shld take note from the execution plan ?
    current it took > 4 hrs to retrieve abt 300 - 400k records
    tks & rdgs

    Probably all the additional brackets in the where
    clause.
    Just kidding, but it would help to see what is
    happening better if you got rid of them, e.g.
    WHERE
    ( PT.PT_ID = PCD_INST.PCD_ID  )
    AND  ( PCD.PCD_ID = PCD_INST_RS.PCD_ID  )Should be
    WHERE
    PT.PT_ID = PCD_INST.PCD_ID 
    AND   PCD.PCD_ID = PCD_INST_RS.PCD_ID  You could remove the to_number
    AND   PCD_INST.INST_NUM  =  '123'
    anything that i shld take note from the executionplan ?
    What is shld?
    retrieve abt 300 - 400k recordsHow many is abt?
    SELECT STATEMENT Optimizer=CHOOSE (Cost=228Card=1 Bytes=205)Optimizer thinks it is going to return 1 row so your
    statistics are way off.
    What is rdgs?hi ,
    i'll first remove the bracket and the to_number and try
    then
    i'll check with the DBA to see if the stats are up to date
    sorry for the short-form, i was reminded earlier not to use that but i forgot
    shld --> should
    rdgs --> regards

  • HT1766 why is my phone so slow, it has never been this slow and it constantly restarts it's self...?

    why is my phone so slow, it has never been this slow and it constantly rests it's self ??

    Hello, mackenzienesbitt. 
    Thank you for visiting Apple Support Communities. 
    Here are a couple resources that have some helpful troubleshooting steps for this issue. 
    Resolution
    If a single application is not responding or stops responding when it opens, you can force it to close.
    If the device is unresponsive or if certain controls aren't working as expected, restart your device.
    If the device remains unresponsive or does not turn on (or power on), reset your device.
    If there is no video or if the screen remains black, verify that the device has enough charge to turn on:
    If you are using an iPad, ensure that it's connected to the USB Power Adapter supplied with the device.
    Let it charge for at least twenty minutes, then see if it starts normally.
    If there is no image on the screen, press the Sleep/Wake button to attempt to wake the device.
    If the screen displays a red battery icon, continue charging the device until the battery is fully charged. Learn more about charging iPhone and iPod touch, or iPad.
    If the above steps do not resolve the issue, or the if the screen remains black or shows a persistent Apple logo, try restoring with iTunes:
    Connect the device to your computer and open iTunes.
    If the device appears in iTunes, select and click Restore on the Summary pane. Learn more aboutrestoring iOS software.
    If the device doesn't appear in iTunes, try to force the device into recovery mode, and then restore it.
    If the above steps do not resolve the issue, contact Apple.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIsand corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 30 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    iPhone: Hardware troubleshooting
    http://support.apple.com/kb/ts2802
    Cheers,
    Jason H. 

  • I am deleting 44,000 files; why is it so very slow to do this chore?

    I am deleting 44,000 files; why is it so very slow to do this chore?

    Could something from Bitdefender be activated somehow and slowing my computer down?
    Yes. Back up all data, then uninstall "Bitdefender" completely according to the developer's instructions -- NOT by dragging an application to the Trash or hunting for files by name.

  • When replaying a video I took, why is it replaying in slow motion? How can I correct this?

    When replaying a video that I took, why is it replaying in slow motion? How can I correct this?

    I'm going to assume that maybe you accidentally recorded in slo-motion which is why it's playing in slo-mo

  • I converted an mts file to quicktime to edit in imovie, but the video runs really slow  why is this ?

    video play back runs really slow its all stick and not smooth why is this i thought macbook pro was fast for this stuff. or will it work better
    in final cut pro X

    It was suggested I move this question to IPhoto or IMovie which I did. 
    Well moving to a different discussion group did not provide an answer to this question either. But what I finally did was import one batch of photos and videos into IPhoto for a given day at a time. Working with these I could change the date and times in order to get them in the original sequench taken. Then I would create an album with that batch. These would all be on the same day (IMove was closed for this phase). Then I would open IMovie, generate the thumbnails for that album, and select the album I had created. This was necessary because the importing process in IPhoto was using incorrect dates for my video so it was a real struggle finding them in IMove until I developed this approach.
    I believe that this whole process was so screwy because I was importing from an external hard drive not a camera. I had these photos on a PC and did not have the original cameras to use to import directly which I am fairly sure would have made this easier!

  • I have IE & Firefox on both my laptop and desktop. Why is Firefox so much slower than IE7? Firefox seems to take forever to load pages!

    I have a HP laptop & Dell desktop with IE7 and Firefox. I use Firefox more as I like it better than IE, yet the pages in Firefox load so slow. I thought the new version of Firefox was so much faster, but it seems to drag along and take forever to load pages. Why is this??
    == This happened ==
    Every time Firefox opened
    == 6/17/2010

    Please ask your question on a forum for the Flash Player

  • Why is Thunderbolt so much slower than USB3?

    I'm considering two different drives for Time Machine purposes. Both are LaCie. Either of these:
    - Two Porsche 9233 drives, 4 TB each
    OR
    - A 2Big Thunderbolt drive, 8 TB, which I would configure as RAID 1 (a mirrored 4 TB volume)
    My question is this: I've viewed both of these product pages via the Apple Store, and I noticed that LaCie's information for the Thunderbolt drive makes it a lot slower than the USB drives. Meaning: They say that the 2Big Thunderbolt drive maxes out at like 427 MB/s, whereas the Porsche USB drives max out at 5 GB/s. Why is this? Isn't Thunderbolt supposed to be a lot faster than USB (any iteration)?

    Not an easy question, short of a whole lot more detail on the construction of those two devices.   You're likely going to need to look at the details of the drives and probably at some actual data.   You're really looking for some real benchmark data that you can compare, in other words.    Particularly which (likely Seagate) drives are used in those (IIRC, Seagate bought LaCie a while back), and what the specs are.
    The hard disk drives themselves are a central factor, where the drive transfer rate is a key metric for big transfers (and that can be based on drive RPM as much as anything, faster drives can stream more data, but they tend to need more power and run hotter), and access (seek) time for lots of smaller transfers (faster seeks mean faster access, so good for lots of small files scattered around).  Finding the details of the drives can be interesting, though.  I've seen lots of cheaper disks that spin very slowly, which means that they can have nice-looking transfer times out of any cache, but then... you... wait... for... the... disk... to... spin.
    The device bus interfaces can also vary (wildly) in quality.   I've seen some decent ones, and I've seen some USB adapters that were absolute garbage.   Some devices have decent quantities of cache, too.  Others have dinky caches, and end up doing synchronous transfers to hard disks, and that's glacial compared with memory speeds.
    One of your example configurations also features RAID 1 mirroring, which means that each write is hitting both disks.   The writes have to pass through a controller that can do RAID 0 mirroring, and that can write the I/O requests to both drives, and that can read the data back from (if it's clever) whichever of the two drives is best positioned in related to the sectors you're after.   If it's dumb, it won't account for the head positions and drive rotation and sector target.   Hopefully the controller is smart enough to correctly deal with a disk failure; I've met a few RAID controllers that weren't as effective when disks had failed and the array was running in a degrated mode.  In short, RAID 1 mirroring is a reliability-targeted configuration and not a performance configuration.  It'll be slower.  Lose a disk in RAID 1 mirroring, and you have a second disk with a second copy.    If the controller works right.
    If you want I/O performance without reliability, then configure for RAID 0 striping.   With that configuration, you're reading data from both disks.  But lose a disk in a RAID 0 striping configuration and you're dealing with data recovery, at best.  If the failure is catastrophic, you've lost half your data.
    But nobody's going to make this choice for you, and I'd be skeptical of any specs outside of actual benchmarks, and preferably benchmarks approximating your use.  Reliability is another factor, and that's largely down to reputation in the market; how well the vendor supports the devices, should something go wrong.  One of the few ways to sort-of compare that beyond the reviews is the relative length of the warranty, and what the warranty covers; vendors generally try to design and build their devices to last at least the length of the warranty.
    Yeah.  Lots of factors to consider.  No good answers, either.  Given it's a backup disk, I'd personally tend to favor  eliability and warranty and less about brute speed.
    Full disclosure: no experience with either of these two devices.  I am working with Promise Pegasus Thunderbolt disk arrays configured RAID 6 on various Mac Mini configurations, and those support four parallel HD DTV video streams with no effort.  The Pegasus boxes are plenty fast.  They're also much more expensive than what you're looking at.

  • Why is my ipad2 really slow after updating to IOS 6.1.2

    Why is my ipad2 really slow after updating to IOS 6.1.2

    Try this.
    Quit all apps completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • IPad Air with iOS 8.02 freezes and blue screen appears. What should be done ? Why is this happening ?

    IPad Air with iOS 8.02 freezes and blue screen appears. What should be done ? Why is this happening ?

    If nothing else works, you might try this one. It has worked for many others ...
    Use iTunes to do a reset to factory default condition. Always be sure to do your backups before fiddling with your iPad. You might do both the iCloud and the iTunes backup, just to be sure!
    Back up and Restore your iOS Device with iCloud or iTunes
    http://support.apple.com/kb/ht1766
    iTunes: About iOS Backups
    http://support.apple.com/kb/ht4946
    Use iTunes to Restore your iOS Device to Factory Settings
    http://support.apple.com/kb/ht1414
    Various issues from many different users have been solved by this. I've lost count on how many have been helped by this, so far. But, it doesn't mean EVERYONE will be helped, but I've seen a whole lot. You can only try and see ...
    iPad 2 and iOS 8.0.2 Problems
    For all iPad 2 owners, this is an important solution for you! These problems result from long-term use, continuous upgrades, corrupted files and various glitches that happen over this long term use. You just need to get your iPad 2 back to FACTORY FRESH CONDITION to start out clean!
    Here's one person's solution which will help a lot of iPad 2 users!
    keithfrommariettaOct 12, 2014 3:25 PM Re: IPAD2 very slow after IOS 8 upgrade
    Re: IPAD2 very slow after IOS 8 upgradein response to pacoKAS
    SOLVED:  IOS 8 Issues on iPad 2:
    I just returned home from a visit to the Genius Bar. Like you and many others, when I upgraded my iPad 2 to IOS 8, it became practically unusable. It was VERY slow, lagged whenever trying to to do anything. Lots of screen freezes and apps spontaneously crashing. I was convinced that the processor on the iPad 2 just couldn't handle the new IOS and I went in to see about restoring to IOS 7.
    Thankfully, I was hooked up with a very sharp guy at the bar. The problem is not with the OS, it is with it being an *upgraded* OS. He used the analogy of when you had an older Windows computer and how over time (and over upgrades), they just tended to get slower and slower because of all of the garbage that was carried forward in the upgrades. At those times (and if you've ever had a Windows computer, you get this), the only thing that would speed it up would be to wipe the machine and do a fresh install of the current OS and then reload your apps, and the viola, everything would be fast again. Well, it turns out that IOS can suffer the same problems.
    THE FIX:  FIRST, be sure you have a current iCloud backup of your device.  Connect your iPad to a computer that has a clean fresh copy of IOS 8 on iTunes (this is best done with a computer other than the one that you sync your device to because you DO NOT want to restore it from a back up just yet). Ideally, if you do this at an Apple store you'll be assured of the right version there and someone to answer any questions you might have along the way. You then hold the power and home button down to hard-reset the device and continue to hold them down until it reboots into recovery mode. You then follow the instructions on the computer to reinstall the OS on the device (which wipes everything from it and then reinstalls a clean copy of it). Once this is done (which only takes about 15 minutes), your device will reboot and ask you to set it up. Answer the questions about language, location, etc. and continue until it asks you to log into your iTunes account. Once you do that, it will ask if you want to either 1) Set it up as a new device, 2) Restore from iCloud, or 3) Restore from iTunes. Choose (2), restore from iCloud. This will ensure that it brings down "clean" copies of all of your apps and preferences rather than the potentially corrupted ones that might reside in your iTunes backup. That's it! It will take a few hours depending on how much data and apps you have, but I am happy to report that my iPad 2 is now running IOS 8 and it's running as fast as it ever did when it was brand new!
    To sum it up, this process 1) Wipes your device and the garbage causing your problems, 2) Loads a clean and bug-free version of IOS 8 to your device, and 3) restores your apps and data so that it looks just like it did before the wipe, with the exception that it works now!  :-)
    Note also that by following this process you don't have to go through the painful and laborious process of reloading all of your apps, data and/or settings. iCloud takes care of all of that for you.

  • Why is the refresh rate slower in lab mode? photoshop cc 2014

    hi
    why is the refresh rate slower in lab mode?
    for example i load an image , rgb , ad an adjustament layer -> curve and i start to play with curve -> the refresh is instantaneous (i mean the image become more dark or lighter instantaneous )
    but if i load an image -> conver in lab mode , the refresh rate is slower
    i tried cs6 too, same behavior
    ps how can i have an email to notify me that someone answer to this discussion?
    thanks

    hi
    there is nobody can check it?
    under windows 7 or 8
    thanks

  • Why is Bridge CC so slow?

    I'm trying to figure out a way to diagnose why Bridge CC is so slow. I regularly use programs like Photoshop, Lightroom and Premiere and don't notice any kind of inapropriate lag or delays at all. However, when working in Bridge it just feels slow. Opening menus occasionally just hangs for seconds on end before dropping down. Thumnails from a gallery I've previously viewed can take upwards of 10 seconds to appear after opening the software. But the most noticeable and repeatable issue comes when trying to select more then one image files. CTR-Clicking a second (or however many additional files) can take anywhere from 5-8 seconds to happen. This, more then anything else, is making bridge unusable.
    What should I do?

    I just bought a new computer with with Windows 8.1 and plenty of all the hardware that make Adobe CC work great. Unfortunately Bridge had the sluggish slow response that seems to be haunting many people. I read through the adobe support and forums and found a number of good places to look but nothing that outlined a working solution for me. I tried all this http://helpx.adobe.com/bridge/kb/troubleshoot-errors-freezes-bridge-windows.html and nothing worked. I was facinated to find people were able to create new account and found the unresponsiveness went away. I also payed close attention to the fact that network drives might cause problems. Not being familiar enough with Windows 8.1 I looked for traditional XP network drives and found that wasn't the problem. But yesterday I realized I have "Libraries" that point to my windows 8.1 laptop and one that pointed to SkyDrive. The settings transfered to my new PC when I used the same login information from my laptop. So I went in to the libraries and removed all the links that went to my laptop and skydrive and Bridge worked perfectly as would be expected on a new PC. So check your libraries. This might also explain why some people found that a new account solved the problem.
    Open the "desktop"
    Open "file explorer"
    Go to the "view" tab
    Click on "navigation pane" in the ribbon
    Select "show libraries"
    Expand "Libraries" in the folder view
    Check the path to every folder in the list
    Right-click and choose "remove location from library" if anything points to another computer or SkyDrive
    Obviously I can't say it's everyone's problem, but it worked for me. I hope it helps someone. Good luck everyone.

Maybe you are looking for

  • Userdefined datatype in Oracle 8i

    The Table contains data of 50000 rows. Please send How to create userdefined datatype for a column in a table? ( Table : cs_orderdetail Column : ordertype datatype : torder as varchar2(6)) For the same Column How to add default? ( Table : cs_orderdet

  • Reassociate RTC 10g with OID 9.0.4?

    Has anyone successfully reassociated RTC 10g with an existing 9.0.4 OID? I followed the instructions on the Collab Suite 10g Admin Guide (12-29 and 12-30), but it isn't quite working for me. It accepts correct credentials, but then gives me the follo

  • Photoshop Cloud Not Loading on Mac OSX 10.8.2

    The manager download and said that it installed the app. The app is listed in the applications folder but the icon for the app is whited out with a circle and a line thru it.  When I try to load it it just says " Can't Load..  May be damaged or incom

  • I cannot post pics on ebay. Message:0000\Root\mg.bmp path not found. I switch to IE andpost pics easily. What gives?

    Why can't I post pictures on ebay with FireFox? I have to switch to IE to use ebay. I always get the error message: "0000\Root\mg.bmp path not found."

  • Impulses with space designer

    I have been talking with a friend.He was telling me that i can download impulses to load into space designer.That model like neve pre amps and stuff alike.Where can i get these impulses? I actually think i found them, i downloaded them and it looks l