Why does moving the mouse over an IMAQ image display slow the GUI down so much?

I have a large application with several vi's running simultaneously under labview 8.6.1.  When I mouse over an image display control in one of the vi's, everything slows down a shocking amount in all the other vi's.  The windows task manager does not show a large increase in CPU use.  My pc is has a quad cpu with 4GB of RAM, and the CPU and memory loads do not appear to be terribly taxing to the system.  However, many of my vi's apparently come almost to a standstill if I just move the mouse in a circle around my image control.
This looks like it is largely a GUI display issue.  If I make a new vi and put a while loop in it that only displays the iteration loop number to an indicator, I can see the iterating occurring, then stopping totally when I mouse inside the image display control.  When I stop moving the mouse inside the control, or when I move it outside the control, the interation loop number jumps up, as if it had been incrementing behind the scenes the whole time.  So only display of the interating was halted.
This problem occurs even if the vi with the image control is not executing.  If the vi with the image control is open but not running, and I mouse over the image on it, the other guis all come to a screeching halt.
Does mousing in the image display control really utterly crush all other guis in all other labview windows?  Is this an issue inherent to the image display control?  If so, is there anything I can do about this? 
Also, this issue is not entirely limited to display.  I started looking at it in greater detail because this issue also exposed what I think is a race condition in my code.  I have a vi that acquires an image from a ccd and puts it into an IMAQ image.ctl.  This image then gets passed up to a vi up the call chain, and is put on a queue and sent over to be de-queued by a vi that has the image display control.  Here's the kicker:  when I mouse over the image display control, the image successfully gets acquired inside the subvi, and if I probe the wire leading to the output IMAQ image display.ctl, I see the image.  If I simultaneously probe the wire coming out of the subvi one level up the call chain, the image gets lost about half the time.  This only happens if I am mousing in the image display control IN A TOTALLY DIFFERENT AND SEPARATE VI.  If I bump up the priority of the ccd image acquisition vi to 'highest priority', the problem only happens about 1% of the time, and I really have to mouse around to make it happen.  Still, it's disturbing that mousing in the GUI in one window results in a failure of a separate subvi to simply pass an image up the call chain.  I understand that IMAQ images are referenced rather than passed by value, but I don't see why there should be a failure to pass the image up the call chain.  I've looked for a race condition, but can't find one.
Eric

