I want to generate a swept sine waveform and I have two questions?
1- How can I generate a swept sine wave?
2- I want to continue to generate an output at top frequency once the sweep finished. How can I accomplish this?
This type of swept sine is referred to as a chirp. You can use this code or search the site for other options.