discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to hold a values from file source


From: Josh Blum
Subject: Re: [Discuss-gnuradio] How to hold a values from file source
Date: Wed, 27 Oct 2010 08:35:17 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101006 Thunderbird/3.1.5

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<address@hidden>



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
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio




_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]