How to get a pulse waveform

Hello,

how can I get a sample code to obtain a 2 seconds pulse waveform?

Thanks

More questions in this forum