BartSchroder Posted June 16, 2004 Report Share Posted June 16, 2004 Hello, does anyone know how to make a trace on a Labview Graph persistant. One way would be to find a way to avoid the deletion of the trace when the graph is redrawn. I have been able to do this witha bit map graph, but the management overhead is serious, and the graph is slower than a native graph. The idea here is to be able to show a visual history of previous plots - much like you can see on some scopes. Any help very welcome, Bart Schroder Quote Link to comment
Louis Manfredi Posted December 1, 2004 Report Share Posted December 1, 2004 I've needed to do the same thing. Only way I've found to do it is to save the data that I want to keep-- For example by passing it to a shift register in the for or while loop-- and then bundling this old data with the new data to which I want to make the comparison. Perhaps there's a more elegant solution, but this method is probably more efficient than using a bit map, and I suspect handles things like rescaling of the graph more gracefully too. (To get really complicated-- if you use Max & Min function from the comparison menu to generate two historical traces, on the minimum of each time sample from all past traces , and one the maximum of each from all time, and then play around with the "Fill Baseline" plot properties for these traces, you can get something that looks very much like the display on an old anlog storage scope...) Hope this helps... Quote Link to comment
BartSchroder Posted December 1, 2004 Author Report Share Posted December 1, 2004 Thanks Loius, I'll give it a try! Bart Schroder Quote Link to comment
JackHamilton Posted December 14, 2004 Report Share Posted December 14, 2004 Hey a Chart with "Sweep" option enabled shows the previous trace until it's replaced by the new data point-by-point. This is a quicker way... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.