[Discuss-gnuradio] can we do some copy operation in GNU Radio

2011-10-10 Thread intermilan
Hi all: What confused me is if we can do some copy operation in GNU Radio. It means we copy the data from in[](the input data of block) to a array, and do some operations to the data in the array, then make the operated data in the array to be out[](the output data of block). Did

[Discuss-gnuradio] FW: can we do some copy operation in GNU Radio

2011-10-10 Thread intermilan
2011 16:32:45 +0200 From: martin.br...@kit.edu To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] can we do some copy operation in GNU Radio On Mon, Oct 10, 2011 at 10:15:55PM +0800, intermilan wrote: Hi all: What confused me is if we can do some copy operation in GNU Radio

[Discuss-gnuradio] question about the input data of my new block

2011-10-09 Thread intermilan
Hi all: I wrote a block which is used to make a specific structure of data(like some kind of burst). And in this block I defined some position of the array for specific value as structure required. Other positions of the array will be the input data of this block(did not do

Re: [Discuss-gnuradio] a question about using new block in GNURadio

2011-09-19 Thread intermilan
thing make that happen? Did you had that before? Inter. From: trondeau1...@gmail.com Date: Tue, 13 Sep 2011 09:27:28 -0400 Subject: Re: [Discuss-gnuradio] a question about using new block in GNURadio To: tianxia...@hotmail.com CC: discuss-gnuradio@gnu.org 2011/9/13 intermilan tianxia

Re: [Discuss-gnuradio] a question about using new block in GNURadio

2011-09-13 Thread intermilan
To: tianxia...@hotmail.com CC: discuss-gnuradio@gnu.org 2011/9/12 intermilan tianxia...@hotmail.com Hi all: I wrote a new block and add it into the GnuRadio. The function of this block is to synchronize the spread signal, which means this block used local PN sequence to correlate

[Discuss-gnuradio] a question about using new block in GNURadio

2011-09-12 Thread intermilan
Hi all: I wrote a new block and add it into the GnuRadio. The function of this block is to synchronize the spread signal, which means this block used local PN sequence to correlate the input signal. And I set the threshold, if the correlation value is larger than the threshold, that

Re: [Discuss-gnuradio] using custom signal processing module

2011-06-06 Thread intermilan
hi Thomas: What did you import in your python script? you should import your package's name, not from gnuradio import your package's name. Hope this is helpful. Inter From: thomas.h@aero.org To: n...@ettus.com Date: Mon, 6 Jun 2011 16:59:40 -0400 CC: discuss-gnuradio@gnu.org

[Discuss-gnuradio] help with add a new block to GNURadio

2011-05-31 Thread intermilan
Hi: I recently add a new block to the GNURadio and GRC.The function of the block is to correlate the received spread signal and the local PN code. I think my block can work well,but there is one thing I do not know how to fix.Sometimes the input of my block is 0 and then it will back to the

Re: [Discuss-gnuradio] help with add a new block to GNURadio

2011-05-31 Thread intermilan
again. Inter From: trondeau1...@gmail.com Date: Tue, 31 May 2011 13:54:44 -0400 To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] help with add a new block to GNURadio 2011/5/31 intermilan tianxia...@hotmail.com Hi: I recently add a new block to the GNURadio and GRC.The

[Discuss-gnuradio] packer_decoder block in the GRC

2011-05-16 Thread intermilan
Hi: I recently used the GRC to test my Pi/4 DQPSK modulation and demodulation block.But and my flow graph is vector_source-packet_encoder-pi/4 dqpsk mod-mutily_const-usrp_sink, usrp_source- pi/4 dqpsk demod-packet_decoder-file_sink.but in my file_sink I got nothing.It seem that there is

Re: [Discuss-gnuradio] how to use the gr_mpsk_receiver_cc

2011-05-12 Thread intermilan
hi Max: Thank you for your help. I will look at the op25 to see if it can help me. inter. Date: Thu, 12 May 2011 13:51:14 -0700 From: ikj12...@yahoo.com To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] how to use the gr_mpsk_receiver_cc Did anyone use it to receive pi/4

[Discuss-gnuradio] how to use the gr_mpsk_receiver_cc

2011-05-11 Thread intermilan
Hi all: I want to use the gr_mpsk_receiver_cc block to receive the pi/4 DQPSK signal. Because it said that it should use for pi/4 DQPSK.But how should I set the parameter of the block?Did anyone use it to receive pi/4 DQPSK signal before?

[Discuss-gnuradio] a question about a new PI/4 DQPSK demodulation block

