LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with LabVIEW - Displaying FFT Data Received via UART

Hi, I'm new to LabVIEW and need some guidance to solve an issue. I’m planning to receive data via UART from a 16-point FFT and display this data on a graph. My problem is to keep the X-axis values constant (corresponding to the fixed frequency points of the 16 FFT bins), while the Y-axis values update with incoming data. Could anyone advise on how to set and hold the X-axis values steady while allowing the Y-axis to vary based on the received data?

0 Kudos
Message 1 of 2
(152 Views)

Attach the subVI that you have created that converts the data (as received) to the data you want to graph. We can provide more direct guidance when you provide code.

If we assume that you receive a 16-element array of DBL, and you know the FFT bin frequencies, you can bundle the FFT-bin-frequencies array and the FFT-bin-values array into an XY cluster which can be viewed in an XY graph.

 

bundle FFT data for XY graph.png

If you are going to be using LabVIEW for more academic or professional projects, LabVIEW training can be a great way to ramp up proficiency!

Doug
NI Sound and Vibration
0 Kudos
Message 2 of 2
(142 Views)