Can I make waveform graph display more than the currently read samples?

I have DAQ reading in 17 channels at a rate of 500 samples/second and then writing to a TDMS file, to some guages, and to a waveform graph.  I would like for the waveform graph to display more than the samples that are currently being read, I'd like for it to display the last ten seconds worth of samples.  How can I accomplish this?
I've attached a picture of the relevant section of my VI. If you need anymore information about the VI just let me know.
Thanks!
Solved!
Go to Solution.
Attachments:
WaveformGraph.PNG ‏46 KB

If you want to use graph only then try with the vi attached in which shift regs are used to store the previous data... I think you can use this and optimise further accordingly..
LV 8.0, 8.6, 2011,2012,2013 WinXP
Attachments:
multiplot graph.vi ‏19 KB

Similar Messages

  • Can you make a movie for more than 2 minutes on an ipad and save it on a flash drive

    Can you make a movie for more than two minutes on the ipad and sve it on a flash drive using windows XP

    Using Apple's camera connection kit, you can use a flash drive to IMPORT photos and videos. However, you can't EXPORT any type of file to the flash drive.
     Cheers, Tom

  • How can I make waveform graph and/or excel file with two different dynamic DBL values?

    As the question describes, I have two dbl sources from a load cell and linear actuator (from firgelli). I want to make a load/displacement curve from the force readings from the load cell and the displacement readings from the linear actuator. The load cell outputs an analog signal that can be acquired by a DAQ and the actuator comes in with a board and VI program to control the speed and measure the displacement of the actuator to a sample rate of my choosing. Is there a way that I can make a VI where it continues to collect data and construct the graph I'm looking for?
    Solved!
    Go to Solution.

    A couple points about your application:
    1.  Synchronization.  Since you're ultimate goal is a stress/strain curve, it is vital that your force and displacement data be synchronized appropriately.  If your sampling is beyond a few times a second, this is not really possible without some form of hardware synchronization via either a trigger and/or sample clock.  Two NI DAQ boards can be synchronized this way easily, but it seems you're using 3rd party hardware for one of these processes.  Would need to know more about that board to know what options you have.  You could specify what your resolution is in distance, and how fast the article will be moving, to get an idea of how fast to acquire, and how well you'll need to synchronize the data.  Another option, since it appears each data stream will be sampled on a hardware-timed sample clock, they will be offset in time, but not skewed during the acquisition.  You may be able to identify a feature in the data set common to each and use that to remove the timing offset after the process is completed.
    2.  Display.  To display data during the acquisition process, I usually recommend at least one display that plots vs. time.  Much easier to spot irregularities with the acquisition process that way.  However, if you'd like to also plot force vs. displacement, you can use an XY Graph to plot parametrically. For Example, in your case you would use the Displacement data as the X coordinates, and the Force data as the Y coordinates.
    3.  Saving data to file.  I would recommend using the Save to Spreadsheet File.vi (File IO pallette) to save your data.  If you use a comma as the delimiter, and save the file with a *.csv extension, you will have a file that is easily read into excel.  The standard tab-delimited spreadsheet file is also fine, it will just require an extra step to read it into excel to specify to excel what the delimiter is.
    4.  Batch vs. Real-Time Recording (Data File).  If your process is short (< 30 sec) you may be better off acquiring the data, Storing it locally to the VI (Array - usually maintained in a shift register), and then writing the file with a header (acquisition parameters, test article information, data column headers) and the data all at once in batch mode to the file after the process is finished.  If, however, it is longer than that you would be better off starting a data file with a header and appending the data to the file as you go, so that if something happens during your test, you at least have data up to that point.
    Hope this Helps,
    Kurt

  • How can I make Function return varchar2 more than 4000

    I have a function
    FUNCTION testing (v_pk_application in number, v_inccharges in char)
    return varchar2(30000)
    --return number
    is
    v_net_sum varchar2(30000);
    v_net_sum2 varchar2(30000);
    v_datarow varchar2(3000);
    v_datarow2 varchar2(3000);
    begin
    return v_net_sum;
    end;
    I want to return varchar2 more than 4000, how can I do that.
    Thanks

    user10659388 wrote:
    I want to return varchar2 more than 4000, how can I do that.A function can return a string up to the maximum allowed for varchar2.
    Varchar2 can be up to 32767 characters...
    SQL> create or replace function ret_str return varchar2 is
      2    v_str varchar2(32767);
      3  begin
      4    v_str := lpad('*',32767,'*');
      5    return v_str;
      6  end;
      7  /
    Function created.
    SQL> declare
      2    v_retstr varchar2(32767);
      3  begin
      4    v_retstr := ret_str();
      5  end;
      6  /
    PL/SQL procedure successfully completed.However, SQL only supports varchar2 up to 4000 characters so the same function will cause SQL to error, even though the function is perfectly valid.
    SQL> select ret_str() from dual;
    select ret_str() from dual
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at "SCOTT.RET_STR", line 5
    SQL>So, if you intend to use the function only in PL/SQL then you can use varchar2 up to 32767 characters, but if you intend to use it in SQL then you will be limited to returning 4000 characters. Alternatively you can return a CLOB which SQL supports but they are a little more tricky to work with than varchar2...
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace function ret_str return clob is
      2    v_str clob;
      3  begin
      4    v_str := lpad('*',32767,'*');
      5    return v_str;
      6* end;
    SQL> /
    Function created.
    SQL> select ret_str() from dual;
    RET_STR()
    SQL>

  • How can I make iCal in Lion open to the current date?

    I just updated from Snow Leopard to Lion and have had all of the frustrations with changes to iCal that are well-documented here and elsewhere.  One issue I haven't seen addressed, however, is a new behavior after quitting and re-starting.
    Previously, no matter what month/day/week I was viewing when I quit iCal, it would open the next time to the current (month/day/week).  Now, it opens to whatever date(s) I was last viewing when I quit.
    This is highly annoying - 99% of the time, if I quit iCal while looking at (some date 6 months into the future), that is NOT the date I'm looking for when I re-launch.  It's much more consistent behavior to always re-open to the current date, in whatever view (month/day/week) I previously used.  So if today I launch iCal and I'm thinking about adding an event a month in the future, I open iCal, change to month view if needed, and go forward one month.  This is the way iCal always worked previously.  Instead, the version in Lion might leave me on any random month, depending on what I was doing when I closed the program the last time, and so I have to figure out "what month/week am I looking at?" before I know how to navigate.  Very irritating.  (As is the move of the forward/back buttons away from the month/day/week buttons, necessitating that I move the cursor to two different areas of the screen in order to navigate.  Whose idea was THAT?)
    I haven't found a preference to resolve this bizarre behavior change.  Can anyone help?

    Hi,
    I don't know of a preference, but have you used ⌘-T in iCal?
    Best wishes
    John M

  • How can I make new tabs open next to the current tab?

    New tabs are advertised in Firefox 5.0 as being set to open next the the current tab by default. Mine, however, do not do this. They open to the right of the last tab, necessitating a lot of tab-scrolling, and a minor waste of time.
    I have not installed the extension that forces the tab behaviour I'm currently witnessing.
    Is there a kind soul out there with any suggestions for how I can get my new tabs to appear next to the tab I'm working on?

    Tabs that are "related" to the current tab, like the same domain, open to the right of the current tab. Other links that are from other domains open at the right end of the tab strip.
    The pref for that actions is '''browser.tabs.insertRelatedAfterCurrent'''.
    To have them all open to the right of the current tab would need an add-on, if that action even exists in an add-on.

  • How can i make my printer print more than one page

    HP Officejet Pro 8600

    Need more info on what you're trying to do to help you...explain what you're trying to print and how you are trying to print it. 
    I am an HP employee.

  • Can I get MFC to display more than 1000 results??

    MFC apparantely will only return up to 1000 results when doing searches.
    Is there a way to get to return large data sets?
    -Matt

    No plans to port it on to Linux, but how does AsyncOS sound? :-)
    I am the Product Manager for the IronPort M-Series, and am also responsible for the reporting and message tracking features (including MFC). IronPort's vision is for the M-Series to be the central platform for reporting, tracking, and management capabilities. Centralized reporting and tracking are expected to be available in the Q4 2007 timeframe.
    Feel free to contact me directly if you have any questions.
    Cheers,
    Abhay
    Abhay Rajaram
    Senior Product Manager
    [email protected]

  • Displaying more than the first page of a pDF

    My firm posts pdf's online for users to access. One of the Ipads in the firm can view all the pages of any document. The others only access the first page which is a problem. What's strange is that the one that can view the file's entirety does not have a PDF viewer - no Good Reader or even ibooks. Basically it's factory settings because it's user isn't very active. I've got two Ipads to compare and for anything that seems related (general and safari) the settings are the same between the one that works and one that doesn't. The one that is working is 3G and the non-working one is not. Nither is an ipad 2. (Aside - Does that make them Ipad 1?)
    What else

    Correction to my earlier post- they are both 3G so that can't really be the problem source either.

  • TS4079 How can we make Siri to understand more about the history of our house?

    I would like to know what the historical buildings that has been remodeled to look like before they got remodeled, and I would like to know when they were built actually.

    From someone that researched the history of our house, Siri won't help you. YOu need to spend some quality time researching the deed which shoudl be filed at the county clerk's office (they have buy/sell records for every piece of property...who you bought it from, who they bought it from, etc, all the way back to the original land sale and building permit), as well as the Polk Directory, which at the turn of the century did a yearly/biyearly listing of who lives where and works where.
    If you're really lucky, your local history museum has files online, if you're not, there's a lot of tedious book work to be done.
    Siri doesn't do that. She accesses things like google maps to tell you how many hardware stores are within 30 miles, or other specific sites to pull up data like temperature, forecast, etc. She's nothing but a vocal version of google that only operates within a specific set of parameters.

  • How do I display more than one month calendar in the day-view?

    iCal has always had a nice feature that allowed me to display little, what I call, mini-month calendars while in the day-view.  This allowed me to quickly jump to a day two or three (or more) months ahead (or behind) to check appointments on that day or set an appointment, without switching out of the day-view.
    The mini-month was a small clickable calendar that looked something like this:
    1   2   3   4   5   6   7
    8   9  10 11 12 13 14
    15 16 17 18 19 20 21
    22 23 24 25 26 27 28
    There was also a forward and backward arrow box [ < ][ > ] that allowed me to quickly scroll to the mini-month to find the day I wanted to click into.  And, if I wanted to give it more room by adjusting the frame, I could display up to three months at a time within my day view.
    Since upgrading iCal to 5.0 with the Lion upgrade, I can no longer display more than the current mini-month calendar on the day view.
    This is REALLY inconvenient.  Now, there is no way (that I know of) for me to stay in the day view and be able to jump ahead to a specific day two or three months out, or even to a day in the NEXT month without either going to the year view (a big waste of time) or click on the last day of the current month and then clicking the ">" day arrow to get to the next day which then shows that month's mini-calendar.
    How do I display more than the current month's mini-month calendar in the day view on Lion?

    Unfortunately you can't do what you want. Many people have complained to Apple about this. I suggest you provide Apple feedback directly at http://www.apple.com/feedback/macosx.html. They will not provide a direct response but hopefully if enough people provide feedback Apple will fix this.

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • Gross price of Service entry Sheet more than the value ordered in PO

    Hi all!!
    I have a PO that were created and changed by the following way:
    The user created the PO of service with the quantity = 1 and the price = 50.000,00
    Than he made the service entry sheet of this PO and MIRO normally.
    As the fields on service tab wasn't blocked, the user changed the quantity to 105.000,00 and the price to 1.
    After that, he made 3 services entry sheet to complete 105.000,00 quantities.
    With this, the value delivered became bigger than the value ordered in the PO.
    if I make a service entry sheet with a quantity of 200.000,00 for example, the message SE363 will be shown to me with a message that the "quantity entered exceeds quantity in purchase order".
    I'd like to know if there's a way by customizing of control the price on Service entry sheet based on the value ordered in PO instead of quantity.
    Can anybody help me?
    Thanks in advance,
    Cris

    Hi Ajit and Rajesh
    Thanks for the response.
    The user made a PO with one line with quantity 1 and net price 50.000,00.
    In the services tab, he put a sevice with quantitiy 1 and gross price 50.000,00, and than made the service sheet entry, and MIRO.
    After this he changed in the services tab the quantity to 105.000,00 and the gross price to 1 (with the objective of making more than one service entry sheet by quantity).
    With this, the system let the user make many entries of service allowing the user to make entries os sheet more than the net price that is in the line of PO.
    I'd like to know if there's a way configure the system to make a compare between the gross price and the net price when i'm doing the service entry sheet, because now when I change a line of service tab, the system is not considering that other service entry sheet were made.
    So that, i'm having the value of ordered bigger than the value delivered.
    Nowadays, the block is made by quantity as I said, but i'd like to block by price too.
    Sorry about the bad explanation before, I hope that now i explained better.
    Thanks
    Cris

  • How can I display more than 1 loop iteraction in a waveform chart?

    Using DAQmx, I am inputting a signal at a rate of 10k with 1k samples inside a while loop. I want the first 3 seconds of data to display on a waveform chart without having to change the rate or number of samples. Is there a way to stop the waveform chart from clearing after every loop iteration so that I can display more than 0.1sec of data? Thank you for any help you can provide!

    The default history length of a chart is 1024. To make it longer is a right click option.

  • How can I display more than 15 rows in a stacked 3D horizontal flash chart

    It seems I cannot display more than 15 rows at a time in a stacked 3D horizontal flash chart.
    Any ideas?
    Thanks, Pierre

    The default history length of a chart is 1024. To make it longer is a right click option.

Maybe you are looking for