2011-05-10 Thread intermilan
Hi all: I recently write a pi/4 dqpsk modulation and demodulation block in the gnuradio. My modulation block works fine,but there is a question about my demodulation block.In my demodulation block, first I compute the angle of the input I/Q signal,then do something to the computed

Re: [Discuss-gnuradio] question about a parameter in the example digial-bert

2011-04-20 Thread intermilan
Does anyone know what the parameter alpha is ? I have confused about it several days.It is a parameter in the block gr_probe_mpsk_sbr_f. I think when we set this parameter, the ratio for the data signal and noise should be set in the received signal.But how do I set this parameter? Is there

Re: [Discuss-gnuradio] segmentation fault when using a new added block

2011-04-18 Thread intermilan
Hi all: I have already figured out my problem I mentioned in my last e-mail. That is because I installed two versions of GNU Radio in my computer.So I get the error segmentation fault.But there is another question. After I uninstalled one version of GnuRadio (now i use gnuradio3.3.0),I

Re: [Discuss-gnuradio] segmentation fault when using a new added block

2011-04-18 Thread intermilan
Hi: I missed one thing. If I copy the gr-howto-write-a-block 3.3.0 folder to my gnuradio folder,then after ./bootstrap, ./configure ,make, make check ,make install, the block how.square_ff() and how.square2_ff() can work well in my test code.Why? I just use the

Re: [Discuss-gnuradio] segmentation fault when using a new added block

2011-04-15 Thread intermilan
, Apr 14, 2011 at 04:09:01PM +0800, intermilan wrote: do not know why does this error happen. I did not change anything in the gr-howto-write-a-block-3.3.0. I hope someone can help me to fix this problem and tell me why this error happen. Not without seeing your code. Most often

[Discuss-gnuradio] segmentation fault when using a new added block

2011-04-14 Thread intermilan
hi all: I want to use the gr-howto-write-a-block-3.3.0 (my version of the Gnuradio is 3.3.0)to add a new package or a new block to the gnuradio and grc. At first I did not change anything in the gr-howto-write-a-block-3.3.0, so the name of the new package should be howto,and the name of the

[Discuss-gnuradio] question about a parameter in the example digial-bert

2011-04-12 Thread intermilan
Hi all: When I look at the code in the receive_path.py which is under the digital-bert folder, I found this sentence: self._snr_probe = gr.probe_mpsk_snr_c(10.0/symbol_rate) I think this is to set the block which measure the snr of the signal. And after I read the code in the

RE: [Discuss-gnuradio] How to use the SNR block in the GRC

2011-04-10 Thread intermilan
-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] How to use the SNR block in the GRC On 04/07/2011 05:18 AM, intermilan wrote: Hi all: I found these is a block gr_probe_mpsk_snr in the grc which is used to measure the snr of the bpsk or qpsk signals. But I do not know how to use

RE: [Discuss-gnuradio] How to use the SNR block in the GRC

2011-04-08 Thread intermilan
you inter Date: Thu, 7 Apr 2011 11:33:23 -0500 From: j...@joshknows.com To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] How to use the SNR block in the GRC On 04/07/2011 05:18 AM, intermilan wrote: Hi all: I found these is a block gr_probe_mpsk_snr in the grc

[Discuss-gnuradio] How to use the SNR block in the GRC

2011-04-07 Thread intermilan
Hi all: I found these is a block gr_probe_mpsk_snr in the grc which is used to measure the snr of the bpsk or qpsk signals. But I do not know how to use this block.In my flow graph, I put the bpsk modulated data input this block,and put the output of the block to a file_sink. But there is

RE: [Discuss-gnuradio] How to decode the convolutional code, in the GRC

