Thank you for your advice. I've tried to use 0x00 and 0xFF, and it works Your advice is very helpful :)
2010/10/28 Josh Blum <[email protected]> > I tested this with a vector source that was either all 0s or all 0xffs and > it behaves as expected. Every byte in your file should be 0 or 0xff. Is this > the case? -josh > > > On 10/27/2010 12:40 AM, songsong gee wrote: > >> For more details, I have two files for test. One is 'all1' and another is >> 'all0' >> >> +---------------------------------------------+ 'all1' >> |11111111111111111111111111| >> +---------------------------------------------+ result >> <http://goo.gl/fPHK>(image) >> >> +---------------------------------------------+ 'all0' >> |00000000000000000000000000| >> +---------------------------------------------+ result >> <http://goo.gl/P1HH>(image) >> >> >> (For convenience, I copied links to a diagram ASK.grc >> <http://goo.gl/0WHt>(image)) >> >> >> It seems that reading 0's appear more frequently in test with 'all0' >> So... I think it works somehow but... not perfect because non-zero values >> never appear in sending a 0 bit. >> I think there might be a somewhat 'blank out' of values from file source >> >> Is it inevitable when using file source block? >> Or Is it a somewhat sync problem? >> >> I'm new to GRC so it's a kind of hard things :( >> >> 2010/10/27 Josh Blum<[email protected]> >> >> >> >>> On 10/26/2010 10:17 PM, songsong gee wrote: >>> >>> Currently I am trying to make an ASK (Amplitude Shift Keying) >>>> >>>> I use GNURadio Companion, >>>> >>>> The program gets the input from file source and multiplies it with >>>> signal >>>> source. >>>> >>>> And I monitors via Scope and FFT plots >>>> >>>> You can see a diagram ASK.grc (image)<http://goo.gl/0WHt> >>>> >>>> And the result is somewhat weird. Plots (image)<http://goo.gl/UcF9> >>>> >>>> >>>> It seems sinusoidal, but the shape looks like sawtooth! >>>> >>>> >>>> You are multiplying random 1s and 0s by a sinusoid. And you have a >>> sinusoid >>> that is randomly either 0 or sine(x). It looks correct! >>> >>> Perhaps you want to increase the temporal width of your symbols? In that >>> case, I suggest using the repeat block. >>> >>> _josh >>> >>> _______________________________________________ >>> Discuss-gnuradio mailing list >>> [email protected] >>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >>> >>> >> >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> [email protected] >> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio > -- Seokseong Jeon a.k.a., *Gee Songsong* combined course in ITCE (IT Convergence Engineering), POSTECH WCU program mail: [email protected] phone: +82)10-8338-1229
_______________________________________________ Discuss-gnuradio mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
