LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array rearrangement

Hi all,
 
I have a problem getting the elements to line up into the array I wanted. In the block diagram, I wanted an Array X of 25 figures to undergo Sine Function, with each generated readings of Sine Function, I wanted the equivalent reading in time,
 
i.e. For array X at 0, I wanted the output value at t = 0, and at array X at 1, I wanted the output at t = 1 and so on.
 
I was able to get the individual elements out, however, I could not transform them into an array. I needed them to be an array because I wanted to FFT them later on. Could anyone advise me on what to do?
 
Thank you!
 
Howk
0 Kudos
Message 1 of 3
(2,878 Views)
The FFT will take a waveform array quite nicely, no need to break out the waveform elements. If you want an array of waveforms, just wire the output of the Sine function to the edge of the For loop:

Message Edited by Bill@NGC on 07-16-2007 09:28 PM

0 Kudos
Message 2 of 3
(2,854 Views)
Dear Bill,
 
My objective is not to get individual FFT graphs from time 0 to 30.
 
I am not sure if I am explaining things right, but what I want in the end, is the maximum points at each FFT from 0 to 30, and capture them into the graph.
 
Hence I broke up the elements, taking only the ones I am interested in. When these elements undergo the FFT, I will get their values in F-domain, and hence the graph will be plotted out to my expectations, correct?
 
Thank you for replying.
 
Howk
0 Kudos
Message 3 of 3
(2,846 Views)