Plotting dynamic data but plot showing previous acquired data too

Hi, I am trying to plot a voltage-signal graph simultaneously, as it is being acquired by the computer from the SR830 lock-in amplifier. I have used a X-Y plot and placed it inside the for loop where the data is being acquired. <It only shows me the last point instead of all the points acquired earlier too. I want to retain the earlier data plot as well instead of just the last data point but want to update the graph as the data are acquired sequentially. If I put the x-y plot outside the loop. it will acquire a set of data before plotting which is not desirable in my case, as data has to be plotted dynamically. Can u guys please suggest me a way. Am I doing something wrong? thanks in advance.
Please find the VI attached. 
Solved!
Go to Solution.
Attachments:
select voltage freq amp VISA 6.vi ‏67 KB

Cory K wrote:
altenbach wrote:
The "built xy graph" express VI has a "reset?" input. Wire a true to it to reset the internal data. In your particular case do a "=0" on the iteration terminal of the inner for loop and wire it to the reset input.
Now I'm confused. Does he want to keep the previous data or not?
He made it sound like he is only getting 1 point in the graph, but he wants to keep all of the data in the graph
Sorry, my message was incomplete. You need to double-click the "build xy graph" express VI and un-check "clear data on each call".  Easy enough?
Whenever you want to start over, wire a true to the reset input to clear the history.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
xy.png ‏29 KB

