LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I display a standing wave on a waverform graph or chart?

In my application, I am acquiring data and displaying it on a waverform graph. I have adjusted the rate and number of scans so that I am acquiring two full periods of the signal. I would like to display the captured signal as a standing wave instead of having the waveform move rapidly across the display. I have tried several things, but none of them have worked. Does anyone have any ideas on how to accomplish my objective? Thank you.
0 Kudos
Message 1 of 2
(2,722 Views)
My sense is that you are going to have to play with the data after acquiring it. It seems highly unlikely that you could get everything timed just right so the signal would stand still. Try acquiring more than 2 periods and put it into a queue of some sort. Then to plot the data look for some repeating landmark like a positive zero crossing. Use that index as the start of the graph and always plot the exact number of samples in 2 periods. This technique works best if the sample rate is an exact integer of the waveform. It will still work if it's not, but it will be constantly needing to resyncronize. 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 2
(2,722 Views)