LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

scaling

1.  You take an array, split it at some index, then put it back together.  What comes out is identical to what you put in.

I presume, to prove some of the properties, I got to split the array to get the output which I want. For example, I had split one of the outputs from the DTFT into real / imag signals to perform their individual operations, then put them back together to form a new signal.

 

 

2.  What are you bundling into a cluster?  You have an array, but you are also bundling in an integer 1 and a double numeric value.   What are the 1 and the double supposed to mean?

The array is supposed to show the negative range of the waveform chart. I got the example from this link,  http://zone.ni.com/devzone/cda/tut/p/id/4541#toc3. Is there any other better ways for me to show the negative portion of the waveform?

 

 

Are you actually trying to build a waveform?  If so, you should be using the Build Waveform function on the waveform palette.

Yes, you are right. I'm trying to build a waveform but it seems that those functions which I called before the Build Waveform function are not functioning. Is it some mistake which I had done?

0 Kudos
Message 11 of 13
(682 Views)

1.  Splitting a 1-D array is completely different from taking a complex number and breaking it up into Real and Imaginary parts.

 

2. You aren't using the Build Waveform function at all in your code.  You just used a bundle cluster function.

 

See attached.  It shows that section of code along with the functions that you should be using based on what you are asking for.

 

I am not an expert on FFT's or complex datatypes, so I can't really comment as to whether you are handling those functions correctly.  Some of those functions shown in the link you attached look kind of old.  It's unclear as to what version of LV was used to create that document.  In the link, the F(x) function shows a real and imaginary array coming out.  But the FFT functions you used don't.

 

But look closer at the Bundle cluster used in that document.  You will see the cluster you built is upside down from the cluster they built.

0 Kudos
Message 12 of 13
(679 Views)
I'd tried another method and had solved it already. It works for my initial waveform but not the waveforms after applying DFT.Think I just create another thread.
0 Kudos
Message 13 of 13
(656 Views)