LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in making a waveform graph

Hallo All !

i made a small program that can calculate the bandwidth of the magnitude in the fourier domain resulted from this mathematical formula: (V(t) = 1/(4*((pi)*a*t)**3/2) * exp(-(x**2+y**2 + z**2)/4*a*t) ) "Where x,y,z,a have particular values".

 

Now i would like to illustrate the relation between this bandwidth and the time in waveform Graph. i mean a waveform graph that shows me how the bandwidth changes when the time changes for example from 0 to 200. So the time should be the x-achse and the bandwidth should be the y-achse.

How can i do it? i attached my program.

thanks in advance

0 Kudos
Message 1 of 3
(2,508 Views)

You could use an XY Graph, which is a 1D array of clusters that hold the X and Y values.

 

By the way, you may want to get rid of your local variable (FFT) and just wire it directly to the indicator.

 

 

Message Edited by vt92 on 01-12-2009 02:42 PM
>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 3
(2,464 Views)

Why dont you try something like this:

Just subsitute in your values for A,X,Y, and Z.

You can enter a start and end for the range, and number of points to evaluate.

If you need to change a,x,y, or z, you use some string functions to concatenate a function together.

If you need help doing that, let me know and I will show you and example.

Message Edited by Cory K on 01-13-2009 12:42 PM
Cory K
0 Kudos
Message 3 of 3
(2,431 Views)