Re: [Discuss-gnuradio] SWIG related problem with new filter function

2011-07-03 Thread John Andrews
wig # add some of the variables generated inside the Makefile.swig.gen BUILT_SOURCES = $(swig_built_sources) # Do not distribute the output of SWIG no_dist_files = $(swig_built_sources) On Sun, Jul 3, 2011 at 10:33 AM, Tom Rondeau wrote: > On Sun, Jul 3, 2011 at 3:25 AM, John Andrews w

Re: [Discuss-gnuradio] SWIG related problem with new filter function

2011-07-03 Thread John Andrews
Hi Tom, > Are you doing this in your own top-level block (dsss from the looks of it) > or under a current GNU Radio directory like gnuradio-core where the > gr_firdes currently is? > Yes, I am doing this in my own top-level directory named 'dsss' (abbreviation for direct sequence spread spectrum)

[Discuss-gnuradio] SWIG related problem with new filter function

2011-07-01 Thread John Andrews
Hi, Based on gr_firdes.cc/gr_firdes.h/gfr_firdes.i I developed a similar class to generate filter taps for a Raised Cosine filter. The following is the SWIG interface file and the C++ header with .cc file containing the algorithm for the static function declared in the header. The compilation goes

Re: [Discuss-gnuradio] Raised Cosine Filter design

2011-06-29 Thread John Andrews
on the raised cosine is also nice. > > Its not black magic, so do not fear the source. :P > > --Colby > > On Tue, Jun 28, 2011 at 9:12 AM, John Andrews wrote: > >> Hi, >> I want a raised cosine filter for the transmitter and can someone lead me >> to a pla

[Discuss-gnuradio] Raised Cosine Filter design

2011-06-28 Thread John Andrews
Hi, I want a raised cosine filter for the transmitter and can someone lead me to a place where I can develop one similar to what we have in gr_firdes.h Thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listin

Re: [Discuss-gnuradio] Missing gr_plot_ofdm.py

2011-06-20 Thread John Andrews
http://vps.gnuradio.org/redmine/repositories/entry/gnuradio/gnuradio-examples/python/ofdm/gr_plot_ofdm.py?rev=ab6cf111c1d00b22d9016524b31cfcc6b09ffdc7 On Mon, Jun 20, 2011 at 1:21 PM, smith mark wrote: > Hi all > I want to plot the .dat files that are created by the benchmark_ofdm code. > But I d

Re: [Discuss-gnuradio] Information

2011-06-20 Thread John Andrews
http://gnuradio.org/redmine/wiki/gnuradio On Mon, Jun 20, 2011 at 12:24 PM, bilel mnassri wrote: > HI to all of you, > > > I am a new user of GNUradio companion and i am seraching for > examples using USRP blocks and employing some advances signal processing > techniques such as MIMO. > p

Re: [Discuss-gnuradio] Receive GPS L1 Signal

2011-06-20 Thread John Andrews
On Sat, Jun 11, 2011 at 11:12 AM, Eddie Sun wrote: > Hi all, > > I have a USRP N210 and DBSRX2 daughter board, running on Ubuntu 10.04, and > I would like to get the L1 signal by > > using Gnuradio Companion to draw a GPS receiver flow graph (I have a GPS > Antenna), and I just need to get the IF

Re: [Discuss-gnuradio] sample wise execution of blocks in grc flow graph?

2011-06-15 Thread John Andrews
On Wed, Jun 15, 2011 at 1:31 AM, Henry Matt wrote: > Hi Colby, > > So it means that it if one input comes at 20 samples/sec then it limits the > output rate of my custom block to exactly 20 samples/sec? That is, the other > input, gr_noise_source can provide samples at a rate faster than 20 > sam

Re: [Discuss-gnuradio] Packet Decoder block malfunction after demodulation!