2011-04-05 Thread intermilan
... Achilleas On 4/1/2011 4:33 AM, intermilan wrote: hi Achilleas: I recently had read the code in the trellis_viterbi_combined_fb.cc want to understand how you use the viterbi algorithm.But there is something that I can not understand. for(int k=0;kK;k++) { calc_metric(O, D, TABLE

RE: [Discuss-gnuradio] How to decode the convolutional code in the GRC

2011-03-14 Thread intermilan
was going to do this I wouldn't try to do it in GRC, but it is probably possible. Ben 2011/3/11 intermilan tianxia...@hotmail.com: Ben: Thanks for your reply.I knew that block you mentioned.And I know if I use the block chunks_to_symbols after the trellis_encoder,that parameter

RE: [Discuss-gnuradio] How to decode the convolutional code, in the GRC

2011-03-14 Thread intermilan
Achilleas: What I want to do is want to see the BER when the convolutional code is used in different modulator in the GRC,but I had not put the noise source in the flow graph so there is no noise between the modulator and demodulator. Besides,in my opinion, we can consider the

RE: [Discuss-gnuradio] How to decode the convolutional code, in the GRC

2011-03-14 Thread intermilan
:45 AM, intermilan wrote: Achilleas: What I want to do is want to see the BER when the convolutional code is used in different modulator in the GRC,but I had not put the noise source in the flow graph so there is no noise between the modulator and demodulator. Besides,in my opinion

[Discuss-gnuradio] How to decode the convolutional code in the GRC

2011-03-10 Thread intermilan
Hi all: Now I want to use the Trellis_encoder block in the GRC to make an example for the convolutional code.In my opinion, I use Trellis_encoder to produce the convolutional code, then make the convolutional code through the modulator and demodulator(such as DPSK), finally use some

RE: [Discuss-gnuradio] How to decode the convolutional code in the GRC

2011-03-10 Thread intermilan
You probably want to use the trellis_viterbi_combined block. The documentation for the trellis blocks is in gnuradio/gr-trellis/doc/gr-trellis.xml. (if you have xmlto installed then an html file is also built.) Ben 2011/3/10 intermilan tianxia...@hotmail.com: Hi all: Now I want

RE: [Discuss-gnuradio] question about import a new block in gnuradio-3.3.0

2010-11-17 Thread intermilan
at 10:48:11AM +0800, intermilan wrote: hi all: I use the command create-gnuradio-out-of-tree-project to bulid a new block,and after that I use the following command: ./bootstrap ./configure make make check sudo make install Then I thought I

[Discuss-gnuradio] question about import a new block in gnuradio-3.3.0

2010-11-16 Thread intermilan
hi all: I use the command create-gnuradio-out-of-tree-project to bulid a new block,and after that I use the following command: ./bootstrap ./configure make make check sudo make install Then I thought I had installed the new block.then I want to import the new

RE: [Discuss-gnuradio] question on howto write a new block

2010-11-15 Thread intermilan
, Martin Braun wrote: On Tue, Nov 09, 2010 at 05:33:15PM +0800, intermilan wrote: hi all: I am writing a new simple signal processing block following the tutorial under the directory /gnuradio-3.2.2/gr-howto-write-a-block-3.2.2(there is no gr-howto-write-a-block-3.2.2

FW: [Discuss-gnuradio] question on howto write a new block

2010-11-10 Thread intermilan
/devtools greetings thilo 2010/11/9 intermilan tianxia...@hotmail.com: hi all: I am writing a new simple signal processing block following the tutorial under the directory /gnuradio-3.2.2/gr-howto-write-a-block-3.2.2(there is no gr-howto-write-a-block-3.2.2 at the beginning

[Discuss-gnuradio] question on howto write a new block

2010-11-09 Thread intermilan
hi all: I am writing a new simple signal processing block following the tutorial under the directory /gnuradio-3.2.2/gr-howto-write-a-block-3.2.2(there is no gr-howto-write-a-block-3.2.2 at the beginning,and this one is I downloaded and copied to this directory)and named 'howto_add_ff'

RE: [Discuss-gnuradio] want to achieve the symbol rate to 270.833kb/s

2010-09-18 Thread intermilan
/17 intermilan tianxia...@hotmail.com: hi Tom: I can not find the examples what you asked me to look for.so what the version of your Gnuradio? Mine is 3.2.2. Besides, I still wonder why I can not use the resampler block in the /gnuradio-core/src/python/gnuradio/blks2impl

RE: [Discuss-gnuradio] want to achieve the symbol rate to 270.833kb/s

2010-09-17 Thread intermilan
? thank you From: trondeau1...@gmail.com Date: Wed, 15 Sep 2010 07:43:42 -0400 Subject: Re: [Discuss-gnuradio] want to achieve the symbol rate to 270.833kb/s To: tianxia...@hotmail.com CC: discuss-gnuradio@gnu.org 2010/9/15 intermilan tianxia

[Discuss-gnuradio] want to achieve the symbol rate to 270.833kb/s

2010-09-15 Thread intermilan
hi all: I want to make the symbol rate of the data which is transmited by the USRP at the 270.833kb/s.I know the OpenBTS had already make it come true. but what I want to know is that can I use the resampler block to make this happen? (put the resampler block after the GMSK Mod block

RE: [Discuss-gnuradio] doubt about the the DC offset

2010-08-23 Thread intermilan
: [Discuss-gnuradio] doubt about the the DC offset On Mon, Aug 23, 2010 at 09:42:56AM +0800, intermilan wrote: Hi all: when I run the test program test_usrp_standard_tx/rx.cc, I found that the DC offect is set to 4M. So can anyone tell me how this value come out and where can

RE: [Discuss-gnuradio] doubt about the the DC offset

2010-08-23 Thread intermilan
...@hotmail.com CC: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] doubt about the the DC offset On Mon, Aug 23, 2010 at 05:18:58PM +0800, intermilan wrote: hi Eric: I think I am the one who ask the same question in my last e-mail.But there is no answer for it.I still can not find

[Discuss-gnuradio] doubt about the the DC offset

2010-08-22 Thread intermilan
Hi all: when I run the test program test_usrp_standard_tx/rx.cc, I found that the DC offect is set to 4M. So can anyone tell me how this value come out and where can I find the process of setting this value? and can we set other values to instead of this value?

RE: [Discuss-gnuradio] what does the corresponds to DC in the IFmean?

2010-08-06 Thread intermilan
: [Discuss-gnuradio] what does the corresponds to DC in the IFmean? From: jasonu...@gmail.com To: tianxia...@hotmail.com; discuss-gnuradio@gnu.org 2010/8/5 intermilan tianxia...@hotmail.com: hi all: I recently see the corresponds to DC in the IF in the function set_freq

RE: [Discuss-gnuradio] doubt about the tune()

2010-08-06 Thread intermilan
. Date: Thu, 5 Aug 2010 19:12:12 -0700 From: e...@comsec.com To: tianxia...@hotmail.com Subject: Re: [Discuss-gnuradio] doubt about the tune() On Thu, Aug 05, 2010 at 09:10:50AM +0800, intermilan wrote: Thank you for the answer.then I have another quertion.why the value is 4M? why

[Discuss-gnuradio] what does the corresponds to DC in the IFmean?

2010-08-05 Thread intermilan
hi all: I recently see the corresponds to DC in the IF in the function set_freq() of the db_basic.cc.so what does this sentence mean? In other word, I want to know what is the function of the parameter baseband_freq in the set_freq().I hope someone can help me the figure it out.

[Discuss-gnuradio] doubt about the tune()

2010-08-04 Thread intermilan
hi all: I recently run the test_usrp_standard_tx/rx.cc to do some test.and after I run the test_usrp_standard_tx.cc, I got the follow information: which:0 interp: 64 rf_freq: 2.5e+09 amp: 3.00 nsamples: 3.2e+07 Subdevice name is Flex 2400 Tx Subdevice freq range:

Re: [Discuss-gnuradio] doubt about the tune()

2010-08-04 Thread intermilan
CC: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] doubt about the tune() On Wed, Aug 04, 2010 at 05:08:44PM +0800, intermilan wrote: hi all: I recently run the test_usrp_standard_tx/rx.cc to do some test.and after I run the test_usrp_standard_tx.cc, I got the follow

[Discuss-gnuradio] problem about the test_usrp_standard_tx.cc

2010-07-31 Thread intermilan
hi all: recently I want to run some c++ programs in the gnuradio,then I found the test_usrp_standard_tx/rx.cc.But when I use the command g++ to compile the program,there is lots of error.I list the error as follow: In function `test_output(boost::shared_ptrusrp_standard_tx, long

[Discuss-gnuradio] /gnuradio-example/python/digital/ pick_bitrate.py question

2010-06-17 Thread intermilan
hi all: I found there is a program (pick_bitrate.py) about bit-rate in the /gnuradio-example/python/digital/ .And there is one quertion confuse me about this program. There is a formula about bit-rate in the program such as bitrate = converter_rate / interp /

[Discuss-gnuradio] bit rate of the random source

2010-06-11 Thread intermilan
hi all: I use the random_source in the GRC to generate the 0,1 sequence,but I do not know the bit rate of the sequence.So can anynoe tell me the bit rate of the sequence which is generated by the random_source? Besides, I saw there is a pick_bitrate.py in the

[Discuss-gnuradio] GRC problem

2010-05-12 Thread intermilan
hello all: I recently use GRC and USRP to do some experiment. But there is a problem for me. I use signal_source-packet_encoder-Gmsk_mod-usrp_sink in the transmit side.and it the receive side I use usrp_source-Gmsk_demod-packet_decoder-scope_sink.Now I know I can see the

[Discuss-gnuradio] a problem about the scope_sink in GRC

2010-05-06 Thread intermilan
hello all: I am a newer to the Gnuradio. And recently I use USRP and GRC to make some examples. But I have a problem about the scope_sink in the GRC. there are some block which I used in my graph: signal_source-packet_encoder-Gmsk_mod-USRP_sink