Hello Thank you for your replies. It works! Regards Isaac T.
El jue, 30 sept 2021 a las 3:11, Cyrille Morin (<cyrille.mo...@insa-lyon.fr>) escribió: > Hello Isaac, > > Adding a delay block set to at least 24 could indeed allow you to see your > square signal. > But you can also solve the cause of the issue: > By default, the time sink I assume you are using, is set to display 1024 > samples at a time. So it waits for that amount of samples before plotting > anything. In your case, you are generating only 1000 samples, so the time > sink is stuck waiting for the last 24. > The delay block, as part of its operation, starts by outputting samples > with 0s according to its delay setting, so you can create the 24 you are > missing that way. > You can also set your time sink to display just 1000 samples, and you > should see just what you generated. > > Hope that was clear, > Cyrille > > Le 30 septembre 2021 08:36:34 GMT+02:00, "dominik.walach" < > dominik.wal...@pekasat.com> a écrit : >> >> Hello Isaac, >> >> The solution is quite simple, just add a delay block to the flowgraph >> (see the attachment). Vector Source pushes all the samples at the beginning >> faster than Time Sink can even display it. >> >> Best, >> Dominik >> >> >> >> Od "Discuss-gnuradio" discuss-gnuradio-bounces+dominik.walach= >> pekasat....@gnu.org >> Komu discuss-gnuradio@gnu.org >> Kopie >> Datum Wed, 29 Sep 2021 17:25:04 -0500 >> Předmět VectorSourceBlock-GRC >> >> Hello >> >> I'm Isaac. I'm trying to produce a 1KHz square signal for only one >> period. So I decided to do it with the vector source block (500 ones and >> 500 zeros). But when I run it with the option repeat = No, I only see zero. >> When I put repeat=yes, I see the square but continuous, not only one period. >> >> ¿What am I missing? Any help or advice is welcomed. >> >> Regards >> Isaac T. >> >> >> >> >> >> >> >> >> >> >> >> Cyrille Morin >