Image display control scrolling does not work properly when zoomed in

I am using a ROI on an image in the image display control. When zooming into the image to fine-adjust the positioning of the ROI, the image scrolling does not work properly. As far as I understand, the image should scroll automatically when the ROI is leaving the visible area. However, the scrolling behaviour seems to depend on the origin of the Labview panel, not the origin of the image display control, which might require to move the ROI way out of the visible area before the scrolling takes place. In other words: the coordinate system of the image display control is shifted with respect to the true visible image area, depending on where you place it on the front panel. As a consequence, when clicking on a ROI which is in the visible area, but is outside of what Labview thinks is the visible area, it might immediately jump to the left border of the image, making the positioning of the ROI really difficult.
Has anyone noticed this behaviour, and what would be a reliable solution to avoid this? 
Dirk

Hello,
no, I am not talking about the tools palette. Just place an image control with some image in it on a new VI front panel. Then, use the rectangle from the tools and select a ROI in the image. If you zoom in (using the magnification glass), and then grab the ROI and move it around, the image scroll with the ROI. So far, so good. If you now place the image control elsewhere on the panel, or add new control above it, resize the panel, etc. , this scrolling when moving the ROI will not work correctly if the origin (0,0) of the panel is far away from the image control.
I have attached a VI for simplicity (although there is hardly any code in it).
If you make a ROI and try to move it down, you will notice that scrolling starts if you move the mouse out to about 10cms below the image (depens on your screen, of course). After that, if you click on the ROI, the scroll bars and ROI might jump up to the upper end of the image. Imagine how annoying this is if you try to finely adjust the ROI position. 
I think it is a bug in the implementation of the image display control.
Thanks,
Dirk
Attachments:
scrolling.vi ‏818 KB

