LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CLEAR WAVEFORM GRAPH

Hello,

 

I have a little problem, in my proyect I have a button of execution, that when I press it, data is drawn into a waveform, and you can save the information by pressing "save", but once I press the button of saving or cancel the saving, I want to clear the waveform so that is empty until the user presses again the execution button... but... I don't know how to reset the graph ???? how can I do it ???

 

thanks!!

 

G.R

0 Kudos
Message 1 of 5
(2,488 Views)
Wire an empty array or waveform to it.
0 Kudos
Message 2 of 5
(2,487 Views)

sorry, but by doing it this way the graph doesn't inicializate...

maybe I'm doing it incorrectly... could you explaint by pic ??? (or another way!!)

 

Thanks!!!

0 Kudos
Message 3 of 5
(2,469 Views)
You are almost certainly doing it incorrectly and in order to tell you precisely what is incorrect, you need to post an image or the actual VI. If you have a save event, the clear of the graph should be done there.
0 Kudos
Message 4 of 5
(2,467 Views)

At the end of the code, you can make a 'clear button'.

If this button is pressed, wire an empty array to the graph.

This is a very general way to do it.
But you can incorporate this concept into your code very easily.
If you post your VI, we can show you how and where is the best place to do this.
Message Edited by Cory K on 05-18-2009 02:10 PM
Cory K
0 Kudos
Message 5 of 5
(2,456 Views)