From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to take RFSA-data in to an array

Solved!
Go to solution

I am analyzing data from PXI-5600 through RFSA. I take the signal and show the power spectrum on a graph (frequency vs. power). 

 

But i want to find specific points and get their frequency.

 

How do i get an array from the indata?

0 Kudos
Message 1 of 3
(2,129 Views)
Solution
Accepted by topic author Firas_M

What color is the graph terminal on the block diagram?

Brown = Waveform Data Type - Use "Get Waveform Components" to get the "Y" component

Pink = Cluster - Use the unbundle to get the y info

or

Pink = Array of clusters (xy pairs) - Use a for loop to process the array, in the for loop use the unbundle to get the 2nd element (y value)

 

If none of the above helps, please post your code.

 

Charles

Charles Chickering
Architecture is art with rules.

...and the rules are more like guidelines
Message 2 of 3
(2,115 Views)

Oh my god, i didn't realize it was a cluster with values and one array!

 

Golden response, thank you so much!

0 Kudos
Message 3 of 3
(2,111 Views)