LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3d surface graph with history

I am trying to implement a 3d surface graph of an incoming signal plotting the amplitude vs. frequency and time.  I can easily have it display amplitude vs. frequency, but it is only for the current input. I would like to add a sort of "history" that shows what has happened maybe the last 5 seconds.  I am guessing I need to use some kind of a buffer, but the 3d surface graph inputs are a bit tricky.  Thanks for any tips.
0 Kudos
Message 1 of 5
(2,766 Views)

check this out. I modified an example that came with LV to show one possibility...

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 5
(2,758 Views)
Perfect, exactly what I was looking for.  Thanks so much.
0 Kudos
Message 3 of 5
(2,751 Views)
This is a good example of how to show the history, however I guess I dont see exactly how to modify this so that the graph shows the amplitude on the z axis, frequency domain on the y, and time on the x.  It seems that the way this is set up the y axis is a function of that inner for loop.  Any tips would be greatly appreciated.
0 Kudos
Message 4 of 5
(2,743 Views)
Will in s sense, it's doing that already. Z is clearly the amplitude of the sine waves. If the sine waves were freq. analysis results, Y would be the frequency and X is time, or the stack of time samples going from front to back.
 
Replace the VI for generating the sine wave with your analysis routine output.
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 5 of 5
(2,741 Views)