I have finally been able to replicate the behavior that you are seeing on another computer once the image was large enough.  Here are a few notes about this behavior:
First. The UI only slows down when the images are large, 16 bit images.  The reason why this is unique to 16 bit images is that they can only be displayed on the front panel as 8 bit images.  The workaround that Weiyuan suggested to change the 16 bit display mapping hints towards the root of the problem...that any time a mouse runs over the indicator, Windows asks the entire image to re-draw (having a separate indicator overlapping the image will create the same behavior).  With a 16 bit image, not only does the image have to re-draw on the screen but the 16 bit pixels need to be mapped to 8 bits.  When setting the 16 bit display mapping to Full Dynamic, this requires mor computation/pixel than 90% dynamic or one of the other mapping schemes.
This is expected behavior if your program is running and you're trying to display a large 16 bit image.  To fix this behavior there are a couple options:
Change the 16 bit display mapping to something other than full dynamic.  You can choose which 8 bits to display or if you want to map the bits. 
Resize the image just for viewing purposes on your front panel (since you aren't going to view every single pixel of you image on the screen). You can use the IMAQ Resample.vi to do this.  This will allow you to take your 1500x1500 pixel image and only display a 500x500 pixel version.
If you are interested in viewing small details of the large image, consider just displaying a smaller region of interest at a time.
Let me know if any of these solutions work for you.  Good luck on your application.
Zach C.
Field Engineer
Greater Los Angeles

Similar Messages

  • Why does my right mouse button automattically paste when clicked? The option should be there, it should not paste whatever has been coppied without me clicking

    If I copy something and then put the pointer on a location where pasting is possible (navigation bar for instance) the right mouse just pastes whatever is in there without my clicking on paste. Very annoying and I will quit using the browser if it does is stop. Here is an example. I will misspell the next word and then right click on it to correct and you can see what happens. It will paste whatever I have copied previously and not fix the error. Speling It is also possible to copy text by double-clicking it and holding down the mouse button until the
    That is it. All the text after Speling is pasted when I tried to correct. Same thing if I high lighted text and tried to right click to copy....just more pasting of the same thing. Help please.

    Another user reported that this is a feature of the FastestFox add-on. Can you check its Options or, if necessary, Disable it and see whether that is the cause in your case?
    orange Firefox button (or Tools menu) > Add-ons > Extensions category

  • Why does my printer print different colours than are displayed on the screen, in Photoshop Elements 10

    My printer has begun to print greens as browns. This only occurs with photographs.
    Is there a solution to this.
    I have checked and I have the latest drivers and the test sheet colours are fine.

    I found another thread finally about this issue which effects many. There is a 3rd party that makes drivers that I installed and cut my "sending to printer" time from 10 minutes per page to  instantly!
    Google: gutenprint  or go direct to the Apple page at:
    http://gimp-print.sourceforge.net/MacOSX.php
    and download Gutenprint 5.2.8-pre1 and install the drivers (there's an uninstall in case you need to)
    Then go to: System Prefs > Print & Fax > Options & Supplies... > Driver > Print Using:
    Select the driver that looks most like yours. In my case I have a "HP Lasterjet 1200" and Gutenprint's driver substitute is: "HP LaserJet 1200 - CUPS+Gutenprint v5.2.8-pre1"
    After selecting your substitue driver, click OK and click out of the Sytstem Prefs and try printing.
    I was stunned at the difference in time. It was immediate as opposed to 10+ minutues per page.
    The one thing though.. is when I was using the HP Driver and it took so long, the printer icon was in my dock the whole time and if I clicked it and launched the interface, there was an "Advanced" button and clicking that gave me a bunch of configurations that I'd never seen before being that I never got this into printing before. But from memory there was which language to choose: Language 2 or 3 and then, stuff like cleaning up background and others I can't remember now.
    But now that the new driver prints instantly the printer icon is in the doc all of 1 second and so I can't launch it to get to options. I remember experiementing but unfortunately can't tell you all what I tried since I can't picture what all the config options were/are.
    So.. I'm not 100% sure if the speed I'm enjoying now is partly because of the Advanced configuration changes I was trying. Sorry...
    If someone knows how to get to these Advanced options, please post them in this thread?
    Thanks,
    S

  • Computer freezes when I'm moving the mouse over flash videos

    Hello,
    Sometimes when I move the mouse over a flash video to pause it or to even start it, my computer completely freezes. I'm using a laptop and the LED that lights up whenever the HD is being used completely stops lighting, indicating that the hard drive is no longer being used.
    All buttons stop working, including combinations like CTRL + ALT + Delete. The Caps Lock LED does not light up when pressing Caps Lock, and my mouse completely stops moving. All I'm left up is with a frozen image, and the only way to stop the computer is by pressing and holding the stop button on the laptop.
    When I restart the computer, the websites and tabs restore on the next Firefox start-up.
    I thought this only happened to YouTube videos, but now I've experienced it with another type of video.
    This only happens in Firefox and with flash videos. Does anybody know how I can fix this?
    Thanks!

    Hello, thank you for the response.
    I could try that, but the thing is, this only happens rarely. I don't know if there is any way to deliberately cause this, but freezing the computer is not the most pleasant thing, because it requires closing it by using the physical button on the computer, rather than the Windows Shutdown command.

  • Why does moving the cursor peg the cpu in numbers?

    Why does moving the cursor, even by one cell, peg the cpu in numbers?

    Hello
    Before posting yesterdays, I tested with a table of 4435 x 8 cells on the iMac described below.
    I will be more precise than yesterdays.
    Numbers recalculate the entire document after every change. A single new character is sufficient.
    Twenty years ago, AppleWorks designers were kind enough to recalculate only what really needed.
    It seems that new developers are not relying upon intelligence but upon processor's brute force.
    Their code will be efficient … on the machines which will be available within at least five years.
    Alas, at this time there will no longer be compatible with the operating system.
    Given this awful coding, when AutoSave apply, it must write on disk an entire new index.xml file.
    Same thing when Versions apply.
    Under SnowLeopard these two features don't strike.
    If you wish, you may send your 'offending' document to my mailbox so I will be able to check the way it behave here. Don’t worry, I don't take care of what is really stored, only of the doc's behavior.
    Click my blue name to get my address.
    Yvan KOENIG (VALLAURIS, France) jeudi 12 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2

  • When I open about this mac - more info and I switch through the tabs (display,memory,storage,support,service) it lags (fps drops, animation looks choppy not smooth). Why does this happen? (over 300 gb free,same programs installed,free desk-downloads)

    When I open about this mac -> more info and I switch through the tabs (display,memory,storage,support,service) it lags (fps drops, animation looks choppy not smooth) even though all the mac (programs , interface ) works smooth . Why does this happen? (over 300 gb free,same programs installed,free desktop-downloads -no garbage there- everything neat and tidy.) Need some help. Only there it the animations goes like 2 fps and is not smooth. I do not understand why because the programs are the same so its the usage. Nothing is changed, yet i experience this little issue for a couple of days.

    OK, I'm confused. When I do About this Mac > More Info in OS10.9, I don't see any animation other than the window resizing. Is that the animation you are describing?
    Which if any of the following apply to your computer:
    1) Are you running any anti-virus/internet security applications?
    2) Are you running any "cleaning/tune-up/optimizations" applications?
    3) Any peer-to-peer or torrent downloading software?
    4) Any third-party disk backup software that came bundled with an external hard drive?
    5) Any online backup scheme other than iCloud (Carbonite; GoogleDrive; MS One Drive)?
    6) Did your financial institution ask you to install Trusteer EndPoint Protection (also known as Trusteer Rapport)?

  • Spotlight does not show the path or location of a file anymore when hovering with the mouse over the file

    in Leopard Spotlight used to show you the path /location  of a file when you stayed with the mouse over the result. As sometimes I just look for the location of a file not to open it like a mp3 file. It would be nice to have a opiton in spotlight to contorl or right click a file and then give the option to say show in finder. that only works when you have your results show up in finder first and takes a bit longer. or maybe in the new prieview window to show the loaation or give you opitons what to do with the file
    Just an idea to spotlight even better

    When you hover over a file in spotlight list (or select with up/down arrow) you can also hit command-R to open the folder where the file is located. Kind of like 'Show Original' for aliases.
    But yeah, Apple really needs to just show the directory path on the hover pop-up by default. Obviously, when you do a search you'll most likely get several files with the same name - we need to see the locations to tell them apart. One of the main reasons to do a file search is to simply find out 'where the file is located' - not necessarily open the file. Seems pretty shortsighted to not show the file location in the search result.

  • Individual Panels "Jump" when moving the mouse over

    I am using AE CS2. When I move the mouse over individual panels, the panels "jump". They don't change to a new location, they just jump once in place as if they have been bumped. It is quite annoying. What causes this?
    Thanks.

    Microsoft Intellipoint software is known to cause this issue.

  • Fix Pacl 1.3 - Does it solve the mouse over HAND Symbol issue?

    The new Fix pack was out and it was supposed to solve the Hand Symbol instead of arrow when we move the mouse over a URL button.
    I have gone through the documenation but din't find any solution for this. When will the next fix pack be released and will it solve the issue? our users are not happy about this.

    The documentation says it fixed.  Look at the first item on page 5 of the PDF.

  • One more nugget: Chart zoom with the "Mouse Over" effect

    Hello all.
    Just read my signature first, it might explain a lot. I do not intend to compete with Darren and I don't think this "nugget" (at least it supposed to be one) will amaze any of the LV veterans and this forum is rich of them. But maybe it will bring some new ideas to some of you or maybe it will be useful for some LV beginners (like me). It is very likely, my code will have some lapses, but please be gentle pointing that out to me. If you feel a need, you can always optimize the code and develope it further. Just don't forget to share!
    So back to the point.
    I am developing a project using LV. In my program there is a waveform chart which has to show 4 plots. Depending on the length of the X Scale, it sometimes gets hard to see the plots clearly because of their density.So I decided that I need a tool, which would zoom the chart in. And this is what I have came up with after a few "Google" searches to check which part of the bike is already invented and also a bit of programming by myself. 
    Maybe you guys (at least the veterans) know the BetterVIEW Consulting LV example where they have implemented the Mouse Over effect. So a part of their example has been used in this tool and part of the credit must go to them. I thank them a lot
    This tool uses a cluster and its property of visibility to show/hide the cluster depending on if the current position of the mouse cursor is in the desired range or not. The program also gets the image of the chart and returns the subset of the image. The subset is taken for the area arounf the mouse cursor. So if you move the mouse, the zoomed in area will also chage in response. After that, the subset of the image is zoomed in for better view. 
    The user might chage the zoom factor during the execution. Also it is possible to turn the zoom option On or Off if you don't wish to see it for the moment. 
    This is how the front panel looks like:
    And this is the image of the block diagram (see the attached files for the vi, the VI Snippet tool distorts the code too much, so I haven't added it):
    I haven't found anything the same in the forum. Yet I'm a newbie here and I don't have that much experience surfing it. If it wouldn't be something new (in the forum, not necessarily to some of you personally), just ignore the thread. I hope this was worth your time and your attention. 
    Good coding
    Message Edited by Giedrius.S on 02-11-2010 12:46 PM
    While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that...
    Chart zoom with "Mouse Over" effect
    Attachments:
    Zoom.vi ‏198 KB
    Mouse_pos.vi ‏20 KB
    Check_pos.vi ‏18 KB

    Very nice Giedrius.
    It takes guts to "step up to the chalk board" so I will do what i can to give you some ideas to think about. This is similar to the type of feedback I offer durring our in-house code reviews.
    1) The floating property nodes outside the loop are not sequenced by wires so they could execute after the loop starts. Sometimes this could cause weird errors. Seq with the error cluster.
    2) Property nodes can be re-sized so you can apply more than one property setting in the same call. Property node have to execute in the UI thread (which is single threaded) so using a single nodes will force a single context switch rather than one for each.
    3) Setting the same property repeatedly in a loop just burns CPU. THe Scale min for both X an Y can be moved outside the loop ?
    4) THe Wait Until Next ms" function does not get used in any of my code. It is not a way to get a fixed wait but rather a random wait. If you code completes 1 ms after the next multiple, the delay is double less 1 ms. If you have multiple loops using them and it f the delay for each are not unique prime numbers, then the "Wait until next ms multiple" is a good (cough cough) way of getting them all to wake up at the same time and fight for the CPU.
    5)An Event Struture to monitor mouse enter/leave and mouse move (this would have to be a sepearte loop) is easier on the CPU than polling.
    6) Is that math in the case to handle the Chart position on the FP? If so then using the property nodes for the chart to find its postion will let you code adapt to GUI changes.
    7) Right to left wires are not well recieved.
    8) A Bundle by Name is prefered over a "Bundle" since it is self documenting. I know the Picture function so I can see that is the rectangle you are specifying but reader not famliar with that function would not be able to "READ" the code without poking at it.
    9) THe event structure would also help with setting the Zoom factor. Only poke it when you have to.
    That is all that comes to mind at the moment.
    Again thank you!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Why does my iPhone 5 take very grainy flash photographs in the dark will a hard reboot be safe to do to try to fix or is it a hardware issue?

    Why does my iPhone 5 take very grainy flash photographs in the dark will a hard reboot be safe to do to try to fix or is it a hardware issue?
    And By hard boot I mean holding the home and power button down at the same time for 10 seconds or whatever
    I see other people have these grainy flash photographs if you try to take a picture in darkness the picture comes out very dark and grainy I thought the software would ultimately fix this but it's been going on for over a year I usually take my photographs in daylight but I need this to be fixed
    If it is a hardware issue I hope Apple will replace my iPhone 5 because I was just waiting for one of the iOS updates to fix it I bought my phone in November 2012 its the iPhone 5
    Please help or advise if you can was this just a software or hardware issue I know Apple was aware of it but I was advised that iOS update would fix it but obviously not
    Is it safe to do a hard boot on my iPhone five by holding the power and home button at the same time for 10 or 20 seconds I saw someone said that fixed there's at least temporarily
    I'm typing this on my iPhone five right now why do the words go off to the left and right no matter if I hold the phone vertical or horizontal the words bleed off to left right so for me to proofread it I have to move my text left to right to proof read it
    Thank you

    The flash on a smartphone camera is tiny. It only lights up a very small area right in front of the camera. It won't light up the whole scene.
    Have you seen the size of the flash on a professional camera? Even they can't light a whole scene in the dark.
    Fact is, a smartphone camera is not capable of taking good photos in the dark, even with the flash.
    You'll need to buy and learn how to use a professional, dedicated SLR camera to be able to take good photos in the dark. It is not easy.

  • Does anyone get the mouse lag with an external display connected via the display port?

    does anyone get the mouse lag with an external display connected via the display port?

    You don't describe the problem in great detail.  Is this the issue you are describing?
    https://discussions.apple.com/thread/4398076?start=0&tstart=0
    If so, then, "Yes."  I have the same problem.  Note that this isn't a tracking speed problem for me, it's a lag between my hand moving and the pointer moving on the external display.
    Andrew

  • HT3728 Base station error, air port utility was unable to find my airport device. Why does it say this when it recognizes my airport on the computer? Yellow light has been on

    Base station error, air port utility was unable to find my airport device. Why does it say this when it recognizes my airport on the computer? Yellow light has been on

    On the older version of the AE you can still use older airport utility.
    But once you load the new one you cannot easily go back.. you can load an older 5.6 version though.. instructions below.
    For 6.3 you need to run ipv6 local link.
    see http://support.apple.com/kb/TS4597
    How to load 5.6 into ML.
    1. Download 5.6 for Lion.
    http://support.apple.com/kb/DL1482
    Click to open the dmg but do not attempt to install the pkg.. it won't work anyway.
    Leave the package open on the desktop so you can see the file. AirportUtility56.pkg
    2. Download and install unpkg.
    http://www.timdoug.com/unpkg/
    Run unpkg on the desktop.. If your Mac refuses to run the software, because it wasn’t downloaded from the Apple store, go to security in preferences and allow other software to work.. this is limitation of trade methinks. You can set back later if you like.
    Now drag the AirPortUtility56.pkg file over to unpkg.. and it will create a new directory of the same name on the desktop.. in finder, open the new directory, drill down.. applications, utilities .. there lo and behold is Airport utility 5.6 .. drag it to your main utilities directory or just run it from current location.
    You cannot uninstall version 6 (now 6.3 if you updated) so don't try.. and you cannot or should not run them both at the same time.. although I have had no problems when doing so.

  • I would like to create the same mouse over effect that is used on the home page of Industrial Light

    I would like to create the same mouse over effect that is used on the home page of Industrial Light & Magic website. http://ilm.com
    Could someone please let me know what the code or effect that is used. Thanks.

    It appears there are two slideshows running in parallel where a mask that follows the mouse displays one of them.  THe one you see in the moving mask is on top of the other.
    If you were to search Google for a custom cursor tutorial you will probably end up with most of what you need for getting the mask to follow the mouse.  

  • Why does my usage say over done at .2gb?

    Why does my usage say over done at .2gb, when I purchased a full 2gb plan today. It says the next billing cycle is may 2nd, does have have anything to do with it? Why don't I have my full data?

        We don't want there to be any confusion with the available data, Buck_Choklit. Did you just get the phone or did you just change the plan to 2GB from a different data plan?
    TamaraH_VZW
    Follow us on Twitter @VZWSupport 

Maybe you are looking for