LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview clears my xy graph when prompt appears

Hi!

I have a vi with more complex things but for this question, the important part is that, I have a while loop that puts values in a XY Graph until a certain condition is meet. That condition is one of two:

It ends the cicle itself (with the condition i want) or it ends when I press a button.

In any case, a prompt appears asking if i want to save the file (with the values) and the problem is that, when the prompt appears, it clears the graph!

Is this normal? Cause I want to save the file (or not) and see the graph after i choose what to do.

Any help?

Thanks

Message Edited by zephirus on 06-29-2006 11:18 AM

0 Kudos
Message 1 of 3
(2,544 Views)
The graph will NOT clear unless you feed it emtpy data. It would be much easier to see what's wrong if you could attach a simplified version of your program. Without seeing the code, we need to guess.
 
 
Is the data in a shift register? Could it be that in the save event case you don't wire the graph data out the back of the evet structure? (is the tunnel solid or shaded)?
 
Try some execution highlighting.
 
Once you provide more details, we can give more specific advice. 😄
0 Kudos
Message 2 of 3
(2,538 Views)
Ops... I have an "empty data to graph" in the end of a cycle before the dialog appear, so... it was my mistake, a big one. Thanks anyway, i learned a lot more, now that i looked to my vi in detail.

Thanks
0 Kudos
Message 3 of 3
(2,527 Views)