Zooming out stepwise in graph

When zooming in a Labview graph control several times I would like to unzoom in the same steps I zoomed in, eg if I zoom-in in 3 steps I want to zoom out in 3 steps.The built-in unzoom only zooms out to maximum scale, so I guess this has to be done programatically. Has anybody tried this and can provide me with an example in LV 7.1?

Check out the attached.  'Begin time' and 'End time' are user controls; the user can zoom
with either the normal graph control or by manually entering times into the tstamp controls.
'Undo zoom' works back through the queue.
Hope this helps.
Matt
Attachments:
zoom-images.zip ‏35 KB
zoom_queue.vi ‏53 KB

Similar Messages

  • Slow Zoom In/Out in XY Graph

    I am experiencing very slow zoom in/zoom out in XY Graph.  Each action takes roughly 5 seconds.  Is this normal?
    The anti-aliased is not On.  I am not using dash lines.
    Can someone shed some light here?

    As an approxmation use the number of points plotted equal to the number of pixels in the width of the plot area (for a line plot). If you feed the graph more points than it has pixels to display them, the code internal to the graph has to manipulate that data to determine where to place each pixel. When you drop a new XY graph on the front panel it has 250x250 pixels. When I stretched one to fill my screen I had 1580x862. So X-axis arrays larger than a few hundred to about two thousand elements will result in some data manipulation by the graph.
    Lynn

  • Zoom in or out of the graph while VI is running

    Hi All,
    Currently I have a popup subVI that contains multiple plots of collected data for the user to view.  When the user clicks the "Stop" button on the subVI, this subVI will close.  So I have the plotting section of the program in a while loop.  I believe this is the reason why I was not able to use the graph palette to zoom in and zoom out right?  Should I just leave he plotting section out of the while loop then?
    Thank you,
    Lynniz
    Solved!
    Go to Solution.

    Place the property node inside a case structure and enable it when the iteration terminal is "1". (not zero!)
    And please place a small wait inside your loop, there is no reason it should spin that fast. (Since the data never changes in your example, the entire graph terminal and inner loops belong outside the main while loop. However, I assume that your real application is different )
    NOTE: you could also use the "first run?" primitive or enable it when [i]=0, but in this case you would need a small sequence structure to ensure it happens after ther graph terminal is written for the first time.
    Also note that xy graphs take complex data, simplifying the wiring and data structures.
    LabVIEW Champion . Do more with less code and in less time .

  • Zooming out in example "Simple Graph" does not work.

    In Measurement Studio, VC++, the feature "Zooming out" does not work. I only can zoom in a graph by drawing a rectangle with the left mouse button.

    There isn't a built in "zoom out" functionality with the graph. There are several zoom modes of the graph, but if you want to zoom out, say with a right click or a key press, you would have to implement it yourself as it is not built-in.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Mkmapview on zoom in or zoom out consumes lot of memory

    Hello,
    In my application i am using mkmapview as the main view and showing images (around 75 images) on the map by annotation.
    on zoom in or zoom out mapview consumes lot of memory and after some time it recives memory warning then application gets crash.
    any suggestion for that.
    Thank u in advance.

    Place the property node inside a case structure and enable it when the iteration terminal is "1". (not zero!)
    And please place a small wait inside your loop, there is no reason it should spin that fast. (Since the data never changes in your example, the entire graph terminal and inner loops belong outside the main while loop. However, I assume that your real application is different )
    NOTE: you could also use the "first run?" primitive or enable it when [i]=0, but in this case you would need a small sequence structure to ensure it happens after ther graph terminal is written for the first time.
    Also note that xy graphs take complex data, simplifying the wiring and data structures.
    LabVIEW Champion . Do more with less code and in less time .

  • Cannot zoom out after zooming in.

    I have a program that uses multiple graphs to display data. I can zoom in fine, and all other functions of the palette work fine. Selecting the zoom out does nothing. If I uncheck autoscale and check it again, it zooms out.
    Attachments:
    Read_CSV_Files.llb ‏546 KB
    CSV_Test_data_1.csv ‏8 KB

    Hello,
    I am able to zoom in and out freely in the program that you have attached using LabVIEW 7.1. It sounds like you may have a corrupt instance of LabVIEW on your machine.
    To verify, you may want to try the zoom feature on an example VI that ships with LabVIEW. I chose "XYGraph.vi". Also, if you have the means, you can try to run this VI on another machine to see if it exhibits the same behavior.
    At that point, if it does look like a corrupt instance of LabVIEW on your machine, I would suggest uninstalling and reinstalling LabVIEW. That should repair any corrupt elements.
    I hope that this helps.
    Regards,
    P.J.
    National Instruments

  • Set scale values when zoom out

    Hi!
    I have a XY Graph and I want it to have three different scale ranges depending on a case structure. So, for example, if it's case 1, I have the xy graph X.minimum = 1,234 and xy graph X.maximum = 10,789 and so on.
    I want to be able to zoom the graph but then when I zoom out to see all the points, I want it to have the same range I defined. I have the autoscale turned off and when I do the zoom out, it shows me different minumum and maximum values....
    Any help?

    Hello Zephirus,
    When you ask a zoom out, write the scale value that you define, using a property node. To get it, right click on the XY graphe terminal, in the diagram, then select Create >> Property node >> X (or Y) Scale >> Range then All elements, or just the elements you need to coerce.
    Let me know you progression,
    Message Edité par Mathieu R. le 11-14-2006 02:52 PM
    .mrLeft{float:left} .mrInfo{border-left:solid 1px #989898;font-size:x-small;color:#989898}
    Mathieu R.  
      CTD - Certified TestStand Developer / Développeur TestStand Certifié  
      CLAD - Certified LabVIEW Associate Developer  
    Attachments:
    PropScaleXY.JPG ‏7 KB

  • Moving cursor to Zoomed Position in waveform graph

    Hello
    I have 2 cursors in my waveform graph and I would like to have the cursors move to the zoomed in position of the graph when I zoom in or out of the graph. Could some please tell me how to do it. Thankyou in advance
    Regards
    Pratheek
    Solved!
    Go to Solution.
    Attachments:
    Failure Device.vi ‏89 KB

    HI Mike
    Thanks for the reply. When I apply the logic to reposition the cursor in the scale range event only one cursor is moving to the zoomed in position. The other cursor remains out of  graph scale. I tried to repeat the same logc but it didn't work.  Could you please tell me how to get the 2nd cursor also in to the scale range. Sorry i'm fairly new to labview. I have attached the pic of what I tried.  Thankyou in advance
    Regards
    Pratheek
    Attachments:
    Capture.PNG ‏18 KB

  • Adding zoom facility in bar graph

    Hello,
    I want to add zoom in my bar graph so that i can "zoom in" and "zoom out" my graph. This zoom facility is provided in "Jfreecharts". I want to use it in Oracle graphs. I have seen attributes of "zoomFactor" and "zoomDirection" in Graph.dtd but i don't able to use them in graph.xml.
    can anybody help me in this matter.
    Thanks in advance
    Waseem

    Use the insert a Shape tool.
    Yvan KOENIG (from FRANCE lundi 8 juin 2009 12:19:55)

  • Photoshop CC distorted image when zoomed out. Text, edges and Straight lines.

    I get this distorted image when working on a file. When I zoom in its fine. But as soon as I zoom out all the lines, text , and edges start to become distorted. I've checked that all my drivers are up to date. I've re installed photoshop and still the same thing. Any Suggestions. ( files look fine when saved or exported, this just happens while Im working )

    That looks like a Moiré pattern.  Did you scan the image?
    If not, can you tell us what operating system?
    And is your video card driver fully up to date from the maker's website?

  • I plugged my macbook pro into an external monitor, then unplugged it later and now it is stuck with black borders on top and bottom and zoomed out like it is still on the monitor. How do I fix it?

    I started using my external monitor with my macbook pro and as soon as I plug it in it to the monitor it adjusts the screen by zooming out a bit and creating about 3/4 of an inch black borders on the top and bottom of the screen. But these dont show up on the monitor so I assumed it was fine. But when I took it off the monitor, the borders were still there like it was still on the monitor. Any hellp? Its starting to mess with my eyes haha.

    Hi aefulcher,
    It sounds like you had the external display set to mirror the internal display so the resolution(s) were changed to match each other.
    OS X: How to use multiple displays with your Mac in Mountain Lion and earlier
    http://support.apple.com/kb/ht5019
    Check if the current resolution matches your screen's natiive resolution.
    Thank you for visiting Apple Support Communities.
    Nubz

  • Firefox box around zoomed out images issue w/ (xf86-video-intel)

    When I zoomout on a page firefox displays a insetted box around my images.
    Most notably in my webmail client, however it happens even on the forums if I zoomout.
    Regualar zoom: http://world.pyther.net/files/Firefox/regular_zoom.png (The way it should look)
    Zoomed Out: http://world.pyther.net/files/Firefox/zoom_out.png (Inset boxes around images)
    This happens with both the offical arch build of firefox and the spookyet build. I have no idea how to fix this, it is very annoying!
    Any help would be great!
    EDIT:
    After doing some more research I have narrowed this down to being an issue with xf86-video-intel. The problem does not happen if I use the xf86-video-vesa driver. I have filed a bug report at https://bugzilla.mozilla.org/show_bug.cgi?id=468366
    Last edited by pyther (2008-12-07 21:37:12)

    Bug reported, anyone thing I need to add anything else?
    https://bugzilla.mozilla.org/show_bug.cgi?id=414928

  • When on the internet, how can I zoom out with out cuting off part of games and stuff?

    When I go to Mozilla Firefox, I can't see everything on the screen because it is zoomed in to much. When I go to view and zoom out, it zooms out but when I go to armorgames, part of the games I play are cut off so I can't see everything on the game. Plus, it just zooms back in when I leave Firefox and get back on. It wasn't always like that though. I want to know if I can set the default view to normal so I can see everything on the screen without having to scroll left and right, or having part of games cut off.

    Hi lilmikrymike15, <br>
    If you use View > Zoom > Reset, does the zoom level reset to the expected size?
    To set your default zoom level you usually need an add-on. Have you tried installing one named Default FullZoom Level or another named NoSquint? <br>
    Tools > Add-ons > Extensions category
    <br>
    You can also try disabling Firefox's use of hardware accelerated graphics. In order for this to take effect you usually need to restart Firefox. <br>
    Go to Firefox > Preferences > Advanced > General and uncheck the box for "Use hardware acceleration when available"
    If you restart Firefox, is the clarity improved?
    <br>
    Hope i have helped!

  • Using scroll wheel with modifier key to zoom out is not working

    I can't zoom out with the magnifying tool selected in all programs of the CS3 suite using the option key on a Mac. I can zoom in with no problem. I've been trying to figure this out for "8 hours" now!!!
    I do have this checked in the system preferences and Photoshop preferences. I don't think this is considered a keyboard shortcut but I do have universal access checked and zoom out checked in the system preferences.
    I searched this site and all of the internet looking for answers but can't seem to find much. I appreciate any help you can give. I'm way behind on my work today.
    Thank you!

    The default key for scrolling zoom is not Command but Control. To change this, go to System Preferences —> Universal Access and click on the Seeing tab. In the Zoom pane, click on the Options button, and in the sheet that drops down, select the text box at the bottom, highlight the character there, then press the modifier key you prefer.
    HTH
    Archie

  • How to set the zoom out or in for all pages permanently?

    I wish to set my page size one size smaller than the default.
    The result of ctr - (zoom out) is exactly what I want (it decreases the size of text AND images). However this effect only lasts for the page I am currently on, as soon as I navigate to a different page (or just refresh the page I am at), it reverts back to the default size.
    I looked at Tools->Options->Content, however that deals only with text size (besides it looks only certain pages are affected by this setting anyway).
    In other words, how (or where) do I set my browser to automatically decrease size or 'Zoom Out' for all the pages I visit in order not to set it manually for every page every time.
    Regards
    PS.
    If this setting can be applied for individual users (I have a multi user PC) that would be even better, although I would be very grateful if I could just set it.
    PPS.
    Additional information. I just discovered it seems to be working now in normal browsing but not in private browsing, my apologies for the omission.

    Default FullZoom Level extension:
    https://addons.mozilla.org/en-US/firefox/addon/6965

Maybe you are looking for