Graph does not autoscale when it's value is updated in a subvi and Defer Panel Updates is on

Hello,
I have a main VI containing several xy grpahs, which I update from a sub vi. In order to cut down on front panel redraws I defer panel updates while the graph values are updated and then redraw the FP after this has been done. However when I do this the graphs do not autoscale properly. I've attached two vi's as an example. Run the Main vi, if the Defer Panel Updates boolean is false then everything works fine, if it is true then the graph does not autoscale.
I have found a previous post that mentions something similar (here). Has this been fixed or is there a work around.
I'm using LV 8.5
Thanks
David
Attachments:
Main3.vi ‏22 KB
Sub1.vi ‏14 KB

Hi Matthew,
Thanks for your reply, it fixed the problem. However it has thrown up a different but related issue.
In my application the user can select how many graphs to display and I
programmatically calculate the size and position of each graph. If any
of the graphs overlap, even slightly, and defer panel updates is on
then only the topmost graph autoscales correctly, the others don't at
all, although the data they display gets updated. Turning autoscale off
and on again for a particular graph rescales that graph, presumably
because it has been forced to.
I have attached a test case with 4 graphs. The size and position of the
graphs are set by the 'Offsets' cluster. Click 'Rearrange' to get it to
recalcute the positions. If you change the Vertical Gap or Horizontal
Gap values to 0 or negative then the graphs will overlap. With Defer
Panel Updates off there is no problem. With it on only the topmost
graph updates properly.
My current workaround is to ensure the graphs don't overlap, but I'm guessing they shouldn't be doing this anyway.
David
Attachments:
PositionsCalculator.vi ‏19 KB
Main21.vi ‏50 KB
Plot.vi ‏22 KB

