Update graph realtime

Hello,
In the attached VI in labview 8.5, I wanted to display two plots on the same graph in real-time.  That is, for every iteration in the "for loop", the graph updates.  I am only able to do this with one of the plots (y1) but would like both sets of y-data to show up on the graph (i.e both y1 and y2).  Is there a way to do this real-time?
Thanks,
hiNi
Solved!
Go to Solution.
Attachments:
update graph.vi ‏42 KB

This is possible to do with a XY-graph. The data the XY-graph accepts for plotting mutiple graphs are an array of clusters. The cluster consists of two arrays containing the x and the y values. I included the vi with the solution for you.
I hope this solves your problem.
Best regards. 
Attachments:
update graph.vi ‏49 KB

Similar Messages

  • Error while updating graph

    Hi all,
    I get the error message below halfway through the process when I am trying to run an add/update graph for my data store. The error log doesn't specify which record causes the error to arise. Anyone have any idea on how to solve the issue?
    ERROR [Consumer-0] - Failed with the following IngestFault:
         Body of request was empty, or contained invalid XML. This webservice requires a post request, with a body containing a valid soap request
    Thanks!

    Hi,
    I suspect that a data aberration is causing this issue. I would suggest enabling debugging on the edge connection leading into the input port of your Add/Replace writer. That way, the next time this failure occurs, you can view the debugging output on that edge and inspect the data for abnormalities. Sometimes I even go so far as to copy and paste the data from the debug viewer into a text editor to inspect it further. You might also try writing to a file temporarily instead of the to the add/replace writer to inspect the data that way.
    HTH,
    Dan
    http://branchbird.com

  • Continuously Updating Graph Help

    Relatively new too labview. What I am looking to do is relatively simple. I have an accelerometer that I would like to aquire data from. I want to Log 5 seconds of data at 100hz. When I use a waveform graph it does not update until the entier loops have finished. I can get a live updating graph if i use a waveform chart, but the time scale is set to system time (HH:MMS). I simply want it to start at 0 seconds and go to 5 seconds. The data does not need to be logged on the graph as I will simply be outputting to a file.
    Is there a way to get a continuously updating graph using a waveform graph or is there a way to set up a waveform chart with a time scale that starts at 0 and goes until a defined value (5 seconds) 

    You must use a waveform chart. Not a graph. Goto help in the toolbar, then select Find Examples. Search for chart. 
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Report for updates Graph

    I'm opening a OGD ( Oracle graphics ) in the form and passing record group to it which updates the graph. Now I want to have report with this updated graph as part of it. The chart item on reports does not show the updated graph but shows the one saved when created in graphics builder. How to get the refreshed graph on report. I want to take print of the graph without using RUN_PRODUCT for graphics.
    PL. Help..
    Thanx
    Regards
    Alankar
    null

    In ConfigMgr 2012, you should be looking at the Software Update group and run the reports based on them.
    <b>Kent Agerlund | My blogs: <a href="http://blog.coretech.dk/kea">blog.coretech.dk/kea</a> and <a href="http://scug.dk/">SCUG.dk/</a> | Twitter: <a href="https://twitter.com/#!/Agerlund">
    @Agerlund</a> | Linkedin: <a href="http://www.linkedin.com/in/kentagerlund">Kent Agerlund</a></b> | <a href="http://www.amazon.com/System-Center-Configuration-Manager-ebook/dp/B008ZSD8QM/ref=sr_1_4?s=digital-text&ie=UTF8&qid=1345615754&sr=1-4&keywords=system&#43;center&#43;configuration&#43;manager&#43;2012">
    Mastering ConfigMgr 2012 The Fundamentals </a>

  • Need help for two thing:: JFace/SWT and Drawing an updating graph! plz help

    Hey all,
    This is my first post on this forum and I was wondering if you guys can help me with two problems that im currently having and I would be really grateful.
    1. When ever i try to use the SWT/JFace tools and run it as a java app. I get this error:
    java.lang.NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
    Exception in thread "main"
    any suggestions??
    2. Now this is my main question:: How should I go about programming a graph that updates based on numbers in an array? Basically set of numbers in an array ( unsorted ), and as it is getting sorted I want a graph displaying how it is getting sorted. The graph is just a basic XY chart.
    Thank you.

        @n2medallas,
    Let's get your phone working right!
    You mentioned your getting a message that the phone is rooted. Where are you seeing this message? What is the current bilud and software version on your phone? Have you taken the phone into a VZW store to check the message you are seeing?
    JohnB_VZW
    Follow us on Twitter @VZWSupport

  • Updating graphs between two VIs

    I have a VI (event-structure based) that generates and displays waveform chart. Due to lack of space on the main VI, I want the graph to be displayed onto another VI. Could anyone please help me with an example, how to implement this? 
    My attempt doesnot update the graph using sub-VI.
    Thanks
    Rajeev
    RY
    Solved!
    Go to Solution.

    A simple example is attached along this email. The subVI is invoked from the MainVI which attempts to zoom the graph, but it does not continuously update the graph data as in MainVI. Thanks 
    RY
    Attachments:
    MainVIGraph.vi ‏51 KB
    SubVIGraph.vi ‏12 KB

  • Update -Graph and Pivot Table model.DataControls.dcx of type null not found

    Now Solved.
    I upgraded to the new Jdeveloper release and the Preview works.
    Update
    I created a new application and the graphs work ok.
    Now, why in my current project won't the graphs work???
    Chuck
    This just occured today 6/22/09.
    When ever I preview a graph or pivot table i receive this message:
    oracle.jbo.NoDefException: JBO-25002: Definition model.DataControls.dcx of type null not found
    I drop the query on a form as a table and it works fine.
    I have used Graphs before, and ahve never recieved this error.
    I just remenbered, I was using the previous release of Jdeveloper when I built the graphs.
    Probably nothing !!
    In the developers manual this message is mentioned:
    +29.3 Correcting Simple Oracle ADF Runtime Errors+
    Failures of the Oracle ADF Model layer cannot be detected by the JDeveloper
    compiler, in part because the page’s data-display and method-execution behavior
    relies on the declarative Oracle ADF page definition files. The Oracle ADF Model layer
    utilizes those declarative files at runtime to create the objects of the Oracle ADF
    binding container.
    To go beyond simple schema validation, you will want to routinely run and test your
    web pages to ensure that none of the following conditions exists:
    +■ The project dependency between the data model project and the user interface+
    project is disabled.
    By default, the dependency between projects is enabled whenever you create a
    web page that accesses a data control in the data model project. However, if the
    dependency is disabled and remains disabled when you attempt to run the
    application, an internal servlet error will be generated at runtime:
    oracle.jbo.NoDefException: JBO-25002: Definition
    model.DataControls.dcx of type null not found
    To correct the error, double-click the user interface project, and select the
    Dependencies node in the dialog. Make sure that the ModelProjectName.jpr
    option appears selected in the panel.
    I checked and the model.jpr is there.
    I re-installed jdeveloper but the same error occurs.
    I have no idea on how to proceed.
    Chuck
    Edited by: user634580 on Jun 24, 2009 11:59 AM
    Edited by: user634580 on Jun 24, 2009 12:02 PM
    Edited by: user634580 on Jul 4, 2009 8:23 AM

    Well, Shay
    I search my entire C drive for datacontrol.dcx and *.dcx and no files found.
    I am usiing ADF.
    The new application that I created that works in preview does not have this file.
    I unstalled jdeveloper, downloaded a new copy, deleted Oracle directory, installed jdeveloper and results are the same.
    Is the datacontrol.dcx file the same as the "datacontrol in the Data Controls Folder "?
    The datacontrol is present the Data Controls Folder (model.jpr model.appmodule)
    There are 3 messages in the log pertaining to DVT listed below.
    **WARNING: A duplicate definition for the feature "AdfDvtGraph" has been found at*** zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 3. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfDvtGauge" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 7. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    Jun 26, 2009 7:53:29 AM oracle.adfinternal.view.faces.partition.FeatureUtils _addFeatures
    WARNING: A duplicate definition for the feature "AdfRichPivotTable" has been found at zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.52.05/DefaultDomain/servers/DefaultServer/tmp/_WL_user/NBCV3/1k9n8d/war/WEB-INF/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. A feature with the same name was originally defined at zip:C:/Oracle/Middleware/jdeveloper/dvt/lib/dvt-faces.jar!/META-INF/adf-js-features.xml, line 11. This may indicate that multiple copies of the same jar file are present on the class path. Ignoring the new feature definition.
    A

  • [FEATREQ] New 'Live Updating' option: realtime, every x hours, every day...

    Hey all,
    I just posted this as feedback to Apple, but I would like to hear your opinions on this as well.
    The problem is that my iTunes and computer are stuttering at the beginning of every song, because all my smart playlists have to be updated with the new information that the previous song has been played. This causes iTunes to freeze up for about 20 to 25 seconds at the start of every new song, despite having quite a fast computer with plenty of RAM.
    The culprit of course is that I have a large library (13k songs), as well as dozens of smart playlists depending on each other. However, the question is whether I should be punished for this? After all, you want to fill up that 80GB iPod, no? Anyways, I'm suggesting an extra option that would get rid of these issues no matter how big your library is or how many smart playlists you've got.
    The feature I'm suggesting that would get rid of this issue is the following: instead of updating all smart playlists 'realtime', give the user the option of doing this live updating real time, every x hours, every day or only at startup. You could give the user this option either for every playlist independently, or globally in the settings for iTunes. With this extra option, I would configure iTunes to update my playlists every 4 hours or something like that, and I would get the stuttering only every 4 hours instead of every 4 minutes, as it's right now.
    Are there any other people who would like this option?
    What do you think? Useful? Rubbish?
    Sincerely,
    Tijl Kindt

    Are you sure that this is the problem? I have a 300 gig library with numerous interdependent smart playlists. I also mostly play iTunes over Airtunes. I don't have this problem. I do see some slowness in launching iTunes as a result of the smart playlists but once it's open, I don't have a problem. I'm guessing you turned live updating off on all the playlists to see if that solved the problem as I don't know how else you would have come to this conclusion.
    The only short term fix I can see is to turn off live updating on at least some of the playlists and then turn it back on periodically.

  • Images still not updated -- graphs dont show!

    Hi,
    APEX was upgraded to 3.2.1 (from 3.0.X) and the image folder was with it. By updating the image folder many graphs didn't work because they've been built with the Integration kit syntax. I did most the steps here: http://anychart.apex-evangelists.com/pls/apex/f?p=755:17:0::NO:::
    Now I did the second steps although the HTTP server is on a separate server to the database...looking at APEX the images havent updated...they're still using the old files which were removed in the "Create Graph" window and graphs made already don't display (bad syntax). Ideas?
    Mike

    updated with an older version of the standard charts :/

  • Update graph inside (void)drawRect:

    Hi, I have a UIView with a (void)drawRect:
    I want to update dynamically the graph I draw with this procedure, but I works only the first time it is launched. How can update the drawRect everytime it is shown? (as if it were a ViewDidLoad)
    Thanks in advance.

    Hi, send a setNeedsDisplay to the view to force a redraw.

  • Updating graph with new data

    I have a problem updating my graphs with new data in Illustrator. When I update them with new data each month the y and x-axis tend to change font and size.
    What can be the problem? Please help me!

    Hi Rajasekar
    You can purchase the enterprise toolkit fron NI, it includes a "database connectivity toolkit".
    As regards the design pattern to do you you describe, it will depends on the refresh rate you need and the rate at which you want to write your data to the database.
    I would have 2 loops :
     - one acquiring the data and putting it in a queue,
     - and a second that get the data from the queue, logging data to database and refreshing the graph.
    If the write time to database is too long and slows down the graph refresh you place it in another loop.
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Update graph in background tab

    I hvae a three page tab set up each with a different graph running on it so that I can save some screen space and tab through the graphs at will. My question is how can i make sure that the two graphs not being displayed still graph their data? When I click between the tabs it starts back at 0 and then writes from there. How can I make sure that it displays the same timespan of data as it's counterpart? They are really just displaying the same thing but calculated differently.
    Solved!
    Go to Solution.

    The best thing you can do is lose the tab control -- you don't need it and LV has a long history of tab controls and graphs not playing well together.
    Consider, you have three datasets but only see one graph at a time. Have one graph and provide some way for the user to select which of the three datasets to display on that one graph. Trust me, the code will be simpler and much more robust.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Stock app (builtin) - no way to update graphs (they show old data)

    Even if I exit and enter again form the app, switch graph View (from 1day to 1month) some graphs always shows OLD data (even a month or so).. even if it seems it download data from the network..
    It doesn't happens with ALL the stock quotes.. and it doesn't happen with the %, Price or Capit... it only happens with the graphs..
    Tried also to reset the iPhone.. problem still there..
    Any idea? Any way to "clear cache"/"force reload data" for graphs??
    Thanks

    There isn't a way,  I suppose Apple have never considered users might use it the way you are. Or more likely they don't think you should.

  • Updating xy graph with the last point different

    I want to display a simulation of the path of a rolling ball as updating xy graph.
    The actual last point of the plot should be different from the older points, I imagine e.g.a thick circle.
    The coordinates of the points I hold in two arrays, so I need a xy graph,
    when I used xy chart buffer to get un updating graph all points of the
    plot are displayed in the same way, stars, circles and so on.
    I

    Ok, so the solution is coming from what you've just said. One plot for the old positions I assume you want to display a certain number of points... e.g. the last 10positions and one plot for the current ball position.
    Tell me if this is ok...
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    ball.vi ‏50 KB

  • Continual graph points updates xy graph

    Hi i was wondering if there was a setting on xy plots so that it would plot all previous points, given a changing value of x and y.
    Sort of like the wave form updates graph, but so that i can use both axises for values, and the x axis doesn't become the ongoing count?
    It may be blatantly simple, but i'm trying to create a graph that will trace a path out with a changing x-y values, but keep a tail behind it of where it has been right back to the first point.
    I also thought it might be possible to store the data in an array and feed an ever enlarging array into the graph but that seems to have out witted me, and i was wondering if there was a simpler method?
    please help!!!

    Found a method that is rather simple.
    If you are generating the points from a changing singular numerical value then by feeding these into an array with cocatulate inputs on, then the values will simply build into two 1d arrays, updating with each new point,
    a picture is attached if anyone has a similar problem.
    - i knew i knew how to do this, it just didn't work the first 3 times.
    John P.
    Attachments:
    solution.JPG ‏25 KB

