09-09-2012 10:28 PM
Hello,
I am interested in generating a sine signal whose frequency and amplitude change after every cycle. For example: lets assume we have two amplitudes a1, a2 and frequencies f1 and f2.
I want a sine signal with a1, f1 and a2, f2 alternatingly. One sine pulse a1,f1 and other sine pulse a2,f2 and this pattern repeats.
09-09-2012 10:59 PM
Where are you having a problem?
There are functions on the waveform palette to allow you to build the different cycles of the sine wave. Then you can append the two different periods of the two sine waves together to build it into one waveform.
09-09-2012 11:11 PM
09-10-2012 12:31 AM - edited 09-10-2012 12:33 AM
Hi Preetham,
See the waveform palette,
Function pallete>>programming>>waveform
09-10-2012 04:16 AM
09-10-2012 10:14 AM
Hello srikrishnaNF,
Thanks for the solution. But the issue is I just want to append one cycle of a1,f1 and one cycle of a2, f2. f1 and f2 could be DBL. Let me know if you have a solution. I shall appreciate it.
09-10-2012 10:25 AM - edited 09-10-2012 10:26 AM
@Preetham1 wrote:
Hello srikrishnaNF,
Thanks for the solution. But the issue is I just want to append one cycle of a1,f1 and one cycle of a2, f2. f1 and f2 could be DBL. Let me know if you have a solution. I shall appreciate it.
I would make an array for your amplitudes and frequencies. Use a FOR loop to create the waveforms and concatinate.
09-10-2012 10:45 AM - edited 09-10-2012 10:47 AM
I just realized what you were asking for. Sorry for the misinterpretation. See if this works for you.