Similar Messages

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • Application does not work properly when I press a CommanButton

    Hi all, I am having a problem with weblogic 10.3.5.
    It turns out that an application built with JDeveloper 11.1.5, I test it, and everything goes well in the JDeveloper integrated Weblogic.
    But when deploy in a standalone weblogic 10.3.5 server, the application does not work properly when I press a CommanButton to go to another page search (the property "action" is set correctly) , but nothing happens, stays in the same home page. Similarly when a commanButton link to run a task-flow, It do not work , however in the JDeveloper integrated Weblogic it runs correctly.
    How I can solve these problems?
    Thanks.

    Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
    " http://<our ip>:7001/myApp/faces/index.jspx "
    this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
    But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
    In the Afternoon we gonna give you more information about it .

  • Subvi does not work properly when called inside a vi

    Hello Every body
    thanks for your help. i am using a sub vi for sine signal generation. as a vi it works fine. but when i called this subvi inside another VI it gives some problems. for example timer indicator works properly.it reinitializes as well in the sub vi, but in the main VI it does not work properly. means does not count the time.in the sub vi on the fly i can change the values of frequency and amplitude in real time, but when i use as sub vi, it does not reponse as i change the values in the control arrays.similarly pause and continue works properly in the sub vi, but once again in the main VI, it does not work properly.graph indicator also work properly in the sub vi. but here once again it does not work properly in the main VI.the pause resume indicator also does not blink, when it is continue. in the subvi it blinks very well.generally why the sub vi does not work properly inside the VI?i am sending my VI and sub vis.
    any tips would be highly appreciated.
    thanks
    Regards
    Attachments:
    vi.zip ‏87 KB

    I just want to add some more details to Dan's answer. The subVI is acting exactly like you've coded it. The mistake is in understanding how subVIs work. When you call a subVI (or a function in any other language), you pass some parameters to it, the subVI does it's thing and returns values. the subVI does not accept new parameters from the calling VI until it returns to the caller and the caller runs the subVI again. In your case, you have a subVI with a while loop. You have some front panel control wired to the subVI's stop terminal. When first called, the value is false. So the subVI will keep running until the subVI's stop button becomes true but you cannot change it from main until the subVI finishes and returns so the subVI will never stop. As Dan says, the solution is pass references of front panel controls to the subVI and have the subVI monitor those references for changes and to update references to indicators on Main. You subVI does not need any front panel controls or indicators of it's own.

  • My keyboard does not work properly when texting etc

    Hi All
    My keyboard does not work properly on my Iphone 4 when texting, it brings the wrong letter or wont let me choose the one i want.  Anything i can do to correct this or is it a visit to apple?
    Cheers for any support in advance.

    I have rebooted and synchronised it with the mac.  I dont even have to touch the screen now and some letters get picked up.

  • Dynamic Height in Graphs does not work properly when the graph is in an list

    Help please,
    I have an report in SQL Server 2008 (SP1) Reporting Services which uses Dynamic Height to dynamically increase the size of the graph for the data. For a single dataset this works great!
    When I place this graph in a list/tablix (to display this graph on each group) things go bad... Only the first graph on every page is resized, all other graphs on the same page are equal in size of the first!
    When I place a pagebreak on the lists property all graphs are drawn fine!! But then I will have a page for every question in my data (which can be a lot!)
    What is going on here? Please help.

    Hi Jerry,
    thanks for your reply, but this does not work. The graphs are now all the same size (the size of the first one that is), and on the same page for that matter...
    It looks like the renderer calculates the value of the dynamic height only once on a page in stead of each graph. That's a bug in my opinion.
    Any suggestions on how to fix this?
    The inner workings of the report are like this: The data contains anwers from a survey by question, so i have a unknown count of answers with each question; I placed a list on my report with a groupingproperty on the question asked. On this list i place a horizontal bar-graph which must grow in height when it is too small. The dynamic height should be calculated like this =70 + (CountDistinct(AnswerValue.Value)*10) & "pt".
    When i place this calculation in a textbox, every item in the group is calculated correctly. Each graph is drawn, but the graphs are sized only to the size of the first graph on the page. When I place a pagebreak after each list-repeat (so i get each question on a seperate page) each graph is drawn correctly! This results however in more than 100 pages with all used for just a few centimeters (think about trees!).
    I'm using SQL 2008 / SSRS2008 with SP1 by the way ( without SP1, the behaviour is the same).
    Any more suggestions are appreciated.
    Danny

  • Insert SQL does not work properly when called using CALL

    I have a stored procedure (TEST_SP) which is used to insert a record in this perticular case. The SQL statement is 2526 characters long. I'm using
    dim Params : Params=chr(1) & "Insert query" & Chr(1) & "=300"
    runsql=&"{call TEST_SP(?,?)}"&Params 
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlto execute the stored procedure. I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, where the SQL is not getting executed (i.e. record is not getting created).
    The same stored procedure and the same SQL when run as below
    runsql=runsql&"DECLARE "
    runsql=runsql&"PUPDSQL VARCHAR2(4000); "
    runsql=runsql&"PRES VARCHAR2(300); "
    runsql=runsql&"BEGIN "
    runsql=runsql&"PUPDSQL := 'INSERT query..."
    runsql=runsql&"PRES:=300; "
    runsql=runsql&"MRT_LKIDFULUP(PUPDSQL => PUPDSQL,PRES => PRES); "
    runsql=runsql&"END; "
    dim db : db=dbSelect("",0,"","")
    dbExecSQL db,runsqlis working fine. Does anyone know if there is a limitaion in ODBC Call function or any explanation to above behaviour? I'm connecting to a Oracle 11g database using Microsoft ODBC for Oracle driver on Window 7
    The stored procedures:
    create or replace procedure TEST_SP(pUPDSQL IN VARCHAR2,pRES OUT VARCHAR2)
    AS
    BEGIN
    DECLARE
      emsg VARCHAR2(100);
    BEGIN
    if pUPDSQL&lt;&gt;'-1' then
      emsg:='Cant exec UPDATE';
      EXECUTE IMMEDIATE pUPDSQL;
        if SQL%RowCount=0 then
        pRES:='ERR:No row updated';
        return;
      end if;
    end if;
    pRES:='OK:';
    EXCEPTION
      WHEN OTHERS THEN
       pRES:='ERR:' || emsg;
    END;
    END;Edited by: BluShadow on 11-Dec-2012 15:47
    added {noformat}{noformat} tags for readability.  Please read {message:id=9360002} and learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    ... I'm facing an issue when the 2000th character on the insert SQL (pUPDSQL) is a single quote, ...Perhaps you need two single quotes? like:
    runsql=runsql&"PUPDSQL := 'INSERT query...Values(..,..,,,''This value in two single quotes'',..,...)' "
    ... I'm connecting to a Oracle 11g database using Microsoft ODBC ...Dump windoze ODBC and better use the Oracle client ODBC.
    :p

  • Dashboard does not work properly when using Word

    This problem occurs persistently. If I am typing something in Word and want to switch over to my Dashboard to use the dictionary or write on a stickie note, two things may happen. If the widget is already selected and ready to be used, then nothing will happen and I can use it properly. However, if I want to click on multiple widgets, then my dashboard will quickly slide over and go back to Word as if I had chosen to exit Dashboard. This only happens when I use Word. Why is this happening and how do I fix it??
    It is frustrating to try and type something in Word, go to my Dashboard to use the dictionary, only to be flung back to Word. The only found remedy is clicking on the desktop and then going to the Dashboard to use my widgets.

    I opened my Word for Mac 2011, opened a document, and Then opened my Dashboard on top of that and used the Dictionary to look up a definition, and changed the month on the Calendar widget, and changed my stock graph interval.  It all worked just as it was supposed to: fine.  You apparently have a corrupted file somewhere.  I do not know where.
    Hope this helps

  • Reminder does not work properly, when using multiple lists

    I am using Reminders on my iPhone 5 with iOS 6.1.. I am using several Lists for Reminders, such as Job, Home, General et cetera.. Everytime I am not using the standard List, set a Reminder in the future and save the event, the event will be displayed on the standard List with the current timing. Very annoying as I need to amend the Reminder for a second time.

    I opened my Word for Mac 2011, opened a document, and Then opened my Dashboard on top of that and used the Dictionary to look up a definition, and changed the month on the Calendar widget, and changed my stock graph interval.  It all worked just as it was supposed to: fine.  You apparently have a corrupted file somewhere.  I do not know where.
    Hope this helps

  • Keyboard layout switching does not work properly when set to switch per document

    Hello,
    I have two input languages (U.S. / Bulgarian - Phonetic) and I am having problems when using the "Automatically switch to a document's input source" option (available in the Input Sources prefs pane).
    The problem is that when I switch applications (using CMD + Tab) the input is not changed to the correct one, until an input field in the new application is selected. If I don't manually select an input field, the language will remain whatever it was with the previous application I used. As a consequence, none of my shortcuts work, as they are defined in the U.S language, and not in Bulgarian.

    Hi,
    does this problem appear immediately after buying the machine? Maybe its a good idea to recover the machine, perhaps it could be a software issue.
    On the other side it sounds a little bit like a hardware related problem so if the recovery doesnt brought you joy then you should contact a local service partner for help.
    Here you can find the nearest ASP in your country (just click on the link and you will find some):
    http://eu.computers.toshiba-europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT
    Nice weekend
    Cheers

  • JScrollpane does not work properly when I interlinked to another Scrollpane

    Hi,
    I am trying to develop a small Editor using java Swing. I hav to display Line numbers also. for that i used another textarea and set the scrollbar model of that to the scrollbar model of text area where i type the programs. the module works perfectly in the first appearance.. scrolls same time..but the problem arises when i insert a new line into or delete a new line from the text area. when i am inserting or deleting the scrollbar of the prgram text area scrolls down immdtly after the insertion or deletion...
    I tried a lot to solve the problem. Please help me...

    I hav to display Line numbers ...Whatever component you use to display the line number you should add the component directly to the scroll pane that contains your main text area. You do this by using the scrollPane.setRowHeaderView(). I've posted several example of this if you search the forums.

  • My iPod does not work properly when plugged into the computer. How to fix?

    I have a 4th generation 40 gigabyte iPod, non-color.
    Today, I plugged it into my computer to update my playlists.
    My iTunes and Windows were lagged down. Eventually, when things caught up, my iTunes didn't show my iPod as being connected. I looked in My Computer, and it didn't say iPod -- it said "Removable Disk". I couldn't disconnect my iPod via Windows, even using the Safely Remove Hardware didn't work.
    After looking around here and trying things like Disk Mode and Resetting the iPod, nothing worked. I can't get the iPod to work with the iPod Updater so I can try restoring it.
    I dunno really what to do. If it's a hardware problem, then I'm not going to bother to get it repaired, since the music that's currently on it plays perfectly fine still.
    I just dunno what else to try.

    you basically are stuck. apple won't do crap for you. i went to the apple store today because my second ipod crashed (the first one they replaced) and they won't do anything for me and told me i had to buy a new one (2 in 1 1/2 years is what happened) so they wanted me to buy a third one when their product obviously *****. and the manager even basically admitted that the ipod that they claim is durable and relible isn't. that people go through 3-4 a year. the supposed "apple genius" told me to send it out to a third party repair. he wouldn't even look at it and lectured me for not getting the extended warranty. if you look at the website below and read you'll find that a lot of people got screwed over like me with the extended warranty;
    http://www.consumeraffairs.com/computers/apple_ipod.html
    put it this way i won't go back to that apple store again or purchase another ipod. ill keep my piece of none working crap

  • Primavera Web services does not work properly when I move the database.

    I am using primavera web services to integrate a winform application (using c#) with primavera. It was successful with my original database, but when I decided to move my database to another server ( It is a sql server 2005 database and I use backup/restore to move database to new server). I changed the database configuration for the webservices so that it refers to the new database on the new server.
    I used the following code to login to webservices:
                    AuthenticationService authService = new AuthenticationService( );
                    authService.CookieContainer = new System.Net.CookieContainer( );
                    authService.Url = _P6wsAuthenticationService;
                    Login loginObj = new Login( );
                    loginObj.UserName = pv_Username;
                    loginObj.Password = pv_Password;
                    loginObj.DatabaseInstanceId = 1;
                    loginObj.DatabaseInstanceIdSpecified = true;
                    loginObj.VerboseFaults = true;
                    loginObj.VerboseFaultsSpecified = true;
                    LoginResponse loginReturn = authService.Login( loginObj );
                    cookieContainer = authService.CookieContainer;
                   ReadDatabaseInstancesResponseDatabaseInstance[] readdbInstances = authService.ReadDatabaseInstances("");
    the loginResponse for the new server is true and it shows the db properties correctly in readdbInstances. But when I try to read projects from database it returns nothing. It doesn't give me any error message just the response message is null.
    Could anybody help me with this issue?
    Thank you

    Thanks Frank for help us, but when I writing this comment we are doing at home. So, we going to test the page in a stand alone weblogic server 10.3.5. We wrote the URL as :
    " http://<our ip>:7001/myApp/faces/index.jspx "
    this application contains a report desing and compiled with iReport 4.5.1 ( last version in the moment ), we can see the report when I press a commanButton without any problem.
    But now, we need try your suggestions in the office, and give you more information about it . Thanks for the moment.
    In the Afternoon we gonna give you more information about it .

  • Flash player does not work properly on Windows 7 32 bits

    Hello,
    My flash player does not work properly on Windows 7 32 bits with Firfox and IE8 (lasts versions).
    My Flash player version : 10.0.45.2, but I tried with version 9 too, with same problems.
    I have tried to uninstall, reboot, reinstall several times, ... witch did not worked.
    In fact, it works correctly on some sites, like youtube, but not on some others like :
    http://www.dailymotion.com/ => black screen instead of videos, right click gives flash context menu
    http://www.canalplus.fr/ => videos does not load, right click gives flash context menu
    http://www.myspace.com/ => no audio player, right click gives flash context menu
    some games in http://www.kongregate.com/ => black screen instead of games, right click gives flash context menu
    I have no problem with shockwave in http://www.adobe.com/shockwave/welcome/
    No problem too with flash player on http://www.adobe.com/software/flash/about/
    But in the Global Privacy Settings panel (http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager02.htm l), I cannot change any settings :
    I cannot check boxes,
    My changes are not saved.
    In most of flash animations, videos, ...,
    when I click on parameters, I cannot do anything, even closing.
    when I am in full screen mode, the message "press escape to exit...." does not disappear.
    Last thing, all those problems was not there when I was on Windows XP, few weeks ago, and appear with my registered Windows 7 premium familly edition, with the same hardware configuration...
    Thank you for your help

    Hi eidnolb
    Thanks for your answer.
    This is what I have :
    Verify user permissions
    I have an administrator account.
    I tried (uninstall, install and run) with super-administrator account for same results
    Install the most current version.
    I am running the latest version (10.0.45.2)
    Run the Clean Installer to Fix 3rd Party Flash Player Cleaners
    I did not "clean" my computer.
    Troubleshoot Pop-up blockers
    I have no Pop-up or esle blocker  software.
    Ensure that Internet utilities do not block Flash Player
    I tried (uninstall, install and run) without Avast.
    I have windows 7 firewall. I do not know where I can allow ActiveX  controls and Flash (SWF) content. I do not see anything relative to ActiveX an Flash in allowed program list.
    Fix machine crashes when displaying Flash content
    I have no freez or crash.
    Using IE, Shockwave Flash Object is Enabled and vs 10.0.45.2
    Using FF, I have SWF vs  10.0.45.2 and it is Enabled
    I really do not understand !!
    Thanks,
    Ju'

  • HTML Editor in HTMLDB Does Not Work Properly

    Dear Developer,
    The HTML Editor provided in the Build 1.5.0.00.33 (9i) does not work properly. The problems are:
    1. When you press Enter Key in HTML Editor <P> tag is
    added instead of <BR> tag. This causes inconvenience to the end user while editing & displaying the fields formatted by HTML Editor.
    2. Similar problems occur when Bullets are used.
    3. Maximum field width for varchar is only 4000 & there is no other field provided by HTML DB which can store more than 4000 characters information.
    I would like to know whether:
    1. The problem is fixed in the newest buid ?
    2. Is there any workaround or am I missing something, please comment.
    I am using HTML Editor so that user can write long free flowing HTML text, but end users have inconvenience.
    Thanks.

    Hi Ayush,
    The answer to your question 3 is increase the size of the Maximum width on the item. I increased it to 32767 and was able to insert into a clob. I think the limit is 32767.
    Vivek

Maybe you are looking for