Similar Messages

  • Cascading LOV does not work when setting the value of the parent LOV with DA

    Hello All,
    Using APEX 4.2.2.
    I have tow LOVs
    Parent LOV item is: P50_TYPE
    Child LOV item is :  P50_PROJECT_ID
    In other words in the attributes of the item P50_PROJECT_ID we have :
    > Cascading LOV Parent Item(s): P50_TYPE
    > Page Items to Submit: P50_TYPE
    > List of values definition: something similar to:
    Select * from mytable where type = :P50_TYPE
    I use DA that execute JS code to set the value of the P50_TYPE item
    something similar to:
    > $('#P50_TYPE').val(2);
    Having done this, the P50_PROJECT_ID item does not get refreshed, when the value of P50_TYPE is changed. Namely, P50_PROJECT_ID remains empty, unless end user manually changes the value of P50_TYPE.
    Any help please ?
    Regards,

    Thanks Scott,
    By the way, I remember reading a thread posted by you about  Sumneva Drag & Drop Report Region plugin that was answered by Tom . But, I cannot find this plugin anywhere. Does not it supported in APEX 4.2 ? Is there any alternative out there ?
    If you use it, and it works find with you, can you please send it to me on [email protected] ?
    Regards,
    Fateh

  • PIE Graph does not return when values = 0

    I use this code to create a PIE Chart
    select null LINK
    ,'E0' LABEL
    ,(select count(*)
    from parts
    where om_geometry like 'E0'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid) VALUE
    from parts where childid = :P1_SELECTED_NODE
    union
    select null LINK
    ,'E1' LABEL
    ,(select count(*)
    from parts
    where om_geometry like 'E1'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid) VALUE
    from parts where childid = :P1_SELECTED_NODE
    union
    select null LINK
    ,'E2' LABEL
    ,(select count(*)
    from parts
    where om_geometry like 'E2'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid) VALUE
    from parts where childid = :P1_SELECTED_NODE
    union
    select null LINK
    ,'E3' LABEL
    ,(select count(*)
    from parts
    where om_geometry like 'E3'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid) VALUE
    from parts where childid = :P1_SELECTED_NODE
    union
    select null LINK
    ,'E4' LABEL
    ,(select count(*)
    from parts
    where om_geometry like 'E4'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid) VALUE
    from parts where childid = :P1_SELECTED_NODE
    It works beautifully, except when each of the values returned equate to zero.
    When this is the case the svg chart is not returned. Any ideas?

    That will come in handy. I have some line graphs to do as well. I am using version 2.2 so i don't think they fixed it. However, i have some good news i have found a work around to my problem. With my set of data i am always going to be bringing back at max 5 values for the data, so i created an item type for each one and set a value in a temporary table. e.g.
    declare
    l_id number;
    begin
    delete from graph_temp where name like 'E0' and graph_name like 'P1_GEOM';
    select count(*) into l_id
    from parts
    where om_geometry like 'E0'
    start with childid = :P1_SELECTED_NODE
    connect by prior childid = parentid;
    if l_id > 0 then
    insert into graph_temp (name,value, graph_name) values ('E0',l_id,'P1_GEOM');
    end if;
    return l_id;
    end;
    As you can see the table only gets populated when the value is greater than zero. My graph then becomes a simple select from the graph_temp table. The only change i now need to make is to have a session id column in the graph_temp table so i only remove the correct session info each time.

  • I am not able to access my Ipad as it says that icloud has not been backed up and it does not accept when i click ok

    i am not able access my ipad as it says that the icloud has not been backed up. it also does not accept when i click ok.

    Try a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    When it's rebooted you can force a backup via Settings > iCloud

  • The remote does not work, when i turn the tv on I see the apple tv and the itune icon on the screen

    the remote on apple tv does not work,when i turn on the tv Isee the appletv and the itune icon on the screen.

    Did you do a software update?
    AppleTV is unable to start properly.  You need to connect to a computer running iTunes as detailed here:
    Apple TV (2nd and 3rd generation): Restoring your Apple TV

  • Lots of programs does not respond, when opened

    Lots of programs does not respond, when they are opened, Apple store, Mail, Photo Booth and VideoConverterPro and some moor.
    To close, I have to click on finder first. What to do ?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have a clip with synchronized audio. When I trim a section of video it does not trim the audio. How do I trim both video and audio so that the clip remains in sync?

    Why is FCPX not allow me to cut both video and audio tracks at the same time?
    My separate synchronized audio does not trim when I trim the video. They are connected and synchronized.

    fulei wrote:
    The audio track does not edit along with the video. They go out of sync
    Sounds like a different problem than your trim problem in the first post. If your problem is they drift out of sync, we'd need to knoow more about the project and clip properties – including how the audio file you're syncing to was created.
    Russ

  • :system.cursor_block value does not change when mouse click

    Form created with Forms version 6.0.8.8.0. Consists of a control block that has the toolbar buttons, a filter control block that contains item, and a data block. The filter control block and data block are on a tabbed canvas. There are 3 tabs with corresponding filter control block and data block on each.After the data block is queried, code sets the navigation to the control block with the go_item built-in. The user would use a mouse click on the filter control block on one of the tabs to activate an LOV, code is in a generic when-mouse-click trigger that will determine the item focus with the value in the system variable :system.cursor_block. Works for the first tab. Does not work for 2nd or 3rd tab. On-error trigger does not capture any error. Values for :system.cursor_block for tab 1 show that value before mouse click is 'control.detail' and after mouse click is 'filter.a'. For tabs 2 and 3 the value before mouse lick is 'control.detail' and after mouse click is 'control.detail' instead of 'fiter.b' or 'filter.c'. Verified that the 3 filter blocks are identical. Can anyone shed some light on this anomoly? I have been looking for this solution (many different iterations and changes to trap it) for too long.

    :System.Cursor_Block reports the name of a block, NOT a BlockName.ItemName.
    Use :System.Trigger_Item with your mouse click, or :System.Cursor_Item.

  • Detail region does not refresh when selecting from a drop-down list in master region

    I am using DW CS3 and have updated to version 1.6.1 of Spry.  Using an XML dataset, I am able to create a Spry table as the master region that links to a detail region that displays a small JPG graphic.  It works fine in this format (clicking on a row displays the correct graphic).  However, my table has 80 rows and requires the user to do too much scrolling. So I changed the master region to a drop-down repeat list, but the graphic does not change when a new selection is made in the drop down list.  Listed below is the code produced when I used the insert Spry Repeat List.  I got the same results when adding a spry:setrow="dsChartNurse".  I also tried -- onclick="dsChartNurse.setCurrentRow('{ds_RowID}');" -- which again made no difference.
    When I removed children from the spry:repeat, the master region displayed as a two column list of all 80 items in a drop-down list format.
    <div spry:region="dsChartNurse">
           <select name="select" spry:repeatchildren="dsChartNurse">
             <option value="{name}">{name}</option>
           </select>
    </div>
    <div id="image" spry:detailregion="dsChartNurse">
       <img src="{dataimage}" align="center" style="margin:50px 0 0 0"width="320" height="164" />
    </div>
    Thanks so much to anyone who can help correct my code in order to have a drop-down list display information correctly in the detail region.

    Thanks for the quick reply.  I did solve the problem I was having by changing from onclick to onchange in the master region.  But, now I have another problem with, of course, IE.  I just put in online at http://www.minursemap.org/ageDistNurse.html.  When opened in IE, the drop down list displays the last entry, but the image is for the first in the list.  Thanks again for your help.

  • IviDCPwr Configue OVP.vi does not work when enabled is set to true.

    There is an IviDCPwr [MSR] - Output DC Volts.vi example in Labview 2009. There is IviDCPw Configure OVP.vi which is used for enabling or disabling the OVP limit feature. I have tested this VI with E3631A this power supply does not support OVP enable so this parameter is set to false and the VI works fine. 
    When testing with N5749A, this parameter needs to be true since this power supply does not support OVP disable. There is an error being generated with this VI. If I remove this VI , the default limit value is 100 and the VI is working fine and setting the current and voltage without any issue.
    Could anyone let me know if they have faced any similar problem and how it can be solved.
    Best Regards
    Anshul 

    Hello Anshul,
           Can you please post more information about the error that is being generated?  Also, please see if the problem appears when the N5749A IVI Specific driver is in simulation mode.
    Cheers,
    NathanT

  • Finder does not open when a file passes over (mac os X 10.8.3)

    Just installed mac os 10.8.3 mountain lion. As such, it seems with this OS X version the "finder" does not open when a file passes over (in order to move it from desktop).
    The screen dims a little and nothing else happens.
    How can I recover the "finder" functionality that apparently doesn not exist anymore?
    Is it something wrong that I am doing?
    Regards
    José

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    I am experiencing problem (the installation does not start) when I try to install ArchiCAD 17 Educational on my mac. I am using Yosemite. How can I fix it?

    You need to contact the developer/manufacturer directly to determine if their product is compatible w/Yosemite.  It is not listed on their system requirement website:
    Mac OS X 10.9 Mavericks
    Mac OS X 10.8 Mountain Lion
    Mac OS X 10.7 Lion
    Mac OS X 10.6 Snow Leopard*
    Note: ArchiCAD 17 is the last version of ArchiCAD to support Mac OS X 10.6
    Only case insensitive file-system volumes are supported.
    http://www.graphisoft.com/support/system_requirements/archicad17.html

  • I get this error when I go to imovie, I have instalerat on via appstore, but it does not work. The QuickTime components necessary to view, edit, import and export various types of films are not installed. The components included in the iMovie installer. R

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

  • Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work.

    Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work neither when chosen after pressing the button nor chosen in the apple menu..

    I have had the same problem but on another forum it was suggested that disabling internet sharing would solve this. This fix seems to work on my machine - why it works I do not understand

  • My hp deskjet 1510 series does not print when connected to my hplap top (windows Vista),

    My hp deskjet 1510 series does not print when connected to my hp lap top (windows Vista), it says the printer is not active, although it is default printer, connected and on. However, it does work when connected to the (also HP) lap top (windows 8) of my husband.  I did everything the hp print and scan doctor advised and also what I could find at HP support (like switch of fire walls, reinstall everything, check printpooler ec etc)... it still does nothing except that I managed to print a diagnostic print which should give information about the condition,  but it only gives numbers and letters like : 11. SN = [Edited for Personal Information] Yr  12 PER = 05YR etc, that does not really help me :-). It won't print any testpages.  H E L P!!!

    Hello Elisabeeth,
    Welcome to the HP Forums!
    I understand you're unable to print using the Deskjet 1510. I will do my best to assist you! When you reinstall the HP software, did the installation state it was complete?
    I would start off by following this HP document on 'Printer is offline' Message Displays on the Computer and the Printer Will Not Print. From this document, please make sure you check the connection type and the ports.
    Please post your results, as I will be looking forward to hearing from you.
    I worked on behalf of HP.

Maybe you are looking for

  • Unable to download the latest version of itunes (11.1) for windows 7

    I have tried to sync some recently downloaded songs to my phone. However when I plug in my phone it pops up that it is unable to recognise the phone because I don't have the latest version of iTunes (11.1), I think this is linked to the fact that I h

  • Cannot save PO

    Hi All, I have entered all the required header and item details values while creating a PO (any type) in ME21N. And now when i press either the Check icon or Save icon, Organization data and Vedor fields in the header part is getting disappered and i

  • Problem when using gui in alv

    hi, i,y requirement is to place a new button in ALV applicaton toolbar. for that i have copied a standard pf status and trying to change it but nothing display when i exe. program using that status. even the standard layout dissappears. is there any

  • Advantages of VISA over GPIB

    i want to know advantages of VISA over GPIB in labview when we connect our pc with a device which has GPIB interface what could be reason behind using VISA programming  i want atleast 5 advantages of visa over GPIB . Solved! Go to Solution.

  • Issue with Adobe Viewer.

    I am a Coldfusion developer. I have an application that takes some coldfusion variables and populates a pdf form that was created in LiveCycle. In the past this worked fine. Today someone told me of an issue they are having. Now when the view this pd