How do i clear a waveform chart after i press stop?

I attached what I have so far.
I'm taking readings from 3 thermocouples simultaniously.
I then graph and log the data in real time.
I would like it if after i press stop, the graph resets. Then when i press start, the graph starts from the beginning.
Any ideas how to do this?
Cory K
Attachments:
Test1.vi ‏143 KB

On the False side of your measure case, use a Property Node for each chart.  Property should be History Data, set it to write, and wire an empty array to it.  This will clear the graph.  I'd also use a shift register wired to a boolean so that you don't keep writing to the properties.  Set the boolean to true on the True side of your measure case.
Message Edited by Mythilt on 05-27-2008 12:39 PM
Jon D
Certified LabVIEW Developer.
Attachments:
Test1[1]d.png ‏17 KB

Similar Messages

  • How Clear a WaveForm Chart Programmatically?

    Hi LabView Masters!
    Can I Clear a WaveForm Chart Programmatically?
    I know that I can clear the chart clicking with the mouse, but I need to
    clear it when a particular variable is high. (Programmatically)
    I have been testing the Attribute Node but I didn't got it.
    Thanks in advance for your help!.
    Francisco Javier Fernandez Luna
    Ingeniero Tec. Industrial en Electronica.
    Tel: 619 81 98 31
    E-mail:[email protected]
    ó [email protected]
    "Let's make things better" (PHILIPS)

    try to use property node of the chart and connect an empty array to
    "history data" field
    Paco Luna a écrit dans l'article
    <01beae87$7fe22e60$[email protected]>...
    > Hi LabView Masters!
    >
    > Can I Clear a WaveForm Chart Programmatically?
    > I know that I can clear the chart clicking with the mouse, but I need to
    > clear it when a particular variable is high. (Programmatically)
    >
    > I have been testing the Attribute Node but I didn't got it.
    >
    > Thanks in advance for your help!.
    > --
    > Francisco Javier Fernandez Luna
    > Ingeniero Tec. Industrial en Electronica.
    > Tel: 619 81 98 31
    > E-mail:[email protected]
    > ó [email protected]
    >
    > "Let's make things better" (PHILIPS)
    >

  • Clearing a waveform chart

    Hello!
    Can someone explain how to re-set a waveform chart to initialize to 0
    at the start of the run of the VI.
    I notice one example where a zero array is input...
    but this looks like overkill.
    Is there an easier way.
    Thanks,
    Adrian

    Adrian,
    It's really simple. Just create a property node or reference to the chart, and select the history. Then, just wire a constant (easiest to create a constant from the node itself) which is empty, and voila - an initialized chart.
    Good luck, and let us know how you do.

  • How to implement cursor in waveform chart?

    Hi,
    i have used visa tools for making .dat file of data values...i used waveform chart to graphically represent data of that file.i want to implement cursor in that can you help me out how to do it.
    Regards,
    vijtin
    Solved!
    Go to Solution.

    Hi vijtin,
    replace your chart with a graph to enable a cursor legend...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • [uzbl] how do I clear the command bar after following a link? [SOLVED]

    It's ridiculous that I've done this again, but I've forgotten how to have uzbl automagically clear the command bar after I fl something. Yes, I know at some point it was on uzbl's wiki page; yes, I did compare my old and new configs; yes, I'm a dork and I'm just not finding the answer.

    The only part of diff that has anything to do with this is:
    < @on_event LOAD_START chain '@set_status <span foreground="khaki">wait</span>' 'event KEYCMD_STRIP_WORD'
    > @on_event LOAD_START @set_status <span foreground="khaki">wait</span>
    The rest is either stuff that I've commented out for now or key bindings, personal settings, etc.
    The follow link code is working now the way that it was before with the above changes. With the old way (as posted above) it wreaks all sorts of havoc with uzbl. By that I mean that the command bar would seem to clear but the data would reappear as soon as another command would start to be entered. As well, backspacing to the beginning of the command line would send uzbl to follow URLs that I didn't specify.
    By the way, no matter if the above is hackish or not, it's close to what I want. The only thing left would be for ESC to clear the numbers if I chose not to do go somewhere. Is there a way to set this up without breaking other functionality?

  • How to display value in waveform chart

    dear sir
    i am using labview 7.0 with dsc module for scada.
     now i want to display the difference between two tags value in waveform chart. Also i want to display that difference value on y axis and system date and time on x axis continously. Also if there will change in that tag value then there should be reflection of that value on wavwform chart with system time. Really i am in trouble. please help me.
    falgandha mohire

    Nadim,
    Why would an XY graph be preferable to using a Waveform Chart where the "t0" is the time of the measurement?
    I don't get it.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How to achieve this in waveform-chart?

    I do use waveform chart in which 3 waveforms are stacked. My x-axis represent current time and y axis is a some quantity...Please look at the picture attached....is it possible to do this in waveform chart? Whenever mouse/cursor is on waveform it should display y-axis value corresponding to that point.......

    Hi HS,
    do you use 2 different logins?
    If you would enable/show the cursor palette of the graph you would actually see those values instantly...
    When you want to calc with them you can use the properties of the cursor to get the x- and y-value! No calculation of graph size and so on needed...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to append data in same log after start and stop signal express

    how can i append my data to the same log file after starting and stopping the signal express ? Is there some option to do this. After start/stop it always makes a new log file. How can append datat to the same log file. 
    Thanks in advance. 
    Munir

    Hello mbhatti,
    I founded a KB which seems do describe the way to solve your problem.
    Appending Data to the Same File when Logging in LabVIEW SignalExpress :
    http://digital.ni.com/public.nsf/allkb/C38AEE499D5CC8C6862572CF006875D2?OpenDocument
    I hiope this will help you
    Regards
    Florian Abry
    Application Engineer Group Leader
    NI Germany

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • How to set real time waveform chart

    I would like to record voltage signal from built-in microphone. My block diagram is attached.
    I would to like record 1second data every 10min and then take an average of that 1s data so that I have 1 data point about every 10min. The time of the origin of the chart must be kept at start date and time all the time and the program need to run until I stop it. 
    But I cannot set the date and time to be real time. How can I make it?
    Thank you very much.
    Attachments:
    1.vi ‏41 KB

    Hello
    answers are in blue
    phx wrote:
    Freelance_LV, Thank you very much for your editing, I am testing the program. I have some questions.
    1. Why can't I just using continuously running to run my program to make to run continuously? it is a good practice to use a while loop and run the code, than use the run continuously button. my understanding is that the run continuously button will cause the code to run at the highest possible processor speed and will use up the entire load on the processor. by using a while loop and placing a small delay, we can ensure that the cpu is not loaded by our program. But, i hope our seniors could provide the correct explanation to it.
    2. From your diagram, what I realise is that in 3600s, the signal of time sends data to "elapsed time" every 0.1s until the elapesd time is the same as target time so the the "True/False" Loop" can run. My question is, once the the "True/False loop" start runnig, how long does it run? 1second? Or is my understanding about the flow wrong? check the attached code. i made some additions, to answers your question.
    3. The minimum sample rate of the "acquire sound" is set to 11025Hz which is also the sample length of the "Mean". Does it mean that the mean it takes is the mean of the amplitude of latest 11025 samples? would suggest you use Mean vi than the Mean Pt to Pt vi. logically, the mean vi should read the input array of data, calculate the mean of the values. there is no 'latest' here. the mean vi gives the mean value of the array at its input. the acquire sound vi will read the data from the microphone at the sample rate mentioned. you said the min sample rate if 11025 Hz. but your code shows 8000 Hz as input!
    4. Why isn't the x-axis the current time if I just put the diagram inside the True/False Loop out to a new VI? you will need to set the start time of the X-axis using the property node X-axis range minimum value. Else, the chart/graph will take the standard start time as 1/1/1981 and 0.00 time + or _ the GMT zone.
    Thank you very much!!
    Attachments:
    1_edit.vi ‏68 KB

  • TS1424 How do I clear the error message after I update my Security Information so I can purchase a song??

    iTunes asked me to update my Security Information so I could purchase a song and after I answered all the questions is said there was an error in saving the changes and bounced me out.  How can I purchase a song???

    Hi saxxy60, I have not encountered this error before, but I have when the internet connection is lost in the middle of the download. You can try to disable any antivirus on the computer [http://answers.microsoft.com/en-us/ie/forum/ie10-windows_8/an-error-occurred-while-downloading-attachment-in/02b00230-ed67-473c-9ad8-370deac2272e?msgId=0d3d89cf-2722-43f3-b21b-2f3214e2f1d1]
    You can try to get more elaborate errors if you try to reproduce the issue with an HTTP traffic capture.
    *An add on [https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/ Live HTTP Headers]
    *[http://www.telerik.com/download/fiddler Fiddler]
    Please let us know if this helped you out!

  • How do you clear the buffer of excess key presses, in Java?

    Right now, in the game I am working on, if the user presses a key multiple times the actions will be performed as many times as it registers, even though I disallow key presses during the time that the action is taking place.
    For example, a move of 1 space can be carried out with a key press. While the character is moving, key presses are not allowed. However, if you just press the key 5 or 25 times, the character will just keep moving, once he's done with the first one.
    What I need to do is clear the buffer of key presses after an action has taken place, so that the excess keys are not registered. I know the commands to do so in C++, but not in Java.

    Well, I think you've got what I was saying backwards, or I'm not understanding what you are asking correctly.
    it is suppposed to return if isMoving is true, not false. If isMoving is true, it means that the moving animation, and actions are taking place, Which is a process that take about a second, for the player to move one space.
    Here's the code where I process the keypresses
    private void processKey(KeyEvent e) {
        if (isMoving) {return;}
        int keyCode = e.getKeyCode();
        if (!isPaused && !gameOver) {
            isMoving = true;
          if (keyCode == KeyEvent.VK_UP) {
            player.move(player.NE);
          else if (keyCode == KeyEvent.VK_DOWN) {
            player.move(player.SW);
          else if (keyCode == KeyEvent.VK_LEFT) {
            player.move(player.NW);
          else if (keyCode == KeyEvent.VK_RIGHT) {
            player.move(player.SE);
            isMoving = false;
    }And in case I need to clear up what I want to happen, and the results I'm seeing. The player, in this case, moves one space in a direction, with a single press of an arrow key. That functionality is working fine, as intended. However, I don't want you to press the key twice quickly and move two spaces. I don't want you to hold down an arrow key and move continually.
    That part of the functionality is what is not working.
    As I understand my code, pressing the key once should set isMoving to true and, therefore further presses shouldn't register until isMoving is false again, which shouldn't happen until the player moves have finished.
    But, the way that it is working now is that if I press the key 2, 3 or 20 times, as soon as one move is finished another begins. Are the key presses just sitting in the buffer somewhere waiting for isMoving to become false again? And if so, is there a function I can call to clear that buffer after a move is finished?

  • How to reset logs on Exchange 2010 after Event 518 stops backups from completing?

    I'm only able to find references to resetting logs Exchange 2000 and 2003.  I'm looking for info for Exchange 2010.
    There appears to be some kind of corrupt logs issue with one of our mailbox databases.  The corrupt logs cause the full backup to fail and because the full backup fails, the logs just get worse and keep growing.
    The server has event ID 518 that says a log is  "is missing (error -528) and cannot be used. If this log file is required for recovery, a good copy of the log file will be needed for recovery to complete successfully. "
    How do e get past this and stop the backup job from trying to look for this log file and start over?  I know that a full backup is supposed to clear the logs, but it will not happen because the backup never completes due to this log error.

    its still same for 2010
    Stop all the databases in the storage group.
    Verify the state of each database file in the particular storage group. For information about how to verify the state of each database file, see the "Database states" section.
    Perform one of the following actions:
    If one or more of the databases are in a Dirty Shutdown or Inconsistent state, determine which transaction log files can be removed without affecting database consistency.
    For more information, see the "Log files" section.
    If all the databases are in a Clean Shutdown or Consistent state, you may remove all the transaction log files except for the current transaction log file. Removing the
    current log file when all databases are in a Clean Shutdown state will cause a reset of the log file sequence. This does not prevent databases from starting. However, a reset of the log file sequence affects the ability to roll a
    database forward from a previous backup if the situation occurs.
    Copy all the transaction log files that you want to remove to a different location before you permanently remove them from the transaction log hard disk. Do not permanently delete the transaction log files until you have
    successfully completed a full online backup of all the databases in the storage group.

  • How does the client edit their site after the freelancer stops hosting the site on their CC account?

    Once a freelancer stops hosting a client's site through their Creative Cloud Account, how does the client continue to edit their site? Do they need their own CC account or does the site have to be hosted on a BC plan?

    This forum is only to discuss how the forums operate, not products
    If you go to the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the Adobe product(s) that are
    use to edit/maintain the site

  • How to clear waveform chart

    How i can clear a waveform chart with dynamic datas? The normal procedure with handover a empty array doesnt work.
    Uwe Augst
    Muehlbauer AG
    Germany

    Hi,
    here´s a small example with a property node (Historie), everytime you restart that VI, first the chart is cleaned up and than refilled again.
    Hope this helps,
    AlexMessage Edited by Alex R on 05-03-2005 11:18 AM
    Attachments:
    Clear Waveform-Chart.vi ‏21 KB

Maybe you are looking for

  • How do I change the printer settings on macBook pro OSX v10.8.1?

    I am trying to print a webpage but i want it in duplex format (two pages front and back on one sheet). The default is set to "one sided". I can't seem to change the presets (under presets > show presets > copies and pages > settings and value). Usual

  • Stumped about constant connection drops

    I just upgraded from 18 mbs to 45 and have had nothing but continuous connection drops. Seems like every 15 to 20 minutes, often after a period of inactivity, the wired connection just disconnects. I am as frustrated as I could possibly be. We ditche

  • Error message: "The iTunes Music Libary.itl is locked..."

    Hi Heres the error message: "The iTunes Music Libary.itl is locked, on a locked disk, or you do not have permission for the file" One of my friends had this problem but he cant remeber what he did to change it like this or how to change it back, can

  • Unique URLs in a databse

    I am using PHP / MySQL. I want to make a database of websites, where the website URLs are unique. Let's say ' http://www.adobe.com' exists in the database... If someone tries to insert a record with the URL ' http://adobe.com', then script should fin

  • Help installing gcc

    i've installed a full solaris 10 on my x86 laptop! and i've never really used much of a sun machine before, i've been looking on the web for free c ++ compilers and as far as i'm aware i have one installed "/usr/sfw/bin" but how do i actully get this