Re: [Discuss-gnuradio] question regarding "eth0: socket"

2010-01-26 Thread Milo Wong
Thank you for your fast response. If I only use USRP( not USRP2), this should not be a problem, right? Since USRP has nothing to do with eth0:socket On Tue, Jan 26, 2010 at 11:32 AM, Johnathan Corgan < jcor...@corganenterprises.com> wrote: > On Tue, Jan 26, 2010 at 11:20, Milo Wo

[Discuss-gnuradio] question regarding "eth0: socket"

2010-01-26 Thread Milo Wong
Hey folks, I followed the installation instructions on wiki page, however, I still met "Operation not permitted" problem shown below even though I added the USRP group and obtained the permission to access USRP. So far, benchmark_tx.py works correctly, but I was wondering if this message is a crit

[Discuss-gnuradio] permission to access /usr/local

2010-01-20 Thread Milo Wong
Hi all, I use "sudo make install" to setup the gnuradio in ubuntu9.10. The problem is that I have to use "sudo" every time to run an application(./benchmark_tx.py). Without running as a super user, I will receive the error msg like could not load the firmware to FPGA through USB, permission denie

[Discuss-gnuradio] different sample rate at inputs

2009-09-28 Thread Milo Wong
Hi all, If I have two input streams at different sample rate(e.g. 44.1KS/s and 2MS/s) , what about the output rate if I multiply those input streams by gr.multiply_ff() ? I know this question is kind of silly, but I really need a little help from you guys. Thank you, Milo __

[Discuss-gnuradio] Re: Freq in real world vs. Freq in the SW

2009-09-21 Thread Milo Wong
Oh, There was a typo in my previous description: The sub-carrier freq I set in SW is 4MHz not 2MHz (i.e. 4MHz sub-carrier set in SW results in a 50KHz sub-carrier on FFT.). Please let me know if you have any comments. Thank you. Milo Milo Wong wrote: Hi folks, I wrote a amplitude

Re: [Discuss-gnuradio] Problems of lost of BINS

