Ok, but first I'd better, uh, fix it.
I tried it out last night for a wider range of inputs than I
originally needed to accomodate, and found a few that didn't work out
correctly. I had made the subvi more universal than it strictly
needed to be, but had primarily tested it for a fairly restric
Kevin,
That sounds like a neat example. If you are able to post it, you can
upload it Example Code Library:
http://www.ni.com/devzone/dev_exchange/ex_search.htm
Matt P.
Applications Engineer
National Instruments
Cool, I've been waiting for someone to ask this question b/c I
put together a fairly nifty solution to it when I faced the same
problem. Assuming, that is, that you're making an output buffer
representing a waveform with one particular frequency and then doing a
continuous output that cycles throu
If you are regenerating the same buffer, then you want to make sure
the buffer has a whole number of periods. If you have 2.5 periods in
your buffer and are regenerating this same buffer, you would get the
middle of the third period and then start over at the beginning of
your 1st period, giving y
I am trying to generate a continuous waveform at all frequencies
ranging from 100Hz-20kHz. The standard buffer size of 1000 works well
for multiples of 100 between 100 and 1000Hz and for multiples of 1000
from 1kHz-20kHz. However, when I try to generate waveforms at
intermediate values such as 1800