LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot showing problem with graph

Hi everybody!

Now I've come to dead end with my vi. I don't know why my vi doesn't show the trend line anymore. The previous version I did show the line, but now I've tried many things but the line wouldn't show up.

The idea is that graph shows max, mean and min values as a trendline by pressing a save button. And a x value is generated by a same button and it demonstrates distance between saving points.

The attached Vi illustrates my latest attempt.

Thanks
Neuvos
0 Kudos
Message 1 of 5
(2,728 Views)
And forget to say that I am using Labview 7 and winxp+sp1.
0 Kudos
Message 2 of 5
(2,728 Views)
I think these fixes will do what you want.
0 Kudos
Message 3 of 5
(2,728 Views)
Thanks Jeremy!

I was thinkin' that it have to do something with shift register, but didn't realize it was so easy. But how the graph can be cleared? Because after I shutdown the prog it still has the old measurements in memory, when I run it again. And the graphs->data operations->Clear Graph: doesn't clear the memory only graph.

Neuvos
0 Kudos
Message 4 of 5
(2,728 Views)
I got a little lazy...Right click on the feedback node and have it show the initilialization terminal. You should get a little rectangle on the left side with a diamond in it. What you pass to this terminal will initialize the shift register. Because you already have the shift register wired with data, you can right click on the initialization terminal >> create >> constant. This should produce an empty array of your data type. Do this for each feedback node and you will be in business.
0 Kudos
Message 5 of 5
(2,728 Views)