2011-06-15 Thread John Andrews
On Wed, Jun 15, 2011 at 9:53 AM, Vlad Stoianovici < stoianovici_v...@yahoo.com> wrote: > > Dear list, > I'm using a typical UHD USRP source (USRP2) --> Low-Pass filter --> GMSK > Demod --> Packet Decoder --> File Sink receiver flow-graph in GnuRadio to > receive the signal I'm transmitting with a

Re: [Discuss-gnuradio] What happens to incoming data if a block is too slow?

2011-06-13 Thread John Andrews
Is the data coming in the buffer FIFO? Is there a way to keep track of how much data is lost? On Mon, Jun 13, 2011 at 6:35 PM, Marcus D. Leech wrote: > Hi, >> What happens to the incoming data from USRP, over the USB bus, when a >> gnuradio block takes a lot of time to process its output? Is the

[Discuss-gnuradio] What happens to incoming data if a block is too slow?

2011-06-13 Thread John Andrews
Hi, What happens to the incoming data from USRP, over the USB bus, when a gnuradio block takes a lot of time to process its output? Is the data buffered indefinitely or is it dropped as new samples come in case the consumption rate is slow. Thanks ___ Di

[Discuss-gnuradio] Direct conversion receiver

2011-06-12 Thread John Andrews
Hi, If the signal transmitted at the transmitter is represented as, x(t) = X_i(t)cos(2*pi*fc*t) - X_q(t)sin(2*pi*fc*t), where X_i(t) and X_q(t) are inphase and quadrature components of the message signal. then, at the receiver does the following equation correctly represent the signal after downco

Re: [Discuss-gnuradio] Signal coming from the USRP to the computer

2011-05-31 Thread John Andrews
gt; National Instruments > > > > From:John Andrews > To:Patrick Sisterhen > Cc:discuss-gnuradio@gnu.org > Date:05/31/2011 02:08 PM > Subject:Re: [Discuss-gnuradio] Signal coming from the USRP to the > computer >

Re: [Discuss-gnuradio] Signal coming from the USRP to the computer

2011-05-31 Thread John Andrews
sets(frequency, phase etc). On Tue, May 31, 2011 at 11:47 AM, Patrick Sisterhen < patrick.sister...@ni.com> wrote: > I think a little more detailed precise answer to John's question might > help: > > John Andrews wrote: > > > each complex sample that enters the > &

Re: [Discuss-gnuradio] Signal coming from the USRP to the computer

2011-05-29 Thread John Andrews
this system was right. Thanks for the reply. On Sun, May 29, 2011 at 4:11 PM, Marcus D. Leech wrote: > On 05/29/2011 04:50 PM, John Andrews wrote: > >> Hi All, >> I want to know what is the signal coming from the USRP onto the USB bus. I >> know that the received signal

[Discuss-gnuradio] Signal coming from the USRP to the computer