2009-09-16 Thread Milo Wong
Eric Blossom wrote: On Wed, Sep 16, 2009 at 11:34:38AM -0700, Milo Wong wrote: Hi folks, I have implemented a multi sub-carriers AM transmitter and here I still have a strange problem: I plotted the FFT of the modulated signal at baseband (as attached) and the number of the bins (spikes

[Discuss-gnuradio] Questions regarding interpolator and usrp.sink_c configuration

2009-09-10 Thread Milo Wong
Hi All, Here I have a couple of questions during my project: 1, I am receiving "uU"(usrp underrun) when I am transmitting, it seems that the data rate I feed to DAC is less than 128MS/s? I've already set the maximum interpolation rate at 512. What's the problem might be? I guess the input dat

[Discuss-gnuradio] Scale into a proper range before input to USRP

2009-09-09 Thread Milo Wong
Hi all, I was thinking about the ways of scaling the modulated complex(with imag. part equals to 0) symbol to the range +/- 32767 which is accepted by USRP. My idea is to find the output range (Min, Max) and first scale to range(0, 65535) and then subtract by 32767 to drop in the range (-3276

[Discuss-gnuradio] Question regarding destructor and member functions in C++ source

2009-09-07 Thread Milo Wong
Hi all, I was wondering why most of the gnuradio blocks don't have destructor even though they have constructor defined in C++ source(e.g. gr_ofdm_mapper_bcv.cc)? Is that due to the features of smart pointer, boost::shared_ptr ? Another question is : What is the difference between using "cl

Re: [Discuss-gnuradio] Install the new block

2009-09-02 Thread Milo Wong
Hi Johnathan, I solved it. What I mean is installing a new block I wrote by myself to PYTHONPATH. Just "sudo make install" at top directory. Thank you :-) Milo On Wed, Sep 2, 2009 at 11:57 AM, Johnathan Corgan < jcor...@corganenterprises.com> wrote: > On Wed, Sep 2, 2009

[Discuss-gnuradio] Install the new block

2009-09-02 Thread Milo Wong
Hi all, My block finally works! But still I got a question about installing: I found the following scripts in Makefile.am (in the same directory with .cc .h .i files) # Install so that they end up available as: # import gnuradio.lpi # This ends up at: # ${prefix}/lib/python${python_version}

[Discuss-gnuradio] Segmentation fault when "make check"

2009-09-01 Thread Milo Wong
Hi All, I was writing a new block and the "make" process of source files(.cc .h .i, etc) was successful. However, when I "make check" to test the block, there's an error message "Segmentation fault" coming out. I searched the previous discussions but there were not too much useful information. I k

[Discuss-gnuradio] Question regarding struct type definition in header files

2009-08-31 Thread Milo Wong
Hi all, I am working on writing a new block(class). This block generates 4 streams of sinusoid at different frequencies and each sinusoid is multiplied with the 4 streams of float input respectively. The sinusoid are generated by defining two struct type variables and do something with these two

Re: [Discuss-gnuradio] gnu radio installation: grc and gtk issues.

2009-08-26 Thread Milo Wong
Yu Gu, Try to install from binary source for Unbuntu: http://gnuradio.org/trac/wiki/DebianPackages Thanks, Milo ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] fundamentals of block-connections, message queue etc.

2009-08-25 Thread Milo Wong
Hi Colby, Based on what you said, is that means, at Tx side, the encoded data stream from encoder should also be loaded into gr.msg_queue() and applies delete_head() funtion? Thank you, Milo On Tue, Aug 25, 2009 at 8:08 PM, Colby Boyer wrote: > Within the BBN RX side, all the processing block

Re: [Discuss-gnuradio] compiling c++ blocks

2009-08-25 Thread Milo Wong
Hi all, If I have .cc .h .i and Makefile.am all ready, could I go back to the top directory containing "configure" and make again(make from the top) instead of using automake at src/lib directory in order to generate the make file? Thank you, Milo On Fri, Aug 21, 2009 at 9:15 AM, Douglas Geig

Re: [Discuss-gnuradio] Question regarding multiple flow graphs in tx_voice.py

2009-08-24 Thread Milo Wong
oder.delete_head() Thank you, Milo On Mon, Aug 24, 2009 at 11:33 AM, Johnathan Corgan < jcor...@corganenterprises.com> wrote: > Did you ever get this figured out? > > On Thu, Aug 20, 2009 at 11:00, Milo Wong wrote: > > Hi all, > > > > I am worki

[Discuss-gnuradio] Question regarding multiple flow graphs in tx_voice.py

2009-08-20 Thread Milo Wong
Hi all, I am working on tx_voice.py and I got something I don't quite understand: As I know that audio_rx samples from audio source and applies GSM encoding with 33bit packages outputs, but there's no connection between txpath and audio_rx. How could 33bits packages be sent to the transmit path? W

Re: [Discuss-gnuradio] How to find the python description of gr.*

2009-08-14 Thread Milo Wong
I see that. Thank you, Eric! Milo On Fri, Aug 14, 2009 at 10:57 AM, Eric Blossom wrote: > On Thu, Aug 13, 2009 at 01:24:04PM -0700, Milo Wong wrote: > > Hi, > > > > I have read Eric's "howto-write-a-signal-processing-block", but I still > got > >

[Discuss-gnuradio] How to find the python description of gr.*

2009-08-13 Thread Milo Wong
Hi, I have read Eric's "howto-write-a-signal-processing-block", but I still got a question. Is there anyway I could find the python description of gr.* modules(or functions). I browsed both "gnuradio-core/src/python/gnuradio/gr" and "python2.6/dist-packages/gnuradio/gr", but I found nothing but se

Re: [Discuss-gnuradio] Is there any way to obtain the binary output from audio source

2009-08-12 Thread Milo Wong
Thank you so much for the detail reasoning which helped me a lot for understanding. Thank you all! Sincerely, Milo On Wed, Aug 12, 2009 at 11:27 AM, Johnathan Corgan < jcor...@corganenterprises.com> wrote: > On Wed, 2009-08-12 at 10:00 -0700, Milo Wong wrote: > > > I was

Re: [Discuss-gnuradio] scope display bug? distortion of sine wave athigh frequency

2009-08-12 Thread Milo Wong
Thank you all! I've fixed this problem. On Wed, Aug 12, 2009 at 12:13 AM, Jeff Brower wrote: > Milo- > > > I found sine waves will be terribly distorted when they are generated at > > relatively high frequency(above 5khz) from signal source in GRC. I set > the > > sampl_rate of scope sink to 2Ghz

[Discuss-gnuradio] Is there any way to obtain the binary output from audio source

2009-08-12 Thread Milo Wong
Hi all, I was wondering if there is anyway to obtain the binary output from audio source in GRC. I need this bits information as modulating signal for ASK. Since sound card digitized our analog voice signal to binary information in 16bits (suppose the sound card is 16bits), so I think it should be

Re: [Discuss-gnuradio] Questions about data type conversion in GRC. (ADC, encoder)

2009-08-11 Thread Milo Wong
ssage: 20 Date: Fri, 07 Aug 2009 18:19:12 -0500 From: Colin Stagner Subject: Re: [Discuss-gnuradio] Questions about data type conversion in GRC. (ADC, encoder) To: discuss-gnuradio@gnu.org Message-ID: <4a7cb670.3060...@gmail.com> Content-Type: text/plain; charset=UTF-8 Milo Wong wrote:

[Discuss-gnuradio] question regarding data type convert between gnuradio blocks

2009-08-10 Thread Milo Wong
Hi all, Hope you guys had a great weekend. I have a question about the data type between gnuradio blocks. 1)I used "stream to streams" block in GRC to de-multiplex the output of audio source which type is float and drops in the range of (-1,+1), I was wondering what is the type of data after "strea

