[Discuss-gnuradio] question about the synchronization symbol used in ofdm example

2014-11-02 Thread xianda
Hello all: Thank you in advance.I have two questions about the symbol used in ofdm example. 1.The first synchronization symbol is:

Re: [Discuss-gnuradio] question about the synchronization symbol used in ofdm example

2014-11-02 Thread xianda
)).Can you explain it? Best regards, Kun At 2014-11-03 00:00:29, Aditya Dhananjay adi...@cs.nyu.edu wrote: Hello Kun, Could you please verify whether the input to the FFT call are supposed to be shifted or not? Best, Aditya On Sun, Nov 2, 2014 at 10:44 AM, xianda wangxianda920...@163

[Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
Hi all: Thanks in advance. Example:gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc. If I set the sample rate of usrp equal to 1Msps,then what is the sample rate of the output of the FFT block?Thank you very much. Best regards, xd

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
item rate is r3 = r2/N Then, the packet header is removed. This further reduces the rate, but let's ignore that. It's also dependent on the packet length. Since the FFT doesn't change the rate, what you want is most likely r3. M On 10/06/2014 10:36 AM, xianda wrote: Hi all: Thanks

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
. Since the FFT doesn't change the rate, what you want is most likely r3. M On 10/06/2014 10:36 AM, xianda wrote: Hi all: Thanks in advance. Example:gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc. If I set the sample rate of usrp equal to 1Msps,then what is the sample

Re: [Discuss-gnuradio] sample rate

2014-10-06 Thread xianda
the fraction. It's N/(N+CP). M On 10/06/2014 11:29 AM, xianda wrote: Hi Martin: Thanks.But I'm confused about it. First, data goes through the HPD, which takes out the CP. The outgoing rate of that block is thus r2 = (N+CP)/N * r Now

[Discuss-gnuradio] source code of the block WX GUI FFT Sink

2014-10-06 Thread xianda
Hi all: Thanks in advance.I want to ask two questions: 1.Where is the source code of the block WX GUI FFT Sink?How does it calculate the power? 2.Which version of the gnuradio start to support the USRP N210?I just want to know the answer.Thanks.I know the latest one

[Discuss-gnuradio] questions about get_tags_in_range

2014-08-07 Thread xianda
Hi all: I'm reading the source code ofdm_chanest_vcvc_impl.cc.And I don't know this command: // Propagate tags std::vectorgr::tag_t tags; get_tags_in_range(tags, 0,nitems_read(0), nitems_read(0)+framesize); I will try my best to explain my question more

Re: [Discuss-gnuradio] questions about get_tags_in_range

2014-08-07 Thread xianda
Xianda, On 07.08.2014 08:10, xianda wrote: Hi all: I'm reading the source code ofdm_chanest_vcvc_impl.cc.And I don't know this command: // Propagate tags std::vectorgr::tag_t tags; get_tags_in_range(tags, 0,nitems_read(0), nitems_read(0)+framesize); I

[Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
Hi all: I have installed the gr_specest toolbox successfully.And I use the gnuradio 3.7.5.But when I run the specest_from_file.py,error exists: File /usr/local/bin/specest_from_file.py, line 142 SyntaxError: Non-ASCII character '\xce' in file

Re: [Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
submitted a pull request. You can locally use my change by doing git pull https://github.com/marcusmueller/gr-specest.git fix_encoding Greetings, Marcus On 06.08.2014 08:58, xianda wrote: Hi all: I have installed the gr_specest toolbox successfully.And I use the gnuradio 3.7.5.But when I

Re: [Discuss-gnuradio] run gr_specest

2014-08-06 Thread xianda
or directory Best regards, xd At 2014-08-06 08:09:06, Marcus Müller marcus.muel...@ettus.com wrote: Sorry, my bad. Fixed my fix, should be clear now. Maybe you have to pull --force, sorry about that. On 06.08.2014 12:20, xianda wrote: Hi Marcus: Thank you so much.And I'm

[Discuss-gnuradio] ofdm channel estimation

2014-07-30 Thread xianda
Hi Martin: Greeting from xd.Thank you so much for your example tx_ofdm.grc and rx_ofdm.grc.I want to ask a question about channel estimation.And I know that the channel estimate is on a tag.But I want to make some changes on your example.So I just want to ask whether my

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
wrote: On 07/30/2014 03:59 AM, xianda wrote: Hi all: I know a packet in the example tx_ofdm.grc include a preamble,a header,the payload and crc value.Recently I have used the UHD API to send packet.And I want to know whether the tx_ofdm.grc add start_of_burst and end_of_burst

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
to know whether need I add start_of_burst at the beginning of every packet and add end_of_burst at the end of every packet?Am I right? Best regards, xd At 2014-07-30 11:39:02, Marcus Müller marcus.muel...@ettus.com wrote: Hi Xianda, if you don't use gnuradio, this might not be the right list

Re: [Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-30 Thread xianda
Xianda, I'm still not understanding completely. Is this question about a) tx_ofdm.grc, or b) not about GNU Radio? Best regards, Marcus On 30.07.2014 17:51, xianda wrote: Hi Marcus: Thank you so much.I just want to make some changes on the example of tx_ofdm.grc.And I use the UHD

[Discuss-gnuradio] tx_ofdm.grc start_of_burst end_of_burst

2014-07-29 Thread xianda
Hi all: I know a packet in the example tx_ofdm.grc include a preamble,a header,the payload and crc value.Recently I have used the UHD API to send packet.And I want to know whether the tx_ofdm.grc add start_of_burst and end_of_burst automatically.Namely,need I add start_of_burst at the

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
if you can't understand. Thank you so much. Best regards, xd At 2014-07-25 04:59:52, Marcus Müller marcus.muel...@ettus.com wrote: Hi Xianda, as usual, saying doesn't work, can't run, behaves wrong really gives no clue what's wrong. Please follow http://gnuradio.org/redmine

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
...@ettus.com wrote: Hi xianda, tb.wait() does exactly what you said it does: Wait for the flow graph to complete.A flowgraph will run until one of the blocks in that flowgraph signal that they're done, or you call tb.stop(). If you don't have such a block, your tb will run forever, and wait() will never

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-25 Thread xianda
marcus.muel...@ettus.com wrote: Xianda, my advice: Please try to draw a complete picture of what you are doing. What are your sources, blocks you interchange, your sinks, what do you do to make your flowgraph stop (under which circumstances)? I really can't read your mind; all I know about your flow

[Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-21 Thread xianda
Hi all: Thank you in advance.I want to ask some questions about the Reconfiguring Flowgraphs. My flowgraphs: source---block A(just one block)---sink And I want to run the flowgraphs for 30 seconds,and then run the other flowgraphs:

Re: [Discuss-gnuradio] Reconfiguring Flowgraphs

2014-07-21 Thread xianda
I forget to say:the sink also different with each other.Namely: source---block A(just one block)---sink1 source---block B(just one block)---sink2 Can someone help me?Thanks. At 2014-07-21 06:50:10, xianda wangxianda920...@163.com wrote: Hi all

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
wrote: On 07/13/2014 01:06 PM, xianda wrote: Hi all: Have you ever using the gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc?And I change the rx_ofdm.py as follows: self.connect((self.digital_ofdm_chanest_vcvc_0, 1), blocks.file_sink(gr.sizeof_gr_complex * fft_len, 'channel-estimate.dat

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
At 2014-07-15 05:17:35, Martin Braun martin.br...@ettus.com wrote: On 07/15/2014 09:39 AM, xianda wrote: Hi Martin: Thank you for your kindly reply. Another question I want to ask. When I use the rx_ofdm,I add a UHD:USRP Source.(Environment

Re: [Discuss-gnuradio] ofdm channel estimation

2014-07-15 Thread xianda
Oh,I guess that because i receive signal which at the frequency of 2.45e9.It is like the wifi.May be I receive the wifi signal?Am i right? Thank you. At 2014-07-15 05:17:35, Martin Braun martin.br...@ettus.com wrote: On 07/15/2014 09:39 AM, xianda wrote: Hi Martin

[Discuss-gnuradio] ABI-error

2014-07-13 Thread xianda
Hi all: Thank you in advance. I encouter an error: linux; GNU C++ version 4.6.3; Boost_104800; UHD_003.007.000-133-g6bd9fed2 GR-UHD detected ABI compatibility mismatch with UHD library. GR-UHD was build against ABI: 3.7.1-0, but UHD library reports

[Discuss-gnuradio] ofdm channel estimation

2014-07-13 Thread xianda
Hi all: Have you ever using the gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc?And I change the rx_ofdm.py as follows: self.connect((self.digital_ofdm_chanest_vcvc_0, 1), blocks.file_sink(gr.sizeof_gr_complex * fft_len, 'channel-estimate.dat')) And i use the matlab:

[Discuss-gnuradio] benchmark_ofdm_mimo(trondeau branch mimo files)

2014-07-05 Thread xianda
Hi all: Thanks in advance. I search the mail list and find benchmark_ofdm_mimo .(http://lists.gnu.org/archive/html/discuss-gnuradio/2012-02/msg00118.html) But I can't find the file.Can someone tell me where can i find the file?Thanks. Best regards, xianda

[Discuss-gnuradio] gnuradio/gr-digital/python/digital/ofdm_receiver.py

2014-06-05 Thread xianda
Hi all: Thank you in advance. Version of gnuradio:3.7.4 I have read the gnuradio/gr-digital/python/digital/ofdm_receiver.py,and i see: self.connect(self, self.chan_filt)# filter the input channel

Re: [Discuss-gnuradio] gnuradio/gr-digital/python/digital/ofdm_receiver.py

2014-06-05 Thread xianda
code? Thanks very much. Best regards, xianda At 2014-06-05 10:21:54, Martin Braun martin.br...@ettus.com wrote: On 05.06.2014 15:26, xianda wrote: But i have read the gnuradio/gr-digital/examples/ofdm/rx_ofdm.grc.And i think the connection way of the code in gnuradio/gr

[Discuss-gnuradio] something about forecast()

2014-06-04 Thread xianda
Hi all: I want to know something about the forecast(). I have already known that forcast() can tell scheduler how many input items are required for each output item. 1.But now i have read two example: The first one: void

[Discuss-gnuradio] OFDM_Cyclic_Prefixer

2014-06-01 Thread xianda
Hi all: Thank you in advance. I want to test my understanding about ofdm_cyclic_prefixer.As this picture say:I place a file sink before and after ofdm_cyclic_prefixer block respectively.And the result is that file d.dat just add the 16 cp when compared to c.dat.And maybe the

[Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
Hi all: I know every block should have it's work or general_work function.And i know it's used by scheduler. Now I want to write my c++ code just call work function.Is right to do it? If ok,can someone explain how to call work function? Thanks. Best

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
(); gr_complex *out=buff-get_outbuf(); memcpy(buff2.front(),out,buff2.size()*sizeof(std::complexfloat)); outfile.write((char*)buff2.front(),buff2.size()*sizeof(std::complexfloat)); } infile.close(); outfile.close(); } Can you help me? Thanks Best regards, xianda At 2014-05-31 05:56:29, Marcus Müller

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
,buff2.size()*sizeof(std::complexfloat)); outfile.write((char*)buff2.front(),buff2.size()*sizeof(std::complexfloat)); } infile.close(); outfile.close(); } Thank you. Best regards, xianda At 2014-05-31 06:33:35, Martin Braun martin.br...@ettus.com wrote: On 31 May 2014 11:57, Marcus Müller

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
it?Use the c++ or write python flow graph?Thanks. Thank you so much. Best regards, xianda At 2014-05-31 08:25:53, Marcus Müller marcus.muel...@ettus.com wrote: Hi Xianda, some of your emails are really hard to read due to your email client writing non-standard-compliant HTML mail. Could you

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
] [file source 2] -- [ (I)FFT ] -- [ cyclic prefixer ] -- [ USRP sink 2] Can i realize it in grc?Or should i write the c++ code? Thank you.Thank you. Best regards, xianda At 2014-05-31 09:15:03, Marcus Müller marcus.muel...@ettus.com wrote: Hi! The gr-uhd USRP sink can represent multiple USRPs

Re: [Discuss-gnuradio] call the work() method

2014-05-31 Thread xianda
/ofdm_cyclic_prefixer.hgt;.But as you said fft_complex_vcc is a block.But now how can i call it in my code?(It's a block.It has work function.)Can i add it's work function in my code?Thank you.br/Best regards,br/xianda At 2014-05-31 07:36:24, Marcus Müller marcus.muel...@ettus.com wrote: Hi Xianda, I just want

[Discuss-gnuradio] header_payload_demux

2014-05-29 Thread xianda
Hi: Thank you in advance. I have two simple question: 1.In the grc,i see a block: header_payload_demux It has 3 input:in,trigger,header_data.But i see the header_payload_demux_impl.cc:iosignature::make2(1,2,..,..).But it has 3 input,why? Thank you. 2.fft:I see

Re: [Discuss-gnuradio] header_payload_demux

2014-05-29 Thread xianda
block.Am I right?br/ Thank you.Can you explain it?Thank you.br/Best regards At 2014-05-30 05:05:54, Martin Braun martin.br...@ettus.com wrote: On 05/29/2014 08:07 PM, xianda wrote: Hi: Thank you in advance. I have two simple question: 1.In the grc,i see a block

[Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi: Now I run the example(tx_ofdm and rx_ofdm) through two usrps.(The version of my gnuradio is 3.7.4). 1.But in the receive part I receive two many things like this: INFO: Detected an invalid packet at item 139632 INFO: Parser returned #f INFO: Detected an invalid packet at item 139680

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi Jawad: Thank you so much for your kindly reply. But the first problem still exist.Can you send me your test document and I test.Thank you. And the second problem is solved.Can you tell me why 200k is ok while 100k failed?(they are all 10M/(even number)).Thank you. Best regards, xianda

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
any of the warning messages from the receiver. Regarding the sampling rate problem, I believe there is a minimal sample rate and you can't go below it. Regards, Jawad 2014-05-26 14:22 GMT+02:00 xianda wangxianda920...@163.com: Hi Jawad: Thank you so much for your kindly reply

Re: [Discuss-gnuradio] tx_ofdm and rx_ofdm

2014-05-26 Thread xianda
Hi Martin: Thank you so much for your help.It can run.Thanks. Best regards xianda At 2014-05-26 20:40:08,Martin Braun martin.br...@ettus.com wrote: On 26.05.2014 13:03, xianda wrote: Hi: Now I run the example(tx_ofdm and rx_ofdm) through two usrps.(The version of my gnuradio

[Discuss-gnuradio] tx_ofdm

2014-05-22 Thread xianda
Hi everyone: I have already understand most part of the tx_ofdm.grc.But the some digital i can't calculate accurately. 1.stream_to_tagged_stream: Packet length=96 bytes.? 2.And ofdm_carrier_allocator:FFT_length=64(but 48 occupied

Re: [Discuss-gnuradio] tx_ofdm

2014-05-22 Thread xianda
Hi: Thank you so much. 1.But from chunks to symbols I see you use the bpsk and qpsk both.Right?What is the relationship between 800 bits and 17 symbols?Namely,how to calculate the 17 symbols? 17*64=1088.Can you explain? 2.I have looked at your ppt about the ofdm.You say now have

[Discuss-gnuradio] MIMO

2014-05-20 Thread xianda
Hello all: Recently the development of the MIMO has been the focus of intensive research.Any example codes about the MIMO(OFDM) to give someone like me a chance to get start? Thank you. Best regards ___ Discuss-gnuradio

Re: [Discuss-gnuradio] mytx.cpp

2014-05-18 Thread xianda
i type into the shell? Thank you. Best regards 在 2014-05-14 02:01:40,Tom Rondeau t...@trondeau.com 写道: On Tue, May 13, 2014 at 1:00 PM, xianda wangxianda920...@163.com wrote: Hello Thank you for your patience. And i run 3 steps: 1.copy mytx.cpp to the uhd/host

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
-- Mike Jameson M0MIK BSc MIET Ettus Research Technical Support Email: supp...@ettus.com Web: http://ettus.com On Thu, May 15, 2014 at 1:39 PM, xianda wangxianda920...@163.com wrote: Hello all: Environment: 2 usrp N210,mimo cable(they connect with each other and share

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
just git pull, rebuild UHD and it will work. Otherwise, you can set otw_format=sc16 in the streamer args and it will solve the problem as well. Cheers, M On 15.05.2014 14:55, xianda wrote: Hi Mike Thank you for your reply. Now I change the addr but a new error comes: thread[thread-per-block

Re: [Discuss-gnuradio] grc-mimo setup

2014-05-15 Thread xianda
and run: git pull cmake ../ make sudo make install Mike -- Mike Jameson M0MIK BSc MIET Email: m...@scanoo.com Web: http://scanoo.com On Thu, May 15, 2014 at 2:29 PM, xianda wangxianda920...@163.com wrote: Hello Thank you so much. 1.And i set the wire format as Complex

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
: On 13.05.2014 09:35, 王先达 wrote: Hello all I write a c++ document mytx.cpp and i place it into the uhd/host/build/examples.And then what should i do to let it run?Should i type the make command in the shell or do other things?Thank you. Best regards, Xianda You don't have to put

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
: On 13.05.2014 09:35, 王先达 wrote: Hello all I write a c++ document mytx.cpp and i place it into the uhd/host/build/examples.And then what should i do to let it run?Should i type the make command in the shell or do other things?Thank you. Best regards, Xianda You don't have to put

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
: On 13.05.2014 09:35, 王先达 wrote: Hello all I write a c++ document mytx.cpp and i place it into the uhd/host/build/examples.And then what should i do to let it run?Should i type the make command in the shell or do other things?Thank you. Best regards, Xianda You don't have to put

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
. Best regards 在 2014-05-13 22:47:34,Tom Rondeau t...@trondeau.com 写道: On Tue, May 13, 2014 at 9:24 AM, xianda wangxianda920...@163.com wrote: Hello Thank you for your reply. 1.Because i just know a little about the cmake.If i put my document into another folder,maybe i should

Re: [Discuss-gnuradio] mytx.cpp

2014-05-13 Thread xianda
? Thank you very much.You help me a lot. Best regards At 2014-05-14 00:32:37,Martin Braun martin.br...@ettus.com wrote: On 13.05.2014 17:31, xianda wrote: Hello Thank you a lot. 1.But now the header document in my tx.cpp is same as the tx_waveforms.cpp.Now what should i do?How to change