2011-05-29 Thread John Andrews
Hi All, I want to know what is the signal coming from the USRP onto the USB bus. I know that the received signal is a baseband signal and assuming complex sampling (I have RFX2400 daughterboards) each complex sample that enters the USB bus is the following, x[i] = (inphase_component) + j (quadratu

[Discuss-gnuradio] USRP complex multiplication question

2011-05-25 Thread John Andrews
Dear All, I have a question regarding the first complex multiplication process with the IF sinusoid in the USRP. Which of the scheme mentioned below is actually happening in the USRP? Let's say that two ADCs provide the sampled received signal to the next stage of processing. Let's call the sample

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
per settings too. > > I am not using any filters as I hope the SNR is high enough. > > Thanks > > On Mon, May 16, 2011 at 3:47 PM, Marcus D. Leech wrote: > >> On Mon, 2011-05-16 at 15:34 -0500, John Andrews wrote: >>> >>>> I am running it at

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
t 15:34 -0500, John Andrews wrote: >> >>> I am running it at 2.5GHz. >>> >> What magnitude are the samples you're feeding into the USRP sink? >> >> --n >> >> Also, by default the RFX2400 has a TX filter that's centered at 2.441GHz >

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
I am running it at 2.5GHz. On Mon, May 16, 2011 at 12:39 PM, Nick Foster wrote: > On Mon, 2011-05-16 at 12:32 -0500, John Andrews wrote: > > I am using the 1st generation USRP with RFX2400 daughterboards each > > connected to the TX/RX interface. > > > > In the sin

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
: > On Mon, 2011-05-16 at 12:23 -0500, John Andrews wrote: > > I am using GRC. I used a signal source block generating a complex sine > > at 100kHz. The USRP interpolation is 128 and the sampling rate of the > > sine generator is 1MHz. The USRP connected to another compute

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
Leech wrote: > On 16/05/2011 1:03 PM, John Andrews wrote: > > Shouldn't I use some kind of modulation scheme to do this, like FM or AM, > to transmit a tone? > > No, you can just transmit a narrow, single-frequency tone, and use the > receivers FFT to determine how far off it

Re: [Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-16 Thread John Andrews
Shouldn't I use some kind of modulation scheme to do this, like FM or AM, to transmit a tone? On Mon, May 16, 2011 at 10:02 AM, Marcus D. Leech wrote: > On 16/05/2011 10:26 AM, Alexander Chemeris wrote: > >> You may also look into this code: >> http://thre.at/kalibrate/ >> It estimates offset of

[Discuss-gnuradio] How can we measure the frequency offsets between two USRPs?

2011-05-15 Thread John Andrews
How can we correctly measure what is the frequency offset between the two USRPs? Thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Baseband GPS OTA USRP capture that anyone can share?

2011-05-09 Thread John Andrews
Hi, Is there is anyone here who has GPS OTA capture using USRP that they are willing to share? I don't have a USRP and I am interested in demodulating the GPS signal. Thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org

Re: [Discuss-gnuradio] Help: Tracing modulation & demodulation

2011-03-27 Thread John Andrews
On Sat, Mar 26, 2011 at 12:31 AM, wrote: > Hello every one... > > i am a newbabie in gnuradio... > > i am trying to trace demodulation... > currently i am reading gmsk.py... > > how can i go further... > Keep reading > > > Thanks for all you in advance... > > >

Re: [Discuss-gnuradio] Generating complex exponential stream

2011-03-22 Thread John Andrews
On Mon, Mar 21, 2011 at 6:53 PM, Praveen Vikram wrote: > Hi, > > I'am new to GNURadio. I started off writing a few signal processing blocks > (since I'am more comfortable with C++ than Python). > Welcome > > So far, I have written a signal block for circular correlation (to get an > idea of the

Re: [Discuss-gnuradio] Help : i want to install gnuradio-core only and for that what are the required blocks i need to install to support the gnuradio-core.

2011-03-17 Thread John Andrews
Why don't you just install the way it is and save yourself some time? The remaining blocks that you mentioned are not going to affect your learning at all so instead of wasting time and having all sorts of doubts follow the installation instructions carefully and start playing with gnuradio. Good

Re: [Discuss-gnuradio] Passing a message from one block to other

2011-01-15 Thread John Andrews
Thanks Tom, I will definitely take a look at it and keep you informed. Thanks, John On Thu, Jan 13, 2011 at 5:12 PM, Tom Rondeau wrote: > On Wed, Jan 12, 2011 at 2:43 PM, John Andrews wrote: > > Hi, > > Suppose I have two gnuradio blocks called gr_ACQUISITION and gr_TRA

[Discuss-gnuradio] Passing a message from one block to other

2011-01-12 Thread John Andrews
Hi, Suppose I have two gnuradio blocks called gr_ACQUISITION and gr_TRACKING where, gr_TRACKING is dependent upon some result derived from gr_ACQ block. Is it possible to pass certain messages to gr_TRACK in order to change its state while the flowgraph is running? One way to do is to have an outpu

Re: [Discuss-gnuradio] Baseband vs. Carrier freq.

2011-01-12 Thread John Andrews
I suggest you to first look into the USRP documentation available on gnuradio website. In it you will learn how a USRP upcoverts and downconverts a signal. In gnuradio we always deal with baseband signals i.e. the signal reaching your computer from the usrp or the signal entering the usrp from the

Re: [Discuss-gnuradio] sample file

2010-12-09 Thread John Andrews
Check out this link. You will find everything you want. http://www.ansr.org/kd7lmo/www.kd7lmo.net/ground_gnuradio_ota.html On Wed, Dec 8, 2010 at 8:58 PM, Justin Kelly wrote: > Could someone be kind enough to make a DVD for me with the raw samples of > the FM Broadcast band? > > The reason I'm

Re: [Discuss-gnuradio] how to see the captured dat file in octave or any other software

2010-12-06 Thread John Andrews
Abhijeet, If you just want to read the contents of the files then you can read them using the scripts provided in */gnuradio/gnuradio-core/src/utils/. read_char_binary, read_complex_binary etc will suffice most of your needs. I normally addpath('/opt/gnuradio/gnuradio-core/src/utils') in MATLAB a

Re: [Discuss-gnuradio] Arbitrary resampler

2010-12-06 Thread John Andrews
That was a very helpful post Tom. Thank you very much. On Mon, Dec 6, 2010 at 2:02 PM, Tom Rondeau wrote: > I just made a new post about the PFB arbitrary resampler. I just > pushed to git:master a feature where you can just specify the > resampling rate and not worry about designing your own t

Re: [Discuss-gnuradio] usrp_fft.py question and benchmark related question

2010-12-02 Thread John Andrews
Got it. Saw the earlier message too. Thanks On Thu, Dec 2, 2010 at 12:12 PM, John Andrews wrote: > > > On Wed, Dec 1, 2010 at 5:14 PM, Eric Blossom wrote: > >> On Wed, Dec 01, 2010 at 04:57:11PM -0600, John Andrews wrote: >> > Hi, >> > Can we change the D

Re: [Discuss-gnuradio] costas_loop_cc ()

2010-12-02 Thread John Andrews
Of course its the same file. If you are making any changes in the C++ file then you must compile it before you can see those changes. Did you do "make" and "make install" after your changes? On Thu, Dec 2, 2010 at 10:45 PM, Guanbo Zheng wrote: > Hi, > > I found that for CFO compensation, there i

Re: [Discuss-gnuradio] usrp_fft.py question and benchmark related question

2010-12-02 Thread John Andrews
On Wed, Dec 1, 2010 at 5:14 PM, Eric Blossom wrote: > On Wed, Dec 01, 2010 at 04:57:11PM -0600, John Andrews wrote: > > Hi, > > Can we change the DDC value to 0 in usrp_fft.py? Why is this not 0 as one > > would expect to input the center frequency same as the baseband >

[Discuss-gnuradio] usrp_fft.py question and benchmark related question

2010-12-01 Thread John Andrews
Hi, Can we change the DDC value to 0 in usrp_fft.py? Why is this not 0 as one would expect to input the center frequency same as the baseband frequency; i.e. if I know that my signal is on a carrier at 2.4G then I would use usrp_fft.py to display the spectrum by having the center frequency as 2.4G

[Discuss-gnuradio] Re: gr_pfb_clock_sync_ccf.cc question related to work function

2010-11-25 Thread John Andrews
to the correct subfilter. By updating the count variable by d_sps aren't we losing information as we are dropping d_sps - 1 samples on every iteration of for-loop in work function. Thanks On Tuesday, November 23, 2010, Tom Rondeau wrote: > On Mon, Nov 22, 2010 at 6:01 AM, John Andrew

[Discuss-gnuradio] Re: gr_pfb_clock_sync_ccf.cc question related to work function

2010-11-22 Thread John Andrews
I got it. The polyphase filter is implemented by having a single stage filter and choosing the right taps from the set of 'nfilts' taps rather than having nfilts filter stages. This of course is computationally more efficient. On Sat, Nov 20, 2010 at 9:47 PM, John Andrews wrote: >

[Discuss-gnuradio] gr_pfb_clock_sync_ccf.cc question related to work function

2010-11-20 Thread John Andrews
Hi, I was trying to understand the code of the new clock sync block gr_pfb_clock_sync_ccf.cc and although I understand most of it there is one particular thing that confuses me. This is what I understood so far 1. There are two filter banks present. A) For RRC filtering B) the differential filter