Maybe you are looking for

  • Trying to sign up with BT - Failing miserably, ple...

    Hi all, I live in a houseshare and the housemate that had the BT contract, left today and cancelled the service. I was aware, so on the 28th Feb I went online to sign up for a brand new account. Made a new login, and went through the stages for the u

  • The mousepad on my laptop wont work the cursor wont appear

    I had been using a plug in mouse on my laptop, when unplugged it to use my mouse pad on the laptop it would work the curser would not show up and I could not right or left click. It was working fine before have I done something like switch it off? ca

  • How can I set the field ICt in component table of the Tasklist as "Input" ?

    Hi experts, How can I set the field ICt (BOM's Item Category (POSTP)) in component table of the Tasklist as "Input" Status (The system is in gray now). I can define the different Category value by IB01 or IB02,then I can select them at the Tasklist's

  • How to set the colour in iphoto for ibooks?

    i just got a few books back and the colour is off-too red, magenta hues in the black and white images. What is the best way to get pics ready for books? All my images are in iphoto-do I need to take the into Photoshop? I created an album and then sel

  • Can't I use a WRT610N as a bridge or AP?

    Inherited this WRT610N from someone, and want to deploy it in a preexisting LAN (172.21.1.x) with a pre-existing DHCP server. Can I use the "Internet" port if I assign it static IP on my LAN, and create a new DHCP scope (192.168.1.x) for Wireless cli