Re: [Discuss-gnuradio] Question about tx&rx examples

2009-08-10 Thread Milo Wong
for the help! Milo On Sat, Aug 8, 2009 at 5:41 PM, Umair Nasir wrote: > Hi, > without changing the whole usrp for recieving, try changing the usb cable > only. I had this strange problem with the usb cable that it would transmit > but not recieve. > > > On Wed, Aug 5, 20

[Discuss-gnuradio] Questions about data type conversion in GRC. (ADC, encoder)

2009-08-07 Thread Milo Wong
o ADC or encoder in GRC which could properly convert float: -1~+1 to Byte: 00~FF. Is there any way to achieve that? Thank you, Milo On Thu, Aug 6, 2009 at 1:41 PM, Eric Blossom wrote: > On Thu, Aug 06, 2009 at 12:39:15PM -0700, Milo Wong wrote: > > Hi, > > > > I was brow

[Discuss-gnuradio] question in source code of gr_sig_source_f

2009-08-06 Thread Milo Wong
Hi, I was browsing the GNU radio C++ API. Here I have a couple of questions about the class reference of gr_sig_source_f. (Signal generator) 1) For the type of public member function waveform(), i.e. gr_waveform_t waveform () const. Where can I refer to the definition of "gr_waveform_t"? Is there

[Discuss-gnuradio] Question about tx&rx examples

2009-08-04 Thread Milo Wong
Hi All, I got problems in running gnuradio-examples when I tested the USRP boards: (Ubuntu9.04/gnuradio-3.2.2) Example 1) OFDM_Tx&Rx (../gnuradio-examples/python/ofd

[Discuss-gnuradio] Question in make check of qa_howto*.py

2009-07-31 Thread Milo Wong
Dear all, I am reading over the manual of how-to-write-a-block. For the given example: howto_square_ff. I followed the instructions to run the test driven program, but after I input "$ make check" under directory ~/gr-howto-write-a-block/src/python, it said: "make: *** No rule to make target `che

[Discuss-gnuradio] newbie's question. performance-critical or non-performance-critical??

2009-07-30 Thread Milo Wong
Hi all, I am new to GNU radio. I know that GNU Radio applications are primarily written in Python, while performance-critical signal processing path is implemented in C++. Here I am a little bit confused. If I am going to create a sinewave generating and processing block, Which language should I u

Re: [Discuss-gnuradio] Problem of benchmark_ofdm_rx.py. Could not receive.

2009-07-29 Thread Milo Wong
tx/rx roles, I need to power on/off to get them restart. What's the problems might be? Thanks, Yuan On Wed, Jul 29, 2009 at 1:46 PM, Tom Rondeau wrote: > Milo Wong wrote: > >> Hi, >> >> I was doing a test using benchmark_ofdm_tx and rx to achieve the ofdm >&

[Discuss-gnuradio] Problem of benchmark_ofdm_rx.py. Could not receive.

2009-07-28 Thread Milo Wong
Hi, I was doing a test using benchmark_ofdm_tx and rx to achieve the ofdm communication between two USRPs. At first, both USRPs could transmit and receive correctly. However, after swithing tx/rx part for a few times, one USRP suddenly failed in receiving (still can transmit), no matter which host

[Discuss-gnuradio] Error & Question about audio_alsa_sink

2009-07-22 Thread Milo Wong
Hi all, I have a question about one of the examples in GNUradio 3.2.2 under Ubuntu9.04. I tried to run usrp_nbfm_rcv.py to test the usrp board. However, I met the following errors: --- Using RX d'board A: Flex 2400 Rx MIMO B len(rx_chan_c

[Discuss-gnuradio] Report an error: stable/main/source/Sources does not exit. Unable to update GNU.

2009-07-13 Thread Milo Wong
Hi All, I am new to GNU radio. Here I have an update problem when I was binary installing GNU Radio packages. After I added those two lines in the sources.list file, an error message came out when I use "sudo apt-get update": Failed to fetch http://gnuradio.org/ubuntu/dists/stable/main/source/Sou

[Discuss-gnuradio] Binary installation problems (GRC failed) in Ubuntu9.04

2009-07-13 Thread Milo Wong
Hi all, I was trying to install GNU radio 3.2 in Ubuntu9.04. I followed the binary installation instructions :http://gnuradio.org/trac/wiki/DebianPackages I did update the source list which includes these two sources: # deb http://gnuradio.org/ubuntu stable main # deb-src http://gnuradio.org/ubuntu