Similar Messages

  • Reformatted macintosh HD but still showing previous owners data

    I erased the macintosh HD and reinstalled mountain lion OS on my new-used macbook but, the info and settings from previous user is still there. 
    I think the macintosh HD is an SSD.  Does this fact have any influence with whats going on?  Is there something I'm not doing correctly?
    My objective was to star fresh; as if I was the first or original owner. 

    Yes it will. Use the Online INternet Recovery system. Different from the built in Recovery HD partition.
    Hold down the Command + Option/alt + r keys at startup and keep them held down until you see a globe on the screen.
    Once the Mac OS X Utilities screen comes up select Disk Utility and select the hard drive model number, Top most entry on the left, and then the Partition Tab on the right. In the partition layout drop down, center area, select One Partition. Make it the whole drive with a name of Macintosh HD. In the format area select Mac OS Extended (Journaled) then click the Apply button.
    Once that is done exit DU and select Reinstall Mac OS X.
    Lion will be downloaded and installed.
    NOTE:
    All data on the drive will be erased, files folders and all Apps.

  • Plot dynamic data with time stamp

    Hi All
    I would like to create a plot of dynamic data, (Voltage readings taken with an In 6008) versus time.
    When the loop starts taking voltage data I would to plot the data versus elapsed time. Voltage versus time elapsed. I have read many examples and tried for many hours to get this to work.
    Please help!
    Mike

    Hi Mike,
    Are you using a Waveform Chart? A chart will continuously plot the data versus time as it is acquired. Try right clicking on the x-axis and selecting Properties>> Display Format. Here you can change the way time is displayed on the x-axis. You can also adjust the way the data is displayed by right clicking and going to Properties>>Appearance>>Update Mode.
    I hope that helps! If not, can you indicate what specifically you have set up in your code and how the result is different from the plot you would prefer to create.
    Thanks,
    Matt
    Product Owner - NI Community
    National Instruments

  • Plotting multiple graphs on one waveform chart with dynamic data types

    I'm trying to put multiple graphs on one waveform chart and having data agreement errors. I'm wondering if it has anything to do with the fact that dynamic data is being used (I've had no problems with other datatypes in the past). Does anyone know how to correct this problem? I've attached the following .VI. There will be plenty of .VIs on the bottom that won't load, but they are not consequential for this problem.
    Thanks!
    Brian
    Solved!
    Go to Solution.
    Attachments:
    Stiffness Control V1.vi ‏119 KB

    you could use stacked plots by right clicking on the chart and clicking on the stacked plots and than on the front panek you can put a bundle function on the FP and hook your signals up
    Harold Timmis
    [email protected]
    Orlando,Fl
    *Kudos always welcome
    Attachments:
    multiplotwaveform.JPG ‏138 KB

  • How do I Change the plot waveform colour on a Dynamic Data type Graph?

    I have multiple different plots on different graphs, and I want to set the colours of the different waveforms.
    In order to display the waveforms on different graphs, I switched to Dynamic data type and then split the wire
    according to how many channels I have.
    I can set the graph background colour with a property node, and create cursors of different colours no problem
    using the array of references that I have created, so there is nothing wrong with my array of references or the property node.
    As soon as I try and wire a colour box into the Plot>Plot Colour control, I get error 1055 out of the property node.
    I was wondering if it was an error between the keyboard and the chair, but now I am thinking it is someting more sinister.
    The Error box pops up and can't be dismissed remaining the focus until I run TASKKILL on LabVIEW and terminate it.
    Any ideas on how to achieve my goal would be appreciated.
    (LabVIEW 8.6)
    Solved!
    Go to Solution.

    Hi Sheela,
    It's 1 plot per graph, up to 4 graphs displayed on different tabs.
    Here are some screenshots
    Attachments:
    graph_display.JPG ‏135 KB
    set_Plot_colour.JPG ‏79 KB

  • Can i select which plots show in graph?

    Hey guys, I want to know
    if I have a graph and I have like 8 plots
    can I select which plot show like, in some cases I want to see only 2 plots, in other case I want to see 1 plot only, and other time I want to see all the plots, can I select or make something to make it happens?
    Thanks
    Solved!
    Go to Solution.

    Hello Gerd,
    I found another way than coloring the plot transparent (btw. with better performance for huge data graphs). It has another advance since the graph remembers the original color.
    greets, Dave
    Message Edited by daveTW on 01-12-2010 01:12 PM
    Message Edited by daveTW on 01-12-2010 01:12 PM
    Greets, Dave
    Attachments:
    Example_VI_BD.png ‏7 KB

  • Need to show previous 3months data

    Hi
    I need to show last 3months data in the report. Currently i am able to do it by creating 3 reporsitory variables - Last 3months,last 2months, last month
    Variable created : Select to_char(add_months(sysdate,-3),'Month'),to_char(add_months(sysdate,-2),'Month'),to_char(add_months(sysdate,-1),'Month') from dual
    With these variables i have to include filter for current year in my request in answers.But for year 2011 it will create problem as i would need data for both the years but only for previous 3mnths from sysdate.
    Appreciate valuable suggestions.

    If you are looking for last 3 months data irrespective of year i.e. last 90 days data use the following at report level
    date >= timestampadd(sql_tsi_day,-90,current_date).

  • Deleted bridge cc. Now I need to reinstall but it shows up in my creative cloud app as up to date without the option to download. How do I access it to download and reinstall?

    In an effort to correct an issue with my creative cloud, I deleted bridge cc. Now I need to reinstall but it shows up in my creative cloud app as up to date without the option to download. How do I access it to download and reinstall?

    Bmullinax please see CC desktop lists applications as "Up to Date" when not installed - http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html for information on how to reinstall Bridge CC.

  • Data source was activated and replicated but not showing up in RSA7.

    Hello,
    Data source was activated and replicated but not showing up in RSA7.  At what point does the data source appear in the Delta Queue?
    Thanks

    Hi,
    for LO,LIS,generic,FI data sources, delta records come from delta queue.
    if u run the INIT in BW whether it may be success or not delta queue will be maintained in RSA7. and u can check the records in RSA7 or smq2.
    when the init request goes to R/3 then it will maintains delta queue in RSA7.
    assign points if it helps,
    thanks,
    pavan.

  • Hi, i have inserted a dvd in the drive, which has data in it but its showing blank and asking toburn

    Hi, i have inserted a dvd in the drive, which has data in it but its showing blank and asking to burn. Along with that its also showing the capacity of the dvd. Its ready to write the disk but not exploring the data on the disk. Please help..

    See if this fixit tool can repair it
    http://support.microsoft.com/mats/cd_dvd_drive_problems/en-us

  • I am using Iphone 5s my battery is draining like anything. Without using any application also it seems i am using iphone 5s but in show only really i am using like previous nokia 1100 model.

    I am using Iphone 5s my battery is draining like anything. Without using any application also it seems i am using iphone 5s but in show only really i am using like previous nokia 1100 model.

    Are there apps on your phone right now? 
    I think one of your apps is causing this.
    The only way to find out is to delete them all and then add them one by one to see what app maybe causing this.
    Especially if you've gone thru 3 iphones already.
    When you restored as new - did you sync back your stuff - apps/music or did you restore from backup?

  • I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    I have ipod nano 6G.I was trying to restore it to clear all the data but it showed error 1439 and couldn't restore.I tried every method given in errors help page but nothing worked.What should i do?

    Just in case (even though your symptoms aren't explicitly mentioned in the document), let's check to see if there's a LSP problem in play here:
    Apple software on Windows: May see performance issues and blank iTunes Store

  • HT3140 put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bou

    put a date 1970 june 27 . and now the whole system is out of control i cant get to internet cannot change date and time  always when i opened system preferences stays in a waiting mode but doesnt show any opcion don t know what to do and i just bought this computer

    It may well be a driver issue but considering the loading: Xorg trying to load different drivers is somewhat normal. @cafe you can see that these are autoconfigured by X above the loading in the log:
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 0
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched intel as autoconfigured driver 1
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched modesetting as autoconfigured driver 2
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched fbdev as autoconfigured driver 3
    Jul 20 19:48:24 arch gdm-Xorg-:0[216]: (==) Matched vesa as autoconfigured driver 4
    As long as one of the drivers gets loaded, which it apparently does the failing of the others is fine.
    Was there an update maybe ?

  • HT201441 what if the previous owner doesn't know the email and password for its account and is not present, i bought this ipod from gamestop but it shows this screen, can i dlete this account to use my ipod ?

    help
    what if the previous owner doesn't know the email and password for its account and is not present, i bought this ipod from gamestop but it shows this screen, can i dlete this account to use my ipod ?

    The device is useless. Send it back and have them return your money.

  • Data is in the repository, but not showing on the EPM workspace

    Hi All,
    Recently we have migrated from Hyperion8.5 to Hyperion11.1.1. Migration went on well no errors, after migration I see some folders missing and when I queried on the repositories all the folder data and reports are there in the repository but not showing up in the EPM workspace. It is weird. Did any one encountered this type of error. Is there any work around to this.
    Any help will be greatly appreciated
    Thanks

    Check BI+ security in shared services. Set someone to BI+ Administrator and have them look in Workspace for the reports. In Workspace, check the Permissions of each folder.

Maybe you are looking for

  • Bootcamp 5.1.1 on Mac Pro Cylinder can't install Windows 8

    Hi, I've gone through almost every discussion regarding the common issue "Windows coud not update the computer's boot configuration" but none is related to Bootcamp version 5.1.1 and latest Mac Pro cylinder. I already tried the solution presented by

  • Print Preview in InDesign?

    Sorry, I thought this would be simple to find by searching, but it appears that each page with an answer on it has Print Preview at the bottom, so I'm getting a huge number of unrelated hits!  I'm converting publications from Ventura Publisher 10 to

  • How to connect the database from one ip to another ip pc.?

    hai, iam new to the obiee. i have the database in the ip : 198.0.0.0(for ex) and i have to connect that through the odbc to my pc ip: 198.0.0.1 (for ex). plz explain how we can connect to the other database from our pc to import that database to our

  • Differences between 1st Gen + upgrade and 2nd Gen?

    Hi all. I was looking into purchasing a new iPod touch, but before I do so, I was wondering if there is any difference between getting an iPod touch 1st generation and purchasing the software upgrade and simply purchasing a 2nd generation? Reason bei

  • Changed contact name after 10.2 upgrade

    After I upgraded my Z10 to v10.2.0.424 my contact entry name changed from my name (format: first last name) to my birthday (format: YYYY-MM-DD 00:00:00)?!?!  I went to edit my contact entry and I can chenge everyhing but the name.  Any ideas on how t