10-18-2009 04:23 PM - edited 10-18-2009 04:24 PM
I would like to use the basic function generator to create a continuous waveform.
im not sure if Im performing or using the function generator correctly.
for each iternation of the while loop, I would like to output only one point of the sinusoid.
Then the next iternation would produce the next corresponding point in the sinwave.
it seems to keep missing some points
Im not sure why this is.
Its hard to notice unless the plot is made to only show little squares for each sample point.
Solved! Go to Solution.
10-18-2009 04:57 PM
10-18-2009 05:13 PM
yea, it seems the sinwave generator doesent seem to have that problem.
i guess i loose the ability to interchange the waveforms though.
10-19-2009 11:05 AM
i assume you were talking about the simulate signal express vi.
this is the one that does not have the problem
the sine wave genetaor does have the problem where it skips points.
the simulate signal express vi does not miss points but it is horrible for computation speed.
the program goes from 10000 iterations a second to 1000 iteration a second when i replace the function generator with this express vi
10-19-2009 12:46 PM
Actually, I was talking about the sine function in the math palette. You could also use the Sine Pattern VI to generate one cycle and repeatedly index the array inside the while loop.
I tend to avoid Express VIs for the reasons you've discovered, amongst others.