[Discuss-gnuradio] Help - Custom block generating data @ 1:5115 input to output ratio causes flowgraph to hang -- how to prevent this

2010-11-17 Thread John Andrews
Hi, I am posting this question again with better explanation as I got no help yet. I have a custom C++ block that I use in the modified dbpsk.py modulation scheme. This block basically spreads each input data bit by 1023. The flowgraph connect looks like this self.connect(self,self.bytes2chunks,s

Re: [Discuss-gnuradio] Re: Flowgraph slows down and hangs when using benchmark_tx with a custom block

2010-11-15 Thread John Andrews
othly like benchmark_tx.py normally does with the other modulation schemes? Thanks On Mon, Nov 15, 2010 at 12:17 PM, John Andrews wrote: > This is what I am doing in general_work > > 1. I read an item from the input stream. > 2. Check if its 0x01 or 0x00. > 3. If its 0x01 I output the

Re: [Discuss-gnuradio] Re: Flowgraph slows down and hangs when using benchmark_tx with a custom block

2010-11-15 Thread John Andrews
&output_items) { const unsigned char *in = (const unsigned char *)input_items[0]; unsigned char *out = (unsigned char *)output_items[0]; int data_items=noutput_items/(d_length_PN*d_n_pn); int nout=0; for(int i=0;iwrote: > On Mon, Nov 15, 2010 at 11:43 AM, John Andrews wrote: > &

[Discuss-gnuradio] Re: Flowgraph slows down and hangs when using benchmark_tx with a custom block

2010-11-15 Thread John Andrews
On another note I use 'gr_block' to build this custom block On Mon, Nov 15, 2010 at 11:37 AM, John Andrews wrote: > Hi, > I have a modified dbpsk.py in which I use a custom block after the > self.diffenc (differential encoder block). This custom C++ block outputs > 100

[Discuss-gnuradio] Flowgraph slows down and hangs when using benchmark_tx with a custom block

2010-11-15 Thread John Andrews
Hi, I have a modified dbpsk.py in which I use a custom block after the self.diffenc (differential encoder block). This custom C++ block outputs 1000 output_items of size 'gr_sizeof_char' for each input_item of size 'gr_sizeof_char'. I then use benchmark_tx.py to test the functioning of the modified

[Discuss-gnuradio] new modulation schemes do not work on my usrps while the old ones work

2010-11-14 Thread John Andrews
hi, I have the latest gnuradio installed on my Ubuntu 10.04 computers and two USRPs with RFX-2400 cards. I tested the benchmark_tx.py/benchmark_rx.py and benchmark_tx2.py/benchmark_rx2.py with dbpsk and dbpsk2 modulation schemes but only the old schemes work. 1. With old schemes both usrps transmi

[Discuss-gnuradio] Question about new modulation schemes dbpsk2

2010-11-11 Thread John Andrews
Hi, The rrc filter parameters in the new modulation scheme in dbpsk2 confuses me. Why is the symbol rate in dbpsk2 equal to " 1.0/float(self._samples_per_symbol) " whereas, in dbpsk it was 1.0? Thanks, Mir ___ Discuss-gnuradio mailing list Discuss-gnurad

[Discuss-gnuradio] Weird error in gnuradio block related to gr.file_source

2010-11-03 Thread John Andrews
Hi, I am confused with the error that I am having in my block. I have two files that I use for testing the gnuradio block that I am developing. The input (type gr_complex) to the block is a gr.file_source and I use 4092 input_items that I store in a buffer to work in the general_work function. In

[Discuss-gnuradio] Re: Lots of mallocs in my gnuradio block ... is it safe?

2010-10-17 Thread John Andrews
haha! I just realized that this is a great deal of memory used. 250*2046*4. I am so dumb. :) I guess I will have to calculate this on each iteration i use that data. On Sun, Oct 17, 2010 at 9:08 PM, John Andrews wrote: > Hi, > I am writing the code for a gnuradio block and I use a

[Discuss-gnuradio] Lots of mallocs in my gnuradio block ... is it safe?

2010-10-17 Thread John Andrews
Hi, I am writing the code for a gnuradio block and I use a lot of dynamic memory allocation. The code isn't finished yet but I thought I would ask this question anyways. For an idea this is how the mallocs look like. 1. (204 + 5 + 204) gr_complex arrays of size 2046 each 2. 1 double array of size

[Discuss-gnuradio] Mux setting question - 0xF0F0F0F0

2010-10-11 Thread John Andrews
Hi, What does a mux setting of 0xf0f0f0f0 do? Does it convert the data coming from ADC0 to a complex downcoverted signal which can be obtained at DDC0. I want to know if the I and Q channel both have the inphase and quadrature part or is it just that the I is the digitized data from ADC0 and the Q

Re: [Discuss-gnuradio] Optimal way of performing multiple FFTs on a stream of data

2010-09-30 Thread John Andrews
Thanks Eric. My FFTs are not that big so I guess I will be fine. On Wed, Sep 29, 2010 at 4:59 PM, Eric Blossom wrote: > On Wed, Sep 29, 2010 at 01:47:22PM -0700, John Andrews wrote: > > Hi, > > This is more of a programming question than a gnuradio question. > > > &g

Re: [Discuss-gnuradio] Same File Size

2010-09-29 Thread John Andrews
If throttle is removed then how can we prevent the cpu being used up if there is not rate limiting block in the flowgraph ? On Wed, Sep 29, 2010 at 1:46 PM, Justin Bracken wrote: > -- Forwarded message -- > From: Justin Bracken > Date: Wednesday, September 29, 2010 > Subject: Sa

[Discuss-gnuradio] Optimal way of performing multiple FFTs on a stream of data

2010-09-29 Thread John Andrews
Hi, This is more of a programming question than a gnuradio question. I am writing a C++ block that takes in a stream of complex data, an N element block {B} is chosen from the stream, this block is multiplied with a set {M1, M2, M3...Mn} where size of each set element is N (same as data block) too

[Discuss-gnuradio] please help - i am stuck - spreading data and bpsk

2010-09-11 Thread John Andrews
hi, Can someone please tell me how to do this? I want to generate DSSS with BPSK modulation in gnuradio but I have a few doubts that couldn't be cleared even after a lot of looking for an answer. The DSSS transmitter block diagram from various books shows that i have to XOR the input data with th

[Discuss-gnuradio] Cross correlation of complex signals in gnuradio

2010-09-06 Thread John Andrews
hi, I want to cross-correlate two complex signals in gnuradio. is there a block to do that? Thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] complex multiplication question

2010-08-05 Thread John Andrews
SO be estimated to close this system and > track. My little equation above ASSUMES perfect knowledge of S(n) which is > NEVER the case in a real system. > > Bob > > > > > > > On 8/3/2010 9:45 PM, John Andrews wrote: > >> Hi, >> can someone guide me

[Discuss-gnuradio] complex multiplication question

2010-08-03 Thread John Andrews
Hi, can someone guide me a little here please. I have a complex signal S(n) that I multiply with a sequence P(n) of length N (the sequence consists of {-1,1} ). I pass the product into a Costas Loop to track the carrier. Btw, the complex_input signal a spread signal spread using the sequence P(n) a

Re: [Discuss-gnuradio] How do the Scheduler and the flowgraph work?

2010-07-15 Thread John Andrews
This loop does all your work. Without it your block is useless. :) To know how the scheduler chooses the value of items that are passed into the work() function I suggest you look into scheduler's code. It's a fairly easy to understand C++ code and most of your answers will be answered. According

Re: [Discuss-gnuradio] Transmit signal power - How to find from the amplitude set in transmit_path?

2010-07-15 Thread John Andrews
you are right but I don't neither do i have an scope nor a power meter. Any other suggestion? On Sat, Jul 10, 2010 at 6:01 PM, Brian Padalino wrote: > On Sat, Jul 10, 2010 at 8:32 PM, John Andrews wrote: > > Hi, > > I want to calculate the power of the signal(in

[Discuss-gnuradio] Transmit signal power - How to find from the amplitude set in transmit_path?

2010-07-10 Thread John Andrews
Hi, I want to calculate the power of the signal(in dBm) transmitted in benchmark_tx.py. The transmit_path sets an amplitude in the range [0,1] but how will I convert this into the actual power. I just want to know where should I be looking in order to calculate it myself. Thanks, John

Re: [Discuss-gnuradio] write my own module ,but get an import error

2010-07-01 Thread John Andrews
this usually happens when the SWIG interface file is incorrect. Specifically check the interface definition of "mimo_make_ofdm_mapper" block. I am sure the mistake lies here and correcting this will fix it. I had such errors too and I always found the error in the SWIG interface file. good luck Mi

Re: [Discuss-gnuradio] channel model question

2010-06-28 Thread John Andrews
or cycle. > > Try this out in grc. Look at the signal source in the scope sink, and then > try it with 1.0 as the sample rate and freq/samp_rate as the frequency. It > will look the same. > > -Josh > > > On 06/28/2010 03:56 PM, John Andrews wrote: > >> But still t

Re: [Discuss-gnuradio] channel model question

2010-06-28 Thread John Andrews
meter. > > The signal source works like that. I suppose that means that the sample > rate and frequency are redundant because you really only care about the > ratio between them. > > _josh > > oh consistency... > > > On 06/28/2010 02:12 PM, John Andrews wrote: > >

[Discuss-gnuradio] Re: channel model question

2010-06-28 Thread John Andrews
sorry guys my bad. The frequency_offset here is a ratio of the input sampling frequency. I should be RTFMing more carefully. :) Thanks John On Mon, Jun 28, 2010 at 2:12 PM, John Andrews wrote: > Hi, > I have a nagging doubt about how the channel model is implemented in > gnuradio.

[Discuss-gnuradio] channel model question

2010-06-28 Thread John Andrews
Hi, I have a nagging doubt about how the channel model is implemented in gnuradio. Suppose I have an input signal entering the channel model at 100,000 samples/sec. Let's say the channel model has to add an offset of 1000Hz to the input signal. Then I must have 100,000 samples of a 1000Hz SINE_WAVE

[Discuss-gnuradio] Can we loopback data from computer to USRP's DAC to ADC and back to the computer?

2010-05-14 Thread John Andrews
Just curious to know. It doesn't serve any purpose but would like to try. Maybe it does. Thanks ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Spread Spectrum question in gnuradio

2010-05-05 Thread John Andrews
ease suggest me a way. Thanks, John On Thu, Apr 29, 2010 at 8:11 AM, Martin DvH wrote: > On Wed, 2010-04-28 at 11:23 -0700, Johnathan Corgan wrote: > > On Tue, Apr 27, 2010 at 21:19, John Andrews wrote: > > > > > If I want to transmit a signal which is DSSS spread using

[Discuss-gnuradio] Spread Spectrum question in gnuradio

2010-04-27 Thread John Andrews
Hi, If I want to transmit a signal which is DSSS spread using BPSK. Is it correct for me to first digitally spread the incoming data bits and then apply BPSK before sending it to the USRP or should I first convert the signal to BPSK and then multiply the output of the BPSK